G
Guest
I have a sheet with a column of random question numbers in A and answers (all different) in B. Many of the question numbers are repeated . The task at hand is to write a macro to create a new sheet with each unique question number in a single row and all the answers for that question concatenated in column B.
Example:
Orig. Sheet
A B
QNo Question
1 AAA
1 BBB
1 CCC
3 ABC
3 DDD
6 KKK
New Sheet:
QNo Question
1 AAA;BBB;CCC
3 ABC;DDD
6 KKK
Thanks for your help
Example:
Orig. Sheet
A B
QNo Question
1 AAA
1 BBB
1 CCC
3 ABC
3 DDD
6 KKK
New Sheet:
QNo Question
1 AAA;BBB;CCC
3 ABC;DDD
6 KKK
Thanks for your help