Hi
Sorry for late replay
I use a little better approach.
In a new sheet (draft in my example) use in A3, B3, C3 the following formulas:
=IFERROR(AGGREGATE(15,6,ROW(name!$E$2:$E$101)/(LEN(TRIM(name!$E$2:$E$101))<>0),ROW($B1)),"")
=IF(A3<>"",TRIM(INDEX(name!E:E,A3,1)),"")
=IF($A3<>"",IF(LEFT($B3,LEN(C$1))=C$1,IF(C2<>"",C2&", ","")&$B3,IF(C2="","",C2)),"")
The first formula gives me the line numbers where there is text in the name column!E
The second formula allows me to get that text
The third formula uses the column header at C $ 1 to separate the text into columns. This formula can be copied to the other columns with headers.
Note: In name!J2 I provide a array formula, for compatibility with prior version of Excel2010, that can replace my first formula.
Formula:
=IFERROR(SMALL(ROW($E$2:$E$101)*(TRIM($E$2:$E$101)<>""),ROW(A101)-$J$1),"")
See the file for clarification
Bookmarks