Difference between revisions of "Documentation/How Tos/Calc: COUNTA function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m |
|||
| (9 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
| − | __NOTOC__ | + | {{DISPLAYTITLE:COUNTA function}} |
| + | {{Documentation/CalcFunc StatisticalTOC | ||
| + | |ShowPrevNext=block | ||
| + | |PrevPage=Documentation/How_Tos/Calc:_COUNT_function | ||
| + | |NextPage=Documentation/How_Tos/Calc:_GEOMEAN_function | ||
| + | }}__NOTOC__ | ||
== COUNTA == | == COUNTA == | ||
| Line 21: | Line 26: | ||
: where cell <tt>'''D1'''</tt> contains <tt>'''=""'''</tt>, returns <tt>'''1'''</tt>, because <tt>'''""'''</tt> is a string (although of zero length). | : where cell <tt>'''D1'''</tt> contains <tt>'''=""'''</tt>, returns <tt>'''1'''</tt>, because <tt>'''""'''</tt> is a string (although of zero length). | ||
| − | + | {{SeeAlso|EN| | |
| − | [[Documentation/How_Tos/Calc: COUNT function| | + | * [[Documentation/How_Tos/Calc: COUNT function|COUNT]] |
| − | [[Documentation/How_Tos/Calc: COUNTIF function| | + | * [[Documentation/How_Tos/Calc: COUNTIF function|COUNTIF]] |
| − | [[Documentation/How_Tos/Calc: COUNTBLANK function| | + | * [[Documentation/How_Tos/Calc: COUNTBLANK function|COUNTBLANK]] |
| − | [[Documentation/How_Tos/Calc: SUM function| | + | * [[Documentation/How_Tos/Calc: SUM function|SUM]] |
| − | [[Documentation/How_Tos/Calc: DCOUNTA function| | + | * [[Documentation/How_Tos/Calc: DCOUNTA function|DCOUNTA]] |
| − | [[Documentation/How_Tos/Calc: Statistical functions| | + | * [[Documentation/How_Tos/Calc: Statistical functions|Statistical functions]] |
| + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
| + | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
| + | [[Category: Documentation/Reference/Calc/Statistical functions]] | ||
[[fr:Documentation/FR/Calc:Fonction NBVAL]] | [[fr:Documentation/FR/Calc:Fonction NBVAL]] | ||
| + | [[nl:NL/Documentation/How_Tos/Calc:_functie_AANTALARG]] | ||
Latest revision as of 13:19, 2 February 2024
Spreadsheet Lookup functions
Measures of dispersion / spread
Probability and statistics
Correlation and line fitting
See also (in the Arrays Functions category); GROWTH, LINEST, LOGEST, TREND
Ranking
COUNTA
Counts the non-empty values in the list of arguments.
Syntax:
COUNTA(value1; value2; ... value30)
value1 to value30 are up to 30 values or ranges representing the values to be counted.
Example:
COUNTA(B1:B3)
- where cells B1, B2, B3 contain 1.1, =NA(), apple returns 3, because none of the cells in B1:B3 are empty.
COUNTA(2; 4; "dog")
- returns 3, because 2, 4 and "dog" are all numbers or text.
COUNTA(D1)
- where cell D1 contains ="", returns 1, because "" is a string (although of zero length).
See Also