Category: FUNCTION | Updated: 2026-11-20

How to Use the COUNTBLANK Function in Google Sheets | Count Empty Cells

How to Use the COUNTBLANK Function

The COUNTBLANK function counts the number of “blank cells” within a specified range. It is useful for checking unsubmitted tasks, pending items, or unanswered survey questions.

Syntax

=COUNTBLANK(range)
  • range: The contiguous cell range in which to count blank cells (required).

Table Example

Here is an example of counting the number of employees who have “not submitted (blank)” their report from the submission tracker below.

Row Column A (Employee Name) Column B (Submission Date)
1 Employee Name Submission Date
2 Yamada 2026/11/18
3 Sasaki (Blank)
4 Yamaguchi 2026/11/19
5 Matsumoto (Blank)
6 Unsubmitted Count =COUNTBLANK(B2:B5)
  • Formula: =COUNTBLANK(B2:B5)
  • Result: 2
  • Explanation: Because B3 and B5 are empty (blank), 2 is returned.

Common Errors and Notes

  • Only one range argument is allowed: Passing multiple comma-separated ranges like =COUNTBLANK(A2:A5, C2:C5) results in an #N/A (wrong number of arguments) error. To count across multiple ranges, combine them with +.
  • Spaces (whitespace characters) are not counted: If a cell contains a half-width or full-width space, it appears empty but is treated as containing data and will not be counted by COUNTBLANK.
  • The number “0” is not blank: Cells containing 0 are treated as numeric data and are not counted as blank cells.

Frequently Asked Questions

Q. Can the COUNTBLANK function accept multiple non-adjacent ranges at once?

A. No, COUNTBLANK only accepts a single contiguous range as its argument. To count blank cells across multiple separate ranges, add multiple calls together like "=COUNTBLANK(A2:A10)+COUNTBLANK(C2:C10)".

Q. Does COUNTBLANK count cells where a formula returns "" (an empty string)?

A. Yes, it does. Unlike the COUNTA function, COUNTBLANK counts both completely empty cells and cells where a formula returns an empty string ("") as blank.