I want to copy down filter formula using Arrayformula. I also gave a hand to copy down add-on but it's not giving required result. Here is a picture of an example sheet:

enter image description here

I am filtering the non blank row-wise data. As data is coming from Google Form thus want to auto replicate this formula. Copy-down add-on and ARRAYFORMULA both are giving inaccurate results.


1 Answer 1


Please use the following formula

                  TRANSPOSE(TRIM(SPLIT(CONCATENATE(IF(LEN(B2:F),B2:F&"@",)&REPT(" "&"♣︎",COLUMN(B2:F)=COLUMN(F2))),"♣︎"))), 

If on the other hand if you want to get just the first non-blank cells in each row, please use the following

                  TRANSPOSE(TRIM(SPLIT(CONCATENATE(IF(LEN(B2:F),B2:F&"@",)&REPT(" "&"♣︎",COLUMN(B2:F)=COLUMN(F2))),"♣︎"))), 

(I know they are a bit long... But they work)

enter image description here

Functions used:

  • Thankyou for your help. But still facing an issue as this formula is returning only first value from each row. Please suggest Commented Feb 15, 2021 at 14:47
  • docs.google.com/spreadsheets/d/… @marikamitsos please find the attached sheet for your reference Commented Feb 16, 2021 at 4:55
  • Sorry. My mistake. Check the updated answer and think positive. You can 2 answers for just 1 question :) Commented Feb 17, 2021 at 10:33
  • Please remember that as per site guidelines when an answer addresses your question, you should accept it and even upvote it so others can benefit as well. Commented Feb 17, 2021 at 10:36
  • 1
    Thankyou @marikamitsos - it's working perfectly well. Commented Feb 18, 2021 at 6:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.