Count cells that contain numbers.
The COUNT function counts only cells containing numeric values in a range. Its syntax is =COUNT(range). It ignores blank cells and text cells—unlike COUNTA, which counts all non-empty cells.
Count how many cells contain numbers in the range A1:A6 and place the result in B1.
Click cell B1, type your formula and press Enter.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| Values | Numeric Count | ||||
| 1 |
61
|
||||
| 2 |
103
|
||||
| 3 |
187
|
||||
| 4 |
25
|
||||
| 5 |
162
|
||||
| 6 |
177
|
||||
| 7 |