What it does
COUNT counts cells that contain numbers.
Syntax or pattern
=COUNT(value1, [value2], ...)5 practical examples
Count numeric entries
Count how many cells contain numbers.
=COUNT(B2:B100)Text and blanks are ignored.
Count dates
Count date values in a range.
=COUNT(A2:A100)Excel stores dates as numbers, so COUNT counts them.
Count scores entered
Count completed score cells.
=COUNT(Tests[Score])Useful for completion checks.
Count several ranges
Count numeric entries across multiple columns.
=COUNT(B2:B100,D2:D100)Commas let you count multiple areas.
Count numbers after filtering
Use SUBTOTAL for visible numeric rows.
=SUBTOTAL(102,B2:B100)Function 102 counts visible numeric values.
Common mistakes to avoid
- Selecting ranges with different sizes.
- Using text values where numbers are required.
- Forgetting how blanks and hidden rows are treated.
Related Excel examples
FAQ
Can this formula use Excel Tables?
Yes. Structured references often make summary formulas easier to read.
Here are some ideas for you
Optional resources that may help if you are learning formulas, building reports, or working in spreadsheets often.
- Excel formula booksSee ideas
Practice formulas with structured examples you can keep beside your desk.
- Excel shortcut guidesSee ideas
Build speed with keyboard shortcuts for selection, formatting and navigation.
- Numeric keypadsSee ideas
Helpful if you enter many numbers on a laptop or compact keyboard.
- External monitorsSee ideas
Useful for viewing large worksheets, formulas and reference tables side by side.
- Desk notebooksSee ideas
Sketch formula logic, report ideas and table structures before building.
- Laptop standsSee ideas
Make long spreadsheet sessions more comfortable and ergonomic.
Some links in this section may be affiliate links. Choose only what is useful for your own work.