LiveFlow raises $13.5 million Series A led by New York-based Valar Ventures and launches LiveFlow Next to revolutionize finance!
Read More
Arrow
Back to guides
Google Sheets Formulas

COUNTBLANK Function in Google Sheets: Explained

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.

How to insert the COUNTBLANK formula in Google Sheets

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:

=COUNTBLANK(value1, [value2, …])

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

  1. 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.
  2. The function doesn’t count the number of cells incorporating any values, including ones containing only whitespace(s).
  3. 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 the COUNTBLANK formula works in Google Sheets with an example

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

Learn how to do this step-by-step in the video below 👇

Automate financial reporting with LiveFlow

Cta Photo

Want to eliminate manual updates of your Excel & Google Sheets models?

Yes, show me how!

Get personal help

We guarantee you personal help on chat or Zoom within maximum 6 hours between 9am and 10pm EST.
Blue Tick
Email us at: help@liveflow.io

Liked this article? Then you'll love the ones below

Supercharge your financial reporting today

See LiveFlow in action and discover how to streamline your workflows.

Book a demo