+ Reply to Thread
Results 1 to 1 of 1

Help with merge duplicates rows and concatenate non matching data

  1. #1
    Registered User
    Join Date
    05-10-2012
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    1

    Help with merge duplicates rows and concatenate non matching data

    Hi All,

    New to forum, looking for some help with a macro that would look up duplicate cells in column A, merge the rows based on that cell and concatenate any data in the cells that did not match.

    Kinda difficult to explain, need it for a mail merge to stop sending multiple letters to the same client. For example, the grid looks a bit like this:

    0001| Mr Joe Blogs | Henry | Dog|
    0002| Mr David Cameron| Cleg| Dog|
    0003| Mr John Stewart| Charlie| Dog|
    0001| Mr Joe Blogs| Alice| Horse|
    0002| Mr David Cameron| Gove| Dog|
    0003| Mrs Allison Stewart| Ella| Cat|
    0004| Mr Paul Stewart| Pancho| Dog|

    With a macro producing:

    0001| Mr Joe Blogs| Henry, Alice| Dog, Horse|
    0002| Mr David Cameron| Cleg, Gove| Dog|
    0003| Mr John Stewart, Mrs Allison Stewart| Charlie, Ella| Dog, Cat|
    0004| Mr Paul Stewart| Pancho| Dog|

    The spread sheet will have many columns and 1000s of rows.

    Many Thanks,
    John
    Last edited by johnboy82; 05-10-2012 at 05:26 PM.

+ 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