+ Reply to Thread
Results 1 to 3 of 3

Find and Replace in a Formula

  1. #1
    Registered User
    Join Date
    06-08-2010
    Location
    St Louis MO
    MS-Off Ver
    Excel 2000
    Posts
    1

    Find and Replace in a Formula

    Hello,

    I know enough about Excel to just be dangerous. I hope someone can help steer me in the right direction. This is my question:

    First, I am using Excel 2000.

    I have a field of Postal addresses (PO Box ##) and a field of street addresses.

    I'd like to find and select the Postal addresses and replace the field of street addresses with the Postal address. Then I can do my mail merge.

    This is what I have tried: I've use the If function to select the field of Postal addresses if it equals PO Box. But I couldn't get the wildcard (*) to work. I could get this to work in a test of just entering an exact match such as PO Box 55.

    Any help is greatly appreciated.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    21,528

    Re: Find and Replace in a Formula

    I think for people to assist further you will need to provide a small representative sample showing both "before" and "after".... a lack of response generally indicates a lack of detail.

  3. #3
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: Find and Replace in a Formula

    I'm guessing wildly here...
    =IF(ISERR(SEARCH("PO Box",POBoxfield)),streetadressfield,POBoxfield)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1