I am looking for a formula in google sheets to to break down an existing data set at once in a format that's a little more versatile. Here is the link to the sample sheet which is also the source of the picture links below.
Pictured here is the data set I'm working with:
This is what I'd like the output to be:
And this is result of my attempt using the formula listed below:
=arrayformula(query(split(flatten(A3:A6&"|"&SPLIT(B3:B6,",")&"|"&SPLIT(C3:C6,",")&"|"&SPLIT(D3:D6,",")),"|"),"Select * where Col1 is not null"))
Let me know if additional sub tables would be easier to migrate them together as well. I've used the following links to get me part of the way there, but could use some help on finishing it up.
How to transpose & split multiple columns and repeat specific cells in a column
QUERY
. So... why did you tag "Apps-Script"? And would you please answer the questions in my comment above. Regardless of how one might construct an answer, the information in those questions is important.