Hello,
Am trying to find a macro that works to merge duplicate rows unique values. I currently am using the below macro which appears to work on test sheets, it merges the unique values in column B and separates them by a comma and a space (which i need) but it removes column C if there is any data in column C and when used on larger spreadsheets it deletes around 4 random unique values.
Example sheet
Macro Example.xlsx
What i really need is a macro that will do the following:
- Find all duplicate rows
- Merge unique values in those duplicate rows and place in column B with each value separated by ", " (comma and a space)
- Delete all duplicates (only keeping the one with all values in column B)
- KEEP the following columns of data. column B is the ONLY column that contains unique values in the sheet, the following columns will be the exact same information for every duplicate. the macro i am currently using doesn't delete them or anything, it just mixes them up all over the joint so i get descriptions for things in the wrong place (eg. in example sheet, "banana description" will appear in the "Apple" row)
This is the current macro I am using:
Please Login or Register to view this content.
Bookmarks