Home > Enterprise >  Split strings in a google sheet cell into multiple rows?
Split strings in a google sheet cell into multiple rows?

Time:08-15

In this thread I got the correct answer, but when I delete the values in columns B and C there are no results

enter image description here

CodePudding user response:

use:

=INDEX(SPLIT(FLATTEN(FLATTEN(
 FILTER(A2:A, A2:A<>"")&     IF(LEN(TRIM(QUERY(B2:B,,9^9))),"×"&TRANSPOSE(
 FILTER(B2:B, B2:B<>"")), ))&IF(LEN(TRIM(QUERY(C2:C,,9^9))),"×"&TRANSPOSE(
 FILTER(C2:C, C2:C<>"")), )), "×"))

enter image description here

enter image description here

enter image description here

  • Related