This Excel tutorial explains how to use the Excel COUNTA function with syntax and examples.
The Microsoft Excel COUNTA function counts the number of cells that are not empty as well as the number of arguments that contain values.
The syntax for the COUNTA function in Microsoft Excel is:
COUNTA( argument1, [argument2, ... argument_n] )
The COUNTA function can be used in the following versions of Microsoft Excel:
The COUNTA function can be used in Microsoft Excel as the following type of function:
Let's look at some Excel COUNTA function examples and explore how to use the COUNTA function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following COUNTA examples would return:
=COUNTA(A1:A6) Result: 5 =COUNTA(A1:A6, 129) Result: 6 =COUNTA(A1:A6, 129, "techonthenet") Result: 7 =COUNTA(A1:A6, 129, "techonthenet", -2) Result: 8
(scroll to see more)