

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. The COUNTA function does not count empty cells. For example, if the range contains a formula that returns an empty string, the COUNTA function counts that value. The COUNTA function counts cells containing any type of information, including error values and empty text ( ""). Additional arguments representing the values that you want to count, up to a maximum of 255 arguments. The first argument representing the values that you want to count. The COUNTA function syntax has the following arguments: The COUNTA function counts the number of cells that are not empty in a range. This article describes the formula syntax and usage of the COUNTA function in Microsoft Excel.
