Google Sheets ARRAYFORMULA to skip blank rows
Asked Answered
I

3

5

How to make my ARRAYFORMULA(A1 + something else) to stop producing results after there are no more values in A1 column, eg. to skip blank values. By default it gives endlessly "something else".

Here is my demo sheet: https://docs.google.com/spreadsheets/d/1AikL5xRMB94BKwG34Z_tEEiI07aUAmlbNzxGZF2VeYs/edit?usp=sharing

Actual data in column A1 is regularly changing, rows are being added.

Isochronism answered 5/1, 2022 at 18:23 Comment(1)
Would you be able to provide a sample sheet with sample data so that we can see what we are working on?Perspiratory
H
4

use:

=ARRAYFORMULA(IF(A1:A="";;A1:A+1000))

enter image description here

Hardie answered 5/1, 2022 at 20:14 Comment(0)
M
3

I tried the others and they didn't work. This does though:

=ARRAYFORMULA(filter(A1:B;A1:A<>"";B1:B<>""))
Maggoty answered 25/4, 2022 at 11:40 Comment(0)
P
2

You can try this formula =ARRAYFORMULA(IF(ISBLANK(A1:A),"",(A1:A + B1:B))) if this works out for you.

enter image description here

Reference:

https://support.google.com/docs/answer/3093290?hl=en

Perspiratory answered 5/1, 2022 at 19:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.