Hi,
I'm *attempting" to take a spreadsheet containing 2 columns, and concatenate the values in Column B ("Account Number") for each unique name in Column A ("User ID"). The resulting concatenated string would go into Column B. Any ideas on the best way to approach this through VBA?
Current Data Example:
UserID Account Number
jsmith 11
jsmith 12
jsmith 13
jsmith 26
bjones 11
bjones 56
bjones 63
bjones 64
jsmith 45
alee 14
alee 66
alee 63
jsmith 87
bjones 95
Desired Result:
UserID Account Number
jsmith 11,12,13,26,45,87
bjones 11,56,63,64,95
alee 14,66,63
I'm *attempting" to take a spreadsheet containing 2 columns, and concatenate the values in Column B ("Account Number") for each unique name in Column A ("User ID"). The resulting concatenated string would go into Column B. Any ideas on the best way to approach this through VBA?
Current Data Example:
UserID Account Number
jsmith 11
jsmith 12
jsmith 13
jsmith 26
bjones 11
bjones 56
bjones 63
bjones 64
jsmith 45
alee 14
alee 66
alee 63
jsmith 87
bjones 95
Desired Result:
UserID Account Number
jsmith 11,12,13,26,45,87
bjones 11,56,63,64,95
alee 14,66,63