Formulas > =COUNTBLANK()

How To Use COUNTBLANK() Function in Google Sheets


Returns the number of empty cells in a given range.

Common questions about the COUNTBLANK formula:
- What is the COUNTBLANK formula? counts blank cells.
- What does the formula return? a number
- How is the COUNTBLANK formula different from other count formulas in Google Sheets? As opposed to COUNTA or COUNTIF the COUNTBLANK formula only counts blank cells. The cells that are empty.

How can the COUNTBLANK formula be used appropriately?
The COUNTBLANK formula can be used appropriately to count the number of blank cells in a range of cells. You can enter it into a cell by typing the equals sign and then writing COUNTBLANK. You don't necessarily need to write it in all caps. And it will be in autocomplete as you type it. So that you can select it and not have to type out the entire formula.

How can COUNTBLANK be mistyped?

How can COUNTBLANK be use inappropriately?
Some common ways the COUNTBLANK formula is used inappropriately include using COUNTBLANK in a range with some non numeric values, using it to count cells outside the range, or trying to use it to count values other than blank cells.

What are some common pitfalls when using COUNTBLANK?
Common pitfalls when using the COUNTBLANK formula include forgetting to specify a range and misplacing parentheses. Or mistyping it completely. You can also try to count a series of cells or a range without blanks. You might think it's wrong, but in fact those cells are not blank. And you expected them to be blank.

What are common mistakes you encountor when using COUNTBLANK?
Common mistakes when using the COUNTBLANK Formula include not entering the correct range of cells and not using the correct parameter. You can also be mistaken to use it if you expect to use a different COUNT formula. COUNTA, COUNTIF, COUNTUNIQUE are all different ways to count cells in Google Sheet. You might want to use those instead, depending on your business use case.

What are common misconceptions with COUNTBLANK?
Common misconceptions people might have with the COUNTBLANK Formula include that it counts all blank spaces in a range and counts other types of values such as text or numbers. COUNTBLANK cannot be used to check that your cells should be blank or not. If your cells are blank because of a mistake and then you count them as blank, the COUNTBLANK function will not know that. If a cell should or should not be blank, will be counted as blank by COUNTBLANK if it is blank. Not if it should or should not be.

Google Sheet Formula Frustrations Solved
Find every formula you'll ever need in Google Sheets here at Better Sheets. Whether you're a beginner or an advanced user, I’ve got you covered with a comprehensive guide of 504 formulas.

Are you struggling to find a specific value in a column of data? Look no further than the powerful VLOOKUP formula. Or maybe you need to calculate the sum of values that meet specific criteria - try out SUMIF. And when it comes to frequency of values, COUNTIF has you covered.

Have you heard of the mysterious and powerful IF formula? It can turn your spreadsheets into gateways of productivity. And don't forget about the oft-partner ISBLANK(). 

Find step-by-step tutorials for any formula here on Better Sheets. Every formula page comes with links to written blog posts and Better Sheets tutorials featuring the exact formula.

Looking for a way to segment data based on specific criteria? The FILTER formula is perfect for you. 

If you need to replace VLOOKUP, give INDEX/MATCH a try.

At, I have everything you need to take your Google Sheets skills to the next level. 
From ARRAYFORMULA() to ZTEST(), Better Sheets has it all.

How To Actually Use COUNTBLANK() in Sheets


2Better Sheets Tutorials

find out how to show the total number of data rows available in a sheet.
Learn how to use CountBlank() and more counting formulas.

Learn more about the COUNTBLANK() formula:

Generate a COUNTBLANK() formula for your needs with AI

Google Sheets Formula Generator

Whatever you need to do in sheets, you can generate a formula. Use the Better Sheets Formula generator to create a formula for any need. Completely free for members.


Looking for more help inside sheets get the free Add-on: Asa. Ask Sheets Anything. Go ahead, ask it any problem you migth have. Bring your own APIKEY and generate formulas inside of Google Sheets.