jhumphrey22
New Member
- Joined
- Feb 6, 2014
- Messages
- 1
Hello,
I have an issue whereby there are two columns of data that I need to essentially "roll-up". The first column is a list of IDs, and the second column is a list of names. The names listed are duplicated and are assigned to multiple IDs. The end goal is to have a new tab in an excel workbook that would now list the name in column A, and in column B show the IDs associated with that name separated by ", ". The idea is to have two views, one by ID with the corresponding names, and one by Name, with the IDs concatenated in the concurrent column.
This needs to be able to adapt to a varying numbers of rows, IDs and names. Can somebody help with this? At this point, we have to create a pivot table, find the IDs listed for each name, and then concatenate the IDs separated by ", ". It takes forever, as you can imagine.
Below is a sample file:
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]NAME[/TD]
[/TR]
[TR]
[TD]AS1234[/TD]
[TD]John Smith[/TD]
[/TR]
[TR]
[TD]AD1234[/TD]
[TD]Joe West[/TD]
[/TR]
[TR]
[TD]AF1234[/TD]
[TD]John Smith[/TD]
[/TR]
[TR]
[TD]AG1234[/TD]
[TD]Joe West[/TD]
[/TR]
[TR]
[TD]AK1234[/TD]
[TD]John Smith[/TD]
[/TR]
[TR]
[TD]AG1234[/TD]
[TD]Joe West[/TD]
[/TR]
[TR]
[TD]AR1234[/TD]
[TD]John Smith[/TD]
[/TR]
</tbody>[/TABLE]
Please help!!
Thanks,
JH
I have an issue whereby there are two columns of data that I need to essentially "roll-up". The first column is a list of IDs, and the second column is a list of names. The names listed are duplicated and are assigned to multiple IDs. The end goal is to have a new tab in an excel workbook that would now list the name in column A, and in column B show the IDs associated with that name separated by ", ". The idea is to have two views, one by ID with the corresponding names, and one by Name, with the IDs concatenated in the concurrent column.
This needs to be able to adapt to a varying numbers of rows, IDs and names. Can somebody help with this? At this point, we have to create a pivot table, find the IDs listed for each name, and then concatenate the IDs separated by ", ". It takes forever, as you can imagine.
Below is a sample file:
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]NAME[/TD]
[/TR]
[TR]
[TD]AS1234[/TD]
[TD]John Smith[/TD]
[/TR]
[TR]
[TD]AD1234[/TD]
[TD]Joe West[/TD]
[/TR]
[TR]
[TD]AF1234[/TD]
[TD]John Smith[/TD]
[/TR]
[TR]
[TD]AG1234[/TD]
[TD]Joe West[/TD]
[/TR]
[TR]
[TD]AK1234[/TD]
[TD]John Smith[/TD]
[/TR]
[TR]
[TD]AG1234[/TD]
[TD]Joe West[/TD]
[/TR]
[TR]
[TD]AR1234[/TD]
[TD]John Smith[/TD]
[/TR]
</tbody>[/TABLE]
Please help!!
Thanks,
JH