# How to Use Excel COUNTBLANK Function?

Excel COUNTBLANK Function: Excel is a spreadsheet program that is developed for WindowsMacAndroid, and iOS. It helps to perform calculations on your PC. The purpose of this software is to do complicated calculations which are difficult to do manually. If you want to empty cells in a range, you can use the COUNTBLANK function.

In this article, you will learn how to use Excel COUNTBLANK Function with its syntax, explanation, and examples. Get an official version of MS Excel from the following link:

https://www.microsoft.com/en-in/microsoft-365/excel

## Description of COUNTBLANK Function

• It is one of the built-in functions in Microsoft Excel.
• This function returns the number of blank cells from the given input range and returns the output in number.

## Syntax

• Here, you will see the syntax of the COUNTBLANK function.
• To apply this function on your spreadsheet, you must select a cell and enter the formula in the following format.
• Once you enter the formula, click the button to get the result.

=COUNTBLANK(range)

Parameter Description:

• Range – The range of cells from which you want to count the empty-cells.

Note:
1) It will not consider the cells that contain numbers, text, errors, etc.
2) Formulas that return empty text (” “) is considered to be blank cell and will be counted.
3) The cells that contain zero are considered non-blank cells, so they will not be counted.

## Examples

Here we will show you an example to know how to apply the Excel COUNTBLANK function in the spreadsheet.

• Initially, you have to open your Excel workbook on your PC and launch the worksheet with data.
• For instance, we have given the input values in the range B3:B9. And we will get the count of blank cells using the COUNTBLANK function.
• Then, you have to enter the formula in the cell as shown below to get the result.
• After entering the formula, you need to click the  button to get the output.
• The cells that contain zero are considered non-blank cells, so they will not be counted.