+ Reply to Thread
Results 1 to 4 of 4

bulk find replace.

  1. #1
    Registered User
    Join Date
    11-12-2009
    Location
    toronto canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    bulk find replace.

    Hello,

    I have a list of 30k rows containing text strings.
    I also have a list of 600 key words.
    Each of the 30k rows only has 1 of the key words
    I want to automate the process of searching the 30k rows for the key words and replacing the string with the key word it contained.


    From what I can figure the solution to this is an excel Macro.

    Can anyone help?

    Thank you in advance.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: bulk find replace.

    Hello tobiahjadam,

    Welcome to the Forum!

    This macro may need some changes. It was written using the following assumptions: The keywords are on a separate sheet and in a single column, and the rows being searched are on a separate sheet in a single column.

    If your data is not arranged this way then you need to show me how it is arranged. I can then change the macro to work with the data.

    Here is the macro code. Data for both sheets starts in cell "A1".
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    11-12-2009
    Location
    toronto canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: bulk find replace.

    Hello Leith,

    Thank you very much for getting back to me as quickly as you have.

    I am very new to macros.

    Could you help me understand what the code means?

    A1 referrers to the first word entry in the two lists right?
    Sheet one contains the list of key words or the list of text strings?

    Also how do I implementing this code?

    Again, thank you for any help you have time to provide.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: bulk find replace.

    Hello tobiahjadam,

    If you can post a sample workbook or the complete workbook, I can add the macro in for you. It will also give me a chance to run the macro on the actual data and make any needed adjustments.

+ 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