Difference between revisions of "Manuals/calci/COUNTA"
Jump to navigation
Jump to search
Line 50: | Line 50: | ||
| class=" " | Row1 | | class=" " | Row1 | ||
| class="sshl_f" | Sales | | class="sshl_f" | Sales | ||
− | | class="sshl_f" | | + | | class="sshl_f" | 4 |
| class="sshl_f" | | | class="sshl_f" | | ||
| class="sshl_f" | | | class="sshl_f" | | ||
|- class="even" | |- class="even" | ||
| class=" " | Row2 | | class=" " | Row2 | ||
− | | class="sshl_f" | | + | | class="sshl_f" | 23/8/2009 |
− | | class="sshl_f" | | + | | class="sshl_f" | 3 |
| class="sshl_f SelectTD SelectTD" | | | class="sshl_f SelectTD SelectTD" | | ||
<div id="2Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" title="Click and Drag over to AutoFill other cells."></div> | <div id="2Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" title="Click and Drag over to AutoFill other cells."></div> | ||
Line 68: | Line 68: | ||
|- class="even" | |- class="even" | ||
| Row4 | | Row4 | ||
− | | class="sshl_f" | | + | | class="sshl_f" | 22 |
| class="sshl_f" | | | class="sshl_f" | | ||
| class="sshl_f" | | | class="sshl_f" | | ||
Line 74: | Line 74: | ||
|- class="odd" | |- class="odd" | ||
| class=" " | Row5 | | class=" " | Row5 | ||
− | | class="sshl_f" | | + | | class="sshl_f" | 52.69 |
| class="sshl_f" | | | class="sshl_f" | | ||
| class="sshl_f" | | | class="sshl_f" | | ||
Line 86: | Line 86: | ||
|- class="odd" | |- class="odd" | ||
| class="sshl_f" | Row7 | | class="sshl_f" | Row7 | ||
− | | class="sshl_f" | # | + | | class="sshl_f" | #NUM! |
| class="sshl_f" | | | class="sshl_f" | | ||
| class="sshl_f" | | | class="sshl_f" | |
Revision as of 16:13, 3 November 2013
COUNTA (v1, v2...)
- Where v1, v2…. are arguments.
- COUNTA() returns the count of non-empty cells, and values within the list of arguments.
- Empty cells and text values in the array or reference are ignored.
Description
COUNTA(v1,v2....)
Consider columns A1 to A8 contain 3 numbers. COUNTA(A1:A8) returns 3 as a result.
COUNTA((A1:A8),"SUN",13) returns 5 as a result.
- Arguments can be numbers, dates, text representation of a numbers, logical values, or error values or empty text("").
- Empty cells and text values are not counted.
- COUNT() can be used to count the number of cells of all type of values excluding logical values, text and error values.
- COUNTIF() can be used to count the number of cells that satisfy the given criteria.
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 | 4 | ||
Row2 | 23/8/2009 | 3 | ||
Row3 | 0 | |||
Row4 | 22 | |||
Row5 | 52.69 | 0 | ||
Row6 | TRUE | |||
Row7 | #NUM! |
=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.