简体   繁体   中英

Google Sheets Array Formula Doesn't apply to the rest of the Column

I currently have a sheet that is pulling data from a Google Form. Whenever new data is entered through the form I want this formula to automatically calculate. However it will not apply to the entire column and only the first row that I enter it in.

This is the formula

=ARRAYFORMULA(IF(ISBLANK(D2), "",1-((COUNTIFS(BH:BH, BH3, D:D, "Unavailable")) + (COUNTIFS(BH:BH, BH3, D:D, "Stage*")))/32))

Any suggestions?

Nvm I got it. It should be ISBLANK(D2:D)...

try:

=INDEX(IF(D2:D="",,1-(
 (COUNTIFS(BH:BH, BH3, D:D, "Unavailable"))+ 
 (COUNTIFS(BH:BH, BH3, D:D, "Stage*")))/32))

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