+ Reply to Thread
Results 1 to 6 of 6

Multiple find and replace per data group in the same worksheet

  1. #1
    Forum Contributor
    Join Date
    04-04-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    204

    Multiple find and replace per data group in the same worksheet

    Dear All,

    I have one worksheet, as per attached example, where there is four columns: Col_A, Col_B, Col_C and Col_D.
    Col_A and Col_B have the find and replace strings which belong to every group of 32 names in Col_C. Real data in Col_C are over 100 000 rows divided into groups of 32.
    What I am in a dire need for is to use the strings in Col_A to be found in Col_C and replaced with the proper equivalent from Col_B. The result should be placed in Col_D.
    Please note that the find and replace process is done per each group only.

    Can I get your precious assistance with this question, please?

    Many thanks in advance.List_of_names_multiple_find_replace_per_data_group.xlsx
    Last edited by terryhenderson; 09-13-2015 at 03:22 AM.

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Multiple find and replace per data group in the same worksheet

    Can I assume There's only 1 occurrence of a find name in each group?
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  3. #3
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Multiple find and replace per data group in the same worksheet

    See Post #2.
    I went ahead and assumed only 1 time per group.

  4. #4
    Forum Contributor
    Join Date
    04-04-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    204

    Re: Multiple find and replace per data group in the same worksheet

    Sorry Skywriter for not promptly returning to you as I was away from my computer.
    Your assumption hit the target 100%, yes, there's only one occurrence of a find name in each group.
    I ran your script and it did yield the desired product in spectacular speed.
    Thank you very much for such masterpiece that does save time.
    All the best, and always ahead.
    T.

  5. #5
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Multiple find and replace per data group in the same worksheet

    My pleasure.

    Please click the Thread Tools drop down box above your first post and choose solved.
    Last edited by skywriter; 09-13-2015 at 05:49 AM.

  6. #6
    Forum Contributor
    Join Date
    04-04-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    204

    Re: Multiple find and replace per data group in the same worksheet

    All the best..
    Last edited by terryhenderson; 09-15-2015 at 03:35 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Use multiple IF to find certain data and group them
    By Tino XXL in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2013, 08:58 AM
  2. VBA Userform Find and Replace Data in Worksheet
    By frogger750 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 11-02-2012, 02:15 AM
  3. VBA Userform Find and Replace Data in Worksheet
    By frogger750 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2012, 12:56 AM
  4. [SOLVED] Do Find & Replace multiple times using data in Col B for find & data in Col C for replace
    By ILoveStMartin in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-29-2012, 08:23 AM
  5. to find and replace the special character in multiple worksheet in a workbook
    By Vinutha in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-11-2012, 11:16 AM
  6. Replies: 6
    Last Post: 12-13-2010, 06:26 AM
  7. Find & Replace data with multiple If range
    By miners in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-28-2009, 11:31 PM
  8. Replies: 3
    Last Post: 05-22-2006, 02:25 PM

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