Home > Blockchain >  Flatten only non empty cells refrence range once
Flatten only non empty cells refrence range once

Time:08-16

I have two columns A2:B with empty and non empty cells, I want to achive a similar result to the formula in D2 but refrence the range A2:B once in the formula. =Formula(Range)

=FILTER(FLATTEN(A2:B),FLATTEN(A2:B)<>"")

enter image description here

CodePudding user response:

Use

=QUERY(FLATTEN(A2:B), " where Col1 is not null ",0)

enter image description here

  • Related