Combine multiple cells with unique A and different B's into one cell : r/excel (reddit.com)
Goal: combine items that have duplicates in column A and different values in Column B, to get one value of Column A and column B to be a list of unique items in columns B which had duplicate value A as a match.

- Column A will be the unique value in column D
- Values in column B will be joined together in column E, for every value in D/A
- Copy relevant columns to new worksheet with headers
- Put "=unique(A:A) in D1, and it will autofill column D
- Put "=TEXTJOIN(",",TRUE,TRANSPOSE(FILTER(B:B,A:A=D2)))" in E2
- Copy columns D and E, and paste as values.
- In the original worksheet, use VLOOKUP(A2,NewWorksheet!$D:$E,2,0)
- A2 should be the same as columns A/D
- This will copy the merged values into the original worksheet
- Remove the original column B from the original worksheet
- Use "Remove Duplicates" to remove duplicate rows.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article