Google Sheets Formulas
count
COUNTBLANK Function in Google Sheets: Explained
SHARE THIS Article
In this article, you will learn how to use the COUNTBLANK formula in Google Sheets.
What is Google Sheets’ COUNTBLANK formula?
This function counts the number of blank cells in the selected range.
Save hours formatting your next financial spreadsheet!
100+ templates, all free to use.
Free Spreadsheet Templates
How to use the COUNTBLANK function in Google Sheets
Type “=COUNTBLANK” or go to “Insert” → “Function” (or directly navigate to the “Functions” icon) → “Math” → “COUNTBLANK”.
Select a range or an array including blank cells whose numbers you need to calculate
Press the “Enter” key.

Sheets tutorials availalble now in our free certificate program!
Learn basic and intermediate functions with digestible videos and instructions.
Enroll in LiveFlow Academy
The general syntax is as follows:
Value1: This argument should be a cell, range, or array.
Value2: If you need to select other ranges, you can add as value2, value3, ….
Note
The COUNTBLANK function counts the total number of blank cells. So, even when empty cells appear several times in a data set, they are calculated individually.
The function doesn’t count the number of cells incorporating any values, including ones containing only whitespace(s).
Ensure all cells you want to count don’t have hidden text such as “‘“, an apostrophe.
The following screenshot presents how the function works in Google Sheets. As there are two entirely blank cells in the selected range, the formula returns two.

How do I count filled cells in Google Sheets?
You can use COUNT, COUNTA, or COUNTUNIQUE depending on your purpose.
COUNT: This formula is effective when you want to calculate the number of numeric values including date and time.
COUNTA: This function is helpful when you want to count the number of all values except for blank cells.
COUNTUNIQUE: This formula is useful when you need to compute the number of unique values (excluding duplicates) in a range.
The world's top businesses trust LiveFlow to automate their financial reporting
We turn Quickbooks Online data into a live FP&A dashboard in Sheets FAST!
Book a Demo
Supercharge your financial reporting