Returns the number of empty cells in a given range. A cell that contains blank text (such as spaces) or text with zero length (such as that returned by ="") is not considered empty, although it may appear so.
Syntax
Examples
|
Formula |
Result |
|
=COUNTBLANK( A2:A8 ) |
0 |
|
=COUNTBLANK( B2:B8 ) |
2 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
Similar Functions