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

Data Analysis

  • How To Perform and Interpret Regression Analysis in Excel
  • Reverse List in Excel
  • How to calculate average last N values in a table in Excel
  • Randomize/ Shuffle List in Excel
  • How to count table columns in Excel

References

  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • How to use Excel MATCH Function
  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • How to use Excel ROW Function
  • How to use Excel VLOOKUP Function

Data Validations

  • How To Create Drop-down List in Excel
  • Excel Data validation allow uppercase only
  • Prevent invalid data entering in specific cells
  • Excel Data validation must not contain
  • Excel Data validation must contain specific text

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

  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel XOR Function
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • Extract multiple matches into separate rows in Excel
  • Not Equal To ‘<>‘ operator in Excel

Date Time

  • Get days, months, and years between dates in Excel
  • How to calculate working days left in month in Excel
  • How to enter Today’s Date or Static Date and Time in Excel
  • WEEKDAY function: Description, Usage, Syntax, Examples and Explanation
  • DATE function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • How to randomly assign people to groups in Excel
  • If cell contains one of many things in Excel
  • Group times into unequal buckets in Excel
  • Map text to numbers in Excel
  • Group arbitrary text values in Excel

General

  • Hide and Unhide Columns or Rows in Excel
  • Subtotal by color in Excel
  • Count cells that do not contain errors in Excel
  • How to Create Calendar in Excel
  • Count cells less than in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning