COUNT and COUNTA in Excel: Count Cells Quickly

July 10, 2026

COUNT and COUNTA in Excel: Count Cells Quickly

Counting is a fundamental task in any spreadsheet. How many orders came in this week? How many employees are in the list? How many cells have data? Excel offers a family of COUNT functions for different counting scenarios — here is how each one works.

COUNT — Count Cells with Numbers

COUNT counts only cells that contain numbers. Syntax: =COUNT(A1:A100). Empty cells, text, and logical values (TRUE/FALSE) are ignored. Use COUNT when you want to know how many numeric entries exist in a range — for example, how many sales figures have been entered.

COUNTA — Count All Non-Empty Cells

COUNTA counts any cell that is not empty, regardless of content — numbers, text, dates, logical values. Syntax: =COUNTA(A1:A100). Use COUNTA to count how many rows in a list have any data at all, or to count entries in a text-based column like names or statuses.

COUNTBLANK — Count Empty Cells

COUNTBLANK counts the empty cells in a range. Syntax: =COUNTBLANK(A1:A100). Useful for identifying how many records are incomplete — for example, how many rows are missing a phone number or email address.

COUNTIF — Count with a Condition

COUNTIF counts only the cells that meet a specific condition. Syntax: =COUNTIF(range, criteria). Example: =COUNTIF(B1:B100, Pending) counts how many cells in column B contain the word Pending. The criteria can be a value, text, comparison, or wildcard.

COUNTIFS — Multiple Conditions

COUNTIFS extends COUNTIF to support multiple conditions. Example: =COUNTIFS(A1:A100, North, B1:B100, Closed) counts rows where column A says North AND column B says Closed. You can add as many condition pairs as needed.

Practical Example

In a customer list: use COUNTA to count total customers, COUNTIF to count customers with status Active, COUNTIF again for Inactive, and COUNTBLANK to find customers with missing email addresses. Four formulas give you a complete picture of your data quality.

Back to Blog