Combining duplicates from one column and showing values from second column

时间:2018-01-15 18:19:18

标签: excel excel-vba vba

I have a data set with several columns but, for this purpose I am only interested in two and have moved them to a separate sheet. I know Column A has several duplicates and I would like to combine them but, I do not want to loose the individual data from Column B. Is it possible to combine the duplicates in column A and in columns B,C,D,... show the information that was associated with the row?
Please Reference the image below I couldn't figure out how to format like I have seen on here.

Current and Desired Formats


I am open to any other solutions that are similar so long as I can see the distribution of column B.
Thank you.

1 个答案:

答案 0 :(得分:1)

添加一个包含计数器的列:

=COUNTIF(B$1:B2,B2)  

然后转动:

SO48268652 example

调整标签以适应。