I have a column of strings, example below. Each string is a delimited combinations of texts. Each row has different number of texts. I want to create a single column with one text per row based on this column.
FROM:
a;b
x;y;z
p;q;r;s;t
TO:
a
b
x
y
z
p
q
r
s
t
How do I achieve this using a single formula?
I tried TRANSPOSE(TEXTSPLIT(TEXTJOIN(";",TRUE, data),";"))
However, this fails because the TEXTJOIN part results in more than 32767 characters.
I also tried building a 2D array of mxn where m=no. of rows in the original data and n=no. of texts. However, the MAKEARRAY still results in a single column. Had it worked, I would have used TOCOL or something similar to convert to a single column.
=MAKEARRAY(ROWS(data),COLUMNS(MAX(num_of_texts_in_each_row)), LAMBDA(r,c, LET(
drow, INDEX(data,r,1),
splits, TEXTSPLIT(drow,";"),
INDEX(splits,,c)
)))