简体   繁体   中英

Google Sheets ARRAYFORMULA to skip blank rows

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.

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

在此处输入图像描述

Reference:

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

use:

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

在此处输入图像描述

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

=ARRAYFORMULA(filter(A1:B;A1:A<>"";B1:B<>""))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM