Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to count table rows in Excel
  • How to Create One and Two Variable Data Tables in Excel
  • Working With Tables in Excel
  • Use Data Form to input, edit and delete records in Excel
  • How to create a Histogram in Excel

References

  • How to use Excel FORMULATEXT function
  • Count rows that contain specific values in Excel
  • How to get address of first cell in range in Excel
  • How to use Excel INDIRECT Function
  • Complete List of Excel Lookup and Reference Functions, References and Examples

Data Validations

  • Excel Data validation only dates between
  • Prevent invalid data entering in specific cells
  • Excel Data validation whole percentage only
  • Excel Data validation unique values only
  • Excel Data validation no punctuation

COUNTBLANK function: Description, Usage, Syntax, Examples and Explanation

by

What is COUNTBLANK function in Excel?

COUNTBLANK function is one of Statistical functions in Microsoft Excel used to count the number of empty cells in a range of cells.

Syntax of COUNTBLANK function

COUNTBLANK(range)

The COUNTBLANK function syntax has the following arguments:

  • Range    Required. The range from which you want to count the blank cells.

COUNTBLANK formula explanation

Cells with formulas that return “” (empty text) are also counted. Cells with zero values are not counted.

Example of COUNTBLANK function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Data Data
6
27
4 34
Formula Description Result
=COUNTBLANK(A2:B5) Counts empty cells in the range above. 2

Post navigation

Previous Post:

How to generate random date between two dates in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to return blank in place of #DIV/0! error in Excel
  • SWITCH function example in Excel
  • How to use Excel OR Function
  • Complete List of Excel Logical Functions, References and Examples
  • IF with wildcards in Excel

Date Time

  • Pad week numbers with zeros in Excel
  • Count dates in current month in Excel
  • Get fiscal quarter from date in Excel
  • Calculate number of hours between two times in Excel
  • Display Days in month in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • Group times into 3 hour buckets in Excel
  • How to randomly assign people to groups in Excel
  • Group arbitrary text values in Excel
  • How to randomly assign data to groups in Excel

General

  • Delete Blank Rows at Once in Excel
  • Hide and Unhide Columns or Rows in Excel
  • Count cells that contain errors in Excel
  • Subtotal by color in Excel
  • List sheet names with formula in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning