Reputation: 5345
I want to count all cells which are NOT(ISBLANK())
.
I tried this:
Why does this does not work?
Upvotes: 1
Views: 376
Reputation: 38500
That's not the right syntax for the COUNTIF
function. For more, see the documentation.
Instead, you can use this regular formula:
=SUMPRODUCT(--NOT(ISBLANK(A:A)))
or this array formula
=SUM(--NOT(ISBLANK(A:A)))
The latter must be entered as an array formula using Ctrl Shift Enter.
Upvotes: 3