views:

50

answers:

1

Hi, I have this excel worksheet

A          B          c   
foo1       joo1       loo1
foo1       joo2       loo2
foo2       joo3       loo3
foo2       joo4       loo4
foo2       joo5       loo5

Now I want this

A          B                  c   
foo1       joo1, joo2         loo1, loo2
foo2       joo3, joo4, joo5   loo3, loo4, loo5

How do I do this, preferably with GUI?

+1  A: 
Pete
Hi Pete, Never written a macro prior. However from the looks of the code did something similar- Basically I applied a unique filter to the first column, copied the second column, deleted the copied cells, removed the filter, resorted the second column, reapplied the filter and so on --> until I had no more filled cells in second column. At the end of it, I had 5 columns sitting sideby side - then concatenated them. Came out perfectly -- it wasn't "programming" though! Thanks for your help.
RisingSun
I'm glad it worked out and you could use my answer at least as a model.
Pete