ReferenceFunctionsMath Functions
COUNTBLANK
COUNTBLANK: Counts blank cells, including empty-string text results.
Summary
COUNTBLANK treats both true empty cells and "" text values as blank.
Remarks
- Empty-string text values are counted.
- Numbers, booleans, and non-empty text are not counted.
- Supports scalar arguments and ranges.
Examples
Count blanks in a range
Grid
| Cell | Value | |
|---|---|---|
Formula
=
Result
Not evaluated yet.
Expected
2
Scalar empty-string counts as blank
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
1
Non-empty values are excluded
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
0
Related functions
FAQ
Does COUNTBLANK include cells that contain ""?
Yes. Empty-string text values are treated as blank for COUNTBLANK.
Are numeric zeros considered blank?
No. Zero is a numeric value, so it is not counted as blank.
Runtime metadata
Category
Math
Signature
COUNTBLANK(arg1…: Any)This function accepts a repeating argument pattern (min args: 1).
Arity
min 1, max variadic
Arguments
arg1Any · Scalar
Caps
PUREREDUCTION
Source