Home > Software engineering >  need better formula for copying select data from a column and pasting to a new coulumn with np blank
need better formula for copying select data from a column and pasting to a new coulumn with np blank

Time:04-27

trying to get better formula to copy select data from column d and paste to column g with no empty cells my current formula works, but leaves blank cells like original column. Current formula =ArrayFormula(if(ArrayFormula(mod(row(D3:D28),4))=3,D3:D28,))

enter image description here

enter image description here

CodePudding user response:

Try this:

How about using =filter instead of =arrayformula.

=filter(D:D, D:D <> "")

or

=filter(D:D, D:D > 0)

CodePudding user response:

or query:

=QUERY(D:D; "where D is not null"; )
  • Related