tech on the net
Home About Us Feedback Site Map


Access Excel Word


SQL Oracle / PLSQL SQL Server MySQL MariaDB PostgreSQL

Web Development

HTML CSS Color Picker


C Language


ASCII Table Linux UNIX Java Clipart Joke of the Moment

Excel Functions

(Scroll to see more)

Share this page:

MS Excel: COUNTBLANK Function (WS)

Learn how to use the Excel COUNTBLANK function with syntax and examples.


The Microsoft Excel COUNTBLANK function counts the number of empty cells in a range.


The syntax for the Microsoft Excel COUNTBLANK function is:


Parameters or Arguments

range is the range of cells to count empty cells.

Applies To

The COUNTBLANK function can be used in the following versions of Microsoft Excel:

  • Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Excel Function

The COUNTBLANK function can be used in Microsoft Excel as the following type of function:

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel COUNTBLANK function examples and explore how to use the COUNTBLANK function as a worksheet function in Microsoft Excel:

Microsoft Excel

Based on the spreadsheet above, the following Excel COUNTBLANK examples would return:

=COUNTBLANK(A1:A4) would return 1
=COUNTBLANK(A1:A6) would return 3
=COUNTBLANK(A1:B4) would return 3