- Advanced Excel Functions Tutorial
- Advanced Excel Functions - Home
- Compatibility Functions
- Advanced Excel Functions - Cube
- Database Functions
- Date & Time Functions
- Engineering Functions
- Financial Functions
- Information Functions
- Advanced Excel Functions - Logical
- Lookup & Reference Functions
- Math & Trignometric Functions
- Statistical Functions
- Useful Resources
- Quick Guide
- Useful Resources
- Discussion
Advanced Excel Statistical - COUNT Function
Description
The COUNT Function counts the number of cells that contain numbers, and counts numbers within the list of arguments. Use the COUNT function to get the number of entries in a number field that is in a range or array of numbers.
Syntax
COUNT (value1, [value2] ...)
Arguments
Argument | Description | Required/ Optional |
---|---|---|
value1 | The first item, cell reference, or range within which you want to count numbers. | Required |
value2, ... | Up to 255 additional items, cell references, or ranges within which you want to count numbers. | Optional |
Notes
The arguments can contain or refer to a variety of different types of data, but only numbers are counted.
Arguments that are numbers, dates, or Time are counted.
Logical values and text representations of numbers that you type directly into the list of arguments are counted.
Arguments that are error values or text that cannot be translated into numbers are not counted.
If an argument is an array or reference, only numbers in that array or reference are counted. Empty cells, logical values, text, or error values in the array or reference are not counted.
If you want to count logical values, text, or error values, use the COUNTA function.
If you want to count only numbers that meet certain criteria, use the COUNTIF Function or the COUNTIFS function.
Applicability
Excel 2007, Excel 2010, Excel 2013, Excel 2016