FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

COUNTBLANK in Google Sheets

COUNTBLANK with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the COUNTBLANK Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Count empty rows

A
1Value
210
3
420
5

Formula: C2: =COUNTBLANK(A2:A5)

Result: 2

A3 and A5 are blank.

No blanks

A
1Value
21
32

Formula: C2: =COUNTBLANK(A2:A3)

Result: 0

Both cells contain numbers.

Two-dimensional range

AB
1AB
21
32

Formula: D2: =COUNTBLANK(A2:B3)

Result: 2

The two empty cells are counted individually.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =COUNTBLANK(D2:D7)

Example spreadsheet for COUNTBLANK
ABCDEF
1RegionProductUnitsPriceResult
2EastPen1202.51
3WestPen802.5
4EastBook45
5NorthBook6012
6WestLamp3025
7EastLamp1525
Result in F2: 1

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.