+ Reply to Thread
Results 1 to 6 of 6

Mass Find and Replace?

Hybrid View

  1. #1
    Registered User
    Join Date
    06-11-2012
    Location
    Fairfax, VA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Mass Find and Replace?

    Greetings,

    I am pretty much an Excel noob, and I'm trying to do a mass find and replace with different starting and ending values. I have data in number form, and I have a 'translation' worksheet. So in sheet 1 I have:
    City (column)
    12345
    12345
    12346
    12356

    with a whole bunch of additional data

    While in sheet 2 I have (columns 1 and 2)
    City Ref #
    New York 12345
    Los Angeles 12346

    What I would like to do is something like
    if Sheet 1(A1) = Sheet 2(B1) replace with Sheet 2(A1), repeated across all Sheet 2 B values.

    Is there a way I can do this?

    Also - is there a good primer on these types of things, so I can figure it out for myself in the future?

    Many thanks everyone.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Mass Find and Replace?

    Hi Kinanik,

    Welcome to the forum,

    On sheet 1, use the below formula in B1 and drag it down..
    =INDEX(Sheet2!$A:$B,MATCH(Sheet1!$A1,Sheet2!$B:$B,0),1)

    Once done, you can copy paste values these values in column A and then delete column B

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    Last edited by dilipandey; 06-12-2012 at 12:39 AM. Reason: missed the formula
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Registered User
    Join Date
    06-11-2012
    Location
    Fairfax, VA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Mass Find and Replace?

    Sorry, which formula?

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Mass Find and Replace?

    ooopsss.. !! I missed the formula

    Now updated in my post #2. thanks.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Registered User
    Join Date
    06-11-2012
    Location
    Fairfax, VA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Mass Find and Replace?

    It works, thank you! (I clicked the star)

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Mass Find and Replace?

    You are welcome Kinanik....

    Thanks for the star

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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