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

Data Analysis

  • Chart Axes in Excel
  • How to combine 2 or more chart types in a single chart in Excel
  • How to Create One and Two Variable Data Tables in Excel
  • How To Insert and Customize Sparklines in Excel
  • Excel Bar Chart

References

  • Basic INDEX MATCH approximate in Excel
  • Merge tables with VLOOKUP in Excel
  • Last row number in range
  • Extract all partial matches in Excel
  • To count total rows in a range in Excel

Data Validations

  • Excel Data validation whole percentage only
  • Excel Data validation only dates between
  • Excel Data validation require unique number
  • Excel Data validation allow weekday only
  • Excel Data validation date in specific year

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

  • Excel If, Nested If, And/Or Criteria Examples
  • How to use IFS function in Excel
  • SWITCH function example in Excel
  • How to use Excel NOT Function
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get first day of month in Excel
  • Convert date to month and year in Excel
  • Add years to date in Excel
  • DATE function: Description, Usage, Syntax, Examples and Explanation
  • Convert time to time zone in Excel

Grouping

  • How to randomly assign people to groups in Excel
  • Group times into unequal buckets in Excel
  • Group arbitrary text values in Excel
  • Group numbers at uneven intervals in Excel
  • Map inputs to arbitrary values in Excel

General

  • How to count total columns in range in Excel
  • Automatically fill series of cells in Excel using AutoFill
  • Check if multiple cells have same value in Excel
  • Basic numeric sort formula in Excel
  • Hide and Unhide Columns or Rows in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning