Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Counting the Number of Blank Cells.
Written by Allen Wyatt (last updated June 23, 2018)
This tip applies to Excel 97, 2000, 2002, and 2003
One of the worksheet functions provided by Excel allows you to quickly and easily count the number of blank cells in a range. The format of the function is as follows:
= COUNTBLANK(range)
The function returns an integer value representing the number of blank cells in the range. You should be careful, however. If you have the display of zero values suppressed for the worksheet, a cell can appear blank when it is not really blank. COUNTBLANK returns blank cells, not counting those that would have a zero displayed if you chose to display such values. (How you suppress the display of zero values in a worksheet is discussed in other ExcelTips.)
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2157) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Counting the Number of Blank Cells.
Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!
Excel allows you to use functions and formulas to analyze your data. One way you can analyze your data is to use the ...
Discover MoreWhen you need to count a number of cells based upon a single criteria, the standard function to use is COUNTIF. This tip ...
Discover MoreNeed to find a median value in a series of values? It's easy with the MEDIAN function. What isn't as easy is to derive ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments