COUNT function
Excel COUNT Function
Summary
The Excel COUNT function returns the count of values that are numbers generally cells that contain numbers. Values can be supplied as constants, cell references or ranges.
Purpose
Count numbers Return value Count of numeric values
Syntax
=COUNT (value1, [value2], ...)
Arguments
• value1 - An item, cell reference or range.
• value2 - [optional] An item, cell reference or range.
Usage notes
The COUNT function returns the count of numeric values in the list of supplied arguments. Arguments can be individual items, cell references or ranges up to a total of 255 arguments. All numbers including negative values, percentages, dates, fractions and time are counted. Empty cells and text values are ignored.
The result will be
This function also ignore Blank cells
The example below shows COUNT with 4 values. Three of the values are numbers, one is text so COUNT returns 3 because text is ignored in COUNT function.
Notes
• COUNT can handle up to 255 arguments.
• COUNT ignores the logical values TRUE and FALSE.
• COUNT ignores text values and empty cells.
Excel COUNT formula example
To count several non-contiguous ranges supply all of them to
your Excel COUNT formula. For example, to count cells with numbers in columns A
and F you can use formula like this:
=COUNT(A2:A4, F2:F7)
Things to remember
Below are the two simple rules by
which the Excel COUNT function works:
1. If an argument(s) of an Excel
Count formula is a cell reference or range only numbers, dates and times are
counted. Blanks cells and cells containing anything but not a numeric value are
ignored.
2. If you type values directly
into the Excel COUNT arguments the following values are counted: numbers,
dates, times, Boolean values (TRUE and FALSE) and text representation of
numbers (i.e. a number enclosed in quotation marks like "5").
Comments
Post a Comment