# Excel COUNT Function

The Excel COUNT function returns a count of values that are numbers. Numbers include negative numbers, percentages, dates, times, fractions, and formulas that return numbers. Empty cells and text values are ignored.

*value1*- An item, cell reference, or range.*value2*- [optional] An item, cell reference, or range.

The COUNT function returns the count of numeric values in the list of supplied arguments. COUNT takes multiple arguments in the form *value1*, *value2*, *value3*, etc. Arguments can be individual hardcoded values, cell references, or ranges up to a total of 255 arguments. All numbers are counted, including negative numbers, percentages, dates, times, fractions, and formulas that return numbers. Empty cells and text values are ignored.

### Examples

The COUNT function counts numeric values and ignores text values:

Typically, the COUNT function is used on a range. For example, to count numeric values in the range A1:A10:

=COUNT(A1:A100) // count numbers in A1:A10

In the example shown, COUNT is set up to count numbers in the range B5:B15:

=COUNT(B5:B15) // returns 6

COUNT returns 6, since there are 6 numeric values in the range B5:B15. Text values and blank cells are ignored. Note that dates and times are numbers, and therefore included in the count.

The COUNTA function works like the COUNT function, but COUNTA includes numbers and text in the count.

### Functions for counting

- To count numbers only, use the COUNT function.
- To count numbers and text, use the COUNTA function.
- To count with one condition, use the COUNTIF function
- To count with multiple conditions, use the COUNTIFS function.
- To count empty cells, use the COUNTBLANK function.

### Notes

- COUNT can handle up to 255 arguments.
- COUNT ignores the logical values TRUE and FALSE.
- COUNT ignores text values and empty cells.

## Download 100+ Important Excel Functions

Get over 100 Excel Functions you should know in one handy PDF.