Answer the question
In order to leave comments, you need to log in
How to move values to new lines by condition?
Good afternoon. Ask for help from the community.
There is an array that needs to be spaced into different lines according to the condition, see the plate
Tried query, vlookup. I understand that just some algorithm can be applied.
An array of people with FLATTEN was deduced in one column, but I can’t think of how to bind the first two columns by condition.
Just in case, I'm attaching a screenshot.
Answer the question
In order to leave comments, you need to log in
From simple and unpretentious, you can try this
=ARRAYFORMULA(QUERY(
SPLIT(FLATTEN(A1:A5& "|" & B1:B5 & "|" & C1:F5);"|");
"where Col3<>''"
))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question