EXCEL SOLUTIONS

COUNTBLANK function in Excel

Counts the empty cells in a range.

BeginnerCounting

Syntax

=COUNTBLANK(range)
Arguments of COUNTBLANK
ArgumentWhat it means
rangeThe cells to check.

Examples with results

Every result below is calculated by the practice engine on the sample data shown, not typed in by hand.

List A and list B (fictional)

RowAB
1OrderedReceived
2P-101P-102
3P-102P-101
4P-103P-105
5P-104P-103
6P-105
List A and list B (fictional) Row 1 holds the headings. All data is fictional. Dates are year-month-day.

Download CSV

  • =COUNTBLANK(B2:B6)1

    Items not yet received

Try it yourself

Change the formula or switch to other sample data.

Press Calculate to see the result.

The practice box runs in your browser with BDK’s own calculator, which covers about 60 common functions. Cell references work as in Excel (B2, B2:B9). Your formulas are not saved or sent anywhere. For anything unusual, check the result in Excel itself.

How people use COUNTBLANK at work

  • Administration

    How many forms are still missing a value?

    =COUNTBLANK(B2:B6)1
    Data: List A and list B (fictional)
  • Operations

    Missing reorder levels.

    =COUNTBLANK(D2:D6)0
    Data: Stock levels (fictional)

Common mistakes and tips

  • Cells with a formula that returns "" are counted as blank, but cells with a space are not.

Works in

All versions of Excel, and Google Sheets.

Related formulas

COUNTAISBLANK

Lessons that use it

Need Something Different? Let’s Talk.

Looking for different features or something built around your workflow? Share your idea with us.