COUNTBLANK Function in Excel: Count Empty Cells

⏱ 1 min readUpdated 28 September 2026

StatisticalLevel: BeginnerAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. Related functions

COUNTBLANK counts empty cells — and cells with formulas returning “” — a quick data-completeness check.

Syntax

=COUNTBLANK(range)
Argument What it means
range Cells to check.

Examples

Example 1

=COUNTBLANK(D2:D500)

How many rows are missing an email.

Example 2

=1-COUNTBLANK(D2:D500)/ROWS(D2:D500)

Percent complete.

COUNTA · ISBLANK

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong