Forum Discussion
Splitting Data in multiple rows of single column into different columns
Rajesh_Sinha Thank you for the response, however if you notice there is a repeat pattern occurring which is the line ending as X purchases, I was hoping if I can find a way to leverage that.
I am positive there must bea way to break the data at that level and move the balance into the next column, we just need to figure out a way.
I'll keeping looking out for solutions, meanwhile if this point trigger something to you, do please help.
Regards
If your serie starts in A1. Formulas from B1 to E1
B1=IF(ISNUMBER(SEARCH(" purchase",A2)),A1,"")
C1=IF(B1<>"",A2,"")
D1=IF(C1<>"",A3,"")
E1=IF(D1<>"",TEXTJOIN(" ",,OFFSET(A4,0,0,MATCH("* purchase*",A4:A10000,0)-2)),"")
*****ED****
E-column will be wrong for the last post. try something like:
'=IF(D1<>"",TEXTJOIN(" ",,OFFSET(A4,0,0,IFERROR(MATCH("* purchase*",A3:A10000,0)-2,MATCH("*",A3:A10000,-1)))),"")