1

I would like to know if is possible to filter multiple rows into a single row.

Something like combine all filters bellow in only one row with values in same order excluding empty cells:

=FILTER(A1:D1;A1:D1<>"";"NO RESULTS")

=FILTER(A2:D2;A2:D2<>"";"NO RESULTS")

=FILTER(A3:D3;A3:D3<>"";"NO RESULTS")

Thanks!

EXEMPLE

Harun24hr
  • 30,391
  • 4
  • 21
  • 36

1 Answers1

1

FILTERXML() can give expected result.

=TRANSPOSE(FILTERXML("<t><s>"&TEXTJOIN("</s><s>",TRUE,A1:D3)&"</s></t>","//s"))

To know more about FILTERXML() read this by JvdV.

With beta channel of Excel-365 you can use TOROW() function.

=TOROW(A1:D3,1)

enter image description here

Harun24hr
  • 30,391
  • 4
  • 21
  • 36