
Count how many cells contain numbers. Useful when you only want a tally of numeric entries.
COUNT returns how many cells contain numbers. It does not count text entries or blank cells when those values come from a worksheet range.
This makes it useful when you only care about numeric data. If a column mixes prices, notes, blanks, and statuses, COUNT tells you how many real numeric entries are there without needing to filter the list first.
Returns how many numeric values exist in the selected data.
Returns a numeric count of the cells or values that qualify as numbers.
=COUNT(value1, [value2], ...)
You can use ranges, individual cells, typed values, or a mix of them. Excel supports up to 255 arguments.
| Function | What it counts | Use it when |
|---|---|---|
COUNT |
Numbers only | You want only numeric entries |
COUNTA |
Any non-empty cell | You want to count everything that is filled in |
COUNTBLANK |
Blank cells | You want to count missing entries |
COUNTIF |
Cells matching a condition | You want a filtered count based on a rule |
The main thing to remember is that COUNT is only interested in numbers. That includes ordinary numeric entries, dates, and times because Excel stores those as numbers too. If a cell contains text like "Pending", COUNT ignores it.
Microsoft also notes an important difference between typed arguments and worksheet references. If you type logical values or text representations of numbers directly in the argument list, Excel can count them. But when COUNT evaluates a range or reference, it counts only numeric cells and ignores text, logical values, and blanks in that range.
This is why COUNT is a good quick check before doing other calculations. If you expect ten numeric results but COUNT returns seven, you know some cells still contain something else.
This is the basic use case. Excel scans the range and counts only the cells that contain numbers.
=COUNT(B1:B10) // Returns how many cells in the range are numeric.
Count how many sales numbers are in B1:B10. Formula: =COUNT(B1:B10).
Here the formula mixes numbers and text directly. COUNT still returns only the numeric total.
=COUNT(10,"Hello",20,30) // Returns 3.
Count how many numbers are in 10, "Hello", 20, and 30. Formula: =COUNT(10,"Hello",20,30).
This is useful when a column contains scores, notes, and blanks together.
=COUNT(B1:B10) // Counts only the numeric cells in the range.
Count only the numeric cells in B1:B10. Formula: =COUNT(B1:B10).
If you want to know how many numeric records are ready for analysis, COUNT is a simple way to check.
=COUNT(B1:B10) // Returns the number of numeric records in the range.
Find out how many numeric records are in B1:B10. Formula: =COUNT(B1:B10).
COUNTA instead.COUNTIF or COUNTIFS when you need conditions.Tell your friends about this post