Difference between revisions of "Manuals/calci/COUNTA"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
=COUNTA (V1, V2...)=
+
=COUNTA (v1, v2...)=
  
*Where V1, V2….   are arguments.
+
*Where v1, v2….   are arguments.
  
 
*It is used to count the number of cells which contains data in a range.
 
*It is used to count the number of cells which contains data in a range.
Line 10: Line 10:
  
 
== Description ==
 
== Description ==
COUNTA(V1,V2....)
+
COUNTA(v1,v2....)
  
 
<!--
 
<!--

Revision as of 16:57, 3 November 2013

COUNTA (v1, v2...)

  • Where v1, v2….   are arguments.
  • It is used to count the number of cells which contains data in a range.
  • It does not include empty cells but including error values and empty text.
  • Empty cells and text values in the array or reference are ignored.

Description

COUNTA(v1,v2....)

Examples

For better understanding of COUNTA() function, consider the below table that contains different types of data in various columns.

Column1 Column2 Column3 Column4
Row1 Sales 6
Row2 10/10/2009 7
Row3 0
Row4 20
Row5 21.52 0
Row6 TRUE
Row7 #DIV/0!

=COUNTA (A2:A7) : Counts the number of cells that contain numbers in the cells A2 to A7, returns 6 as a result.

=COUNTA (B4:B7, 2) : Counts the number of cells that contain numbers in the cells B4 to B7 and number '2', returns 1 as a result.


See Also

References