Reputation: 36656
I'm trying this formula to count the blank cells, and I get "NEW" as if there are none-blank - regardless if there is data in the first cell or not.
How can I fix this?
=IF(AND(ARRAYFORMULA(ISBLANK(AB8:AB9)+ISNA(AB8:AB9))), "SAME", "NEW")
Upvotes: 0
Views: 45
Reputation: 7773
=IF(COUNTA(AB8:AB9),"NEW","SAME")
Seems that you should just count the values and if it's 0 then it should display "SAME"
Upvotes: 0
Reputation: 36656
An empty string (“”) can be a result of a formula while apostrophe is often used by many people during data entry.
https://productivityspot.com/count-non-blank-cells-google-sheets/
Upvotes: 0