I have this type of table in Excel:
A | A1
B | B1
A | A3
A | A4
B | B3
What I need is to create a new table where the data would look like this:
A | A1, A3, A4
B | B1, B3
Is there a formula or a way to do this other than manually?
Edit #1:
Basically what I want to do is described here http://www.extendoffice.com/documents/excel/802-excel-select-cells-based-on-criteria.html but the problem I am having is how you put that data in a new cell associated to the criteria you search for (All codes that contain "A" and "B" in our example).

