+ Reply to Thread
Results 1 to 5 of 5

Multiple Find and Replace

  1. #1
    Registered User
    Join Date
    03-17-2010
    Location
    Sebastopol, MS
    MS-Off Ver
    Excel 2007
    Posts
    14

    Multiple Find and Replace

    Can someone please help me on this?

    I have these columns on one sheet, with labels...
    BR
    BR
    CAM
    CAM
    CAM
    COW
    COW

    And on another sheet, I have each one, and what I want it to say in those column:
    BR Pam Britton
    CAM Joy Campbell
    COW Bonnie Mohr

    I guess basically like a multiple find and replace. I want to replace all BR's with Pam Britton, all CAM's with Joy Campbell, and all COW's with Bonnie Mohr. But there are hundreds of these. There must be a quicker way to do this.

    I will now cease to ask, "Is this even possible?" I've found that pretty much anything is possible. You just gotta know how. Thanks for the help in advance.

    Matt

  2. #2
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: Multiple Find and Replace

    myRange is the range of cell containing the data to be replaced, while rList contains the table with the values you want to replace.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-17-2010
    Location
    Sebastopol, MS
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Multiple Find and Replace

    Do forgive me, but how do I run that?

  4. #4
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: Multiple Find and Replace

    Alt+F11 to launch the VBE
    Go to Insert / Module
    Paste it in the window that opens
    Press F5 or click the Run button.

    Make sure you adjust the ranges and sheet names to suit your set up.

  5. #5
    Forum Contributor
    Join Date
    02-24-2010
    Location
    BC, Canada
    MS-Off Ver
    Excel 2010
    Posts
    174

    Re: Multiple Find and Replace

    You could also create a new column and run VLOOKUP, then copy and paste values, then delete the column you created
    Last edited by The Phil; 03-18-2010 at 05:34 PM.

+ 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