Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9786

ArrayFormula to transfer items in a column from one google sheet to a column in another google sheet ignoring blank cells

$
0
0

I'm trying to transfer items in a column from one google sheet to a column in another google sheet ignoring blank cells entirely.
I have this formula that will transfer all cells including the blanks:=ARRAYFORMULA(FormResponses1!C:C)I also have this formula that does the same substituting the blanks with the word "hello":=ARRAYFORMULA(IF(FormResponses1!A:A="","",IF(ISBLANK(FormResponses1!C:C),"hello",FormResponses1!C:C)))

I'm trying to transfer the non-blank cells to the other sheet ignoring the blank cells altogether, making a column with 5 cells as opposed to 7 cells as belowThe column being transferred from the original sheet looks like this:

  1. Apple
  2. Peach
  3. (Blank cell)
  4. Orange
  5. (Blank cell)
  6. Grape
  7. Cherry

I need the new sheet to look like this without any blank cells in the column:

  1. Apple
  2. Peach
  3. Orange
  4. Grape
  5. Cherry

I can't seem to find a way to do it. Any help would be greatly appreciated!

Thanks,Neal


Viewing all articles
Browse latest Browse all 9786

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>