Home > Blockchain >  Exclude blanks from grid but preserve order of values and their original column
Exclude blanks from grid but preserve order of values and their original column

Time:07-01

See picture or see this enter image description here

CodePudding user response:

=ArrayFormula(TRANSPOSE(SPLIT(REGEXREPLACE(TRANSPOSE(QUERY(A2:C&"♦",,10^7)),"(♦ ) |♦$","$1"),"♦ ",FALSE)))

CodePudding user response:

Use filter(), like this:

=filter(A2:A8, len(A2:A8))

See your enter image description here

Reference:

  • Related