it's really what i need thank you very muchDoes this work?
Use this formula in A2 and copy it across and down.
=IF((ROW()-1)<=LEN(SUBSTITUTE(A$1," ","")),MID(SUBSTITUTE(A$1," ",""),ROW()-1,1),"")
Just a cautionary note: If you subsequently decided to add any new rows at the top of the worksheet, that formula would return incorrect results. Example:it's really what i need thank you very much
Cell Formulas | ||
---|---|---|
Range | Formula | |
A3:B14 | A3 | =IF((ROW()-1)<=LEN(SUBSTITUTE(A$2," ","")),MID(SUBSTITUTE(A$2," ",""),ROW()-1,1),"") |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A2:B14 | A2 | =MID(SUBSTITUTE(A$1," ",""),ROWS(A$2:A2),1) |