
Originally Posted by
felzao
How to convert text from row to column.
for number is no problem. i Used VLOOKUP and SUMPRODUCT i.e VLOOKUP(F2,$F$2:$H$60,2,0) and (SUMPRODUCT(--(MAIN!$Q$6:$Q$500=F2),--((MAIN!$N$6:$N$500))))
Any suggestion how to solve my probem
example:
AAA JOHN
BBB ANDREW
CCC ALBERT
BBB XAVIER
AAA ABDUL
DDD KADIR
the answer is...
AAA JOHN, ABDUL
BBB ANDREW, XAVIER
CCC ALBERT
DDD KADIR
tks

One way use two helper columns. With data above in A2:B7, first sort it ascending with col. A as the key. Then in C2 enter
and in D2 enter
Copy C2:D2 down your list.
Extract a unique list of values from col A in A10:A13, then use a VLOOKUP in B10 and copy down to B13.
There are probably other function methods and a VBA macro would easily do it.
Rgds
Bookmarks