+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : What would I need to do for a multiple find & replace?

Hybrid View

domerdel What would I need to do for a... 02-24-2012, 12:41 PM
DGagnon Re: What would I need to do... 02-24-2012, 01:11 PM
domerdel Re: What would I need to do... 02-24-2012, 02:36 PM
DGagnon Re: What would I need to do... 02-24-2012, 02:41 PM
domerdel Re: What would I need to do... 02-24-2012, 02:52 PM
  1. #1
    Registered User
    Join Date
    09-29-2010
    Location
    Redding, CA
    MS-Off Ver
    Excel 2008
    Posts
    8

    Question What would I need to do for a multiple find & replace?

    I have general fundemental knowledge of MS Excel, but I have a task on my hands where I want to take it to the next level... I'm not sure if this is an Logical "IF" statement, but I was a bit lost when I saw that screen... Here's what I want to do

    Column A (Address) = PO BOX 2534
    Column B (City) = Richmond
    Column C (State) = CA
    Column D (Zip) = 94801

    IF Column A = PO BOX* (* notes multiple records with unique PO BOX #'s; some PO BOX's are out of state)

    CHANGE ALL TO:

    Column A = HOMELESS
    Column B = San Francisco
    Column C = CA
    Column D = 94109-0000

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: What would I need to do for a multiple find & replace?

    i notice in thise case i noticed the data does not match (City, State, ZIP) would all cases be the same and defaulting to this address?

  3. #3
    Registered User
    Join Date
    09-29-2010
    Location
    Redding, CA
    MS-Off Ver
    Excel 2008
    Posts
    8

    Re: What would I need to do for a multiple find & replace?

    initially, all original data will have unique PO BOX , City, State, and ZIP... by changing Column A to HOMELESS is creating a generic client (for reporting purposes), therefore yes, the end result would give that generic client the same city,state, zip

  4. #4
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: What would I need to do for a multiple find & replace?

    you could create a second set of data and use that for reporting porposes, you could create it in Column F to I as follows
    Col F =IF(ISNUMBER(FIND("PO BOX",$A1)),"HOMELESS",A1)
    Col G =IF(ISNUMBER(FIND("PO BOX",$A1)),"San Francisco",B1)
    Col H =IF(ISNUMBER(FIND("PO BOX",$A1)),"CA",C1)
    Col I =IF(ISNUMBER(FIND("PO BOX",$A1)),"94109-0000",D1)

  5. #5
    Registered User
    Join Date
    09-29-2010
    Location
    Redding, CA
    MS-Off Ver
    Excel 2008
    Posts
    8

    Re: What would I need to do for a multiple find & replace?

    Quote Originally Posted by DGagnon View Post
    you could create a second set of data and use that for reporting porposes, you could create it in Column F to I as follows
    Col F =IF(ISNUMBER(FIND("PO BOX",$A1)),"HOMELESS",A1)
    Col G =IF(ISNUMBER(FIND("PO BOX",$A1)),"San Francisco",B1)
    Col H =IF(ISNUMBER(FIND("PO BOX",$A1)),"CA",C1)
    Col I =IF(ISNUMBER(FIND("PO BOX",$A1)),"94109-0000",D1)
    Definitely a different approach, but it solved it for me.. a big THANK YOU!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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