Statistical - COUNTA Function



Description

The COUNTA function counts the number of cells that are not empty in a range.

Syntax

COUNTA (value1, [value2] ...)

Arguments

Argument Description Required/ Optional
value1 The first argument representing the values that you want to count. Required
value2, ... Additional arguments representing the values that you want to count, up to a maximum of 255 arguments. Optional

Notes

  • The COUNTA function counts cells containing any type of information, including error values and empty text ("").

  • The COUNTA function does not count empty cells.

  • If you do not need to count logical values, text, or error values (in other words, if you want to count only cells that contain numbers), use the COUNT function.

  • If you want to count only cells that meet certain criteria, use the COUNTIF function or the COUNTIFS function.

Applicability

Excel 2007, Excel 2010, Excel 2013, Excel 2016

Example

CountA Function
advanced_excel_statistical_functions.htm
Advertisements