Share via

Find and replace

Anonymous
2016-06-10T21:59:37+00:00

If this has been covered before I apologize in advance - I have looked.  I need to do a simple FIND AND REPLACE.  I need to change the abbreviation in a street address to a whole word, i.e., ST to STREET.  I have tried to do this but have found a problem - changing STATE ST I get **STREETATE STREET.**I am trying to help my daughter go through 65,000 addresses.  Any help would be appreciated.  I may need to use macros but I have no experience using them.  Thanks in advance

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Jim G 134K Reputation points MVP Volunteer Moderator
    2016-06-13T18:09:11+00:00

    Assuming that all the street names are in a column, you can use a helper column that contains a cell formula that performs the substitution.

    You'll have to think through the logic, but you can use a formula that looks at the 3 leftmost characters in the address for a space and the letters st and replaces them with the word Street.

    You should investigate these formulas in Excel Help:

    RIGHT

    MID

    FIND

    LEN

    CONCATENATE

    Here's a video tutorial about Concatenate. Search the ExcelIsFun YouTube channel for more tutorials.

    Excel Magic Trick 974: Formula to Join First & Last Name & Title: Ampersand or CONCATENATE?

    Was this answer helpful?

    0 comments No comments
  2. Bob Jones AKA CyberTaz MVP 436K Reputation points
    2016-06-11T14:02:31+00:00

    The F&R engine in Mac Excel simply does not have the ability to do an Exact Match for partial cell content. If you have access to a recent PC version you may be able to do that type of replacement. Otherwise, in Mac Excel I believe it would require the use of VBA... Perhaps one of the coders around here will be able to provide the procedure you need.

    Another option is to export the data in a Word-compatible file type, Word's F&R is capable of doing this type of Exact Match replacement. Then import the result back into Excel & resave using an Excel file type.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-06-11T00:02:04+00:00

    You are going to have do it in stages

    First, try typing St for look up and Street for replacement be sure to leave on character blank space just after the T in ST to prevent the issue you are running into.

    Was this answer helpful?

    0 comments No comments