Difference between revisions of "Documentation/How Tos/Calc: COUNTA function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(initial content) |
m |
||
(15 intermediate revisions by 7 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 10: | Line 15: | ||
=== Example: === | === Example: === | ||
− | |||
− | |||
− | |||
− | + | <tt>'''COUNTA(B1:B3)'''</tt> | |
− | + | ||
− | + | ||
− | + | : where cells <tt>'''B1'''</tt>, <tt>'''B2'''</tt>, <tt>'''B3'''</tt> contain <tt>'''1.1'''</tt>, <tt>'''=NA()'''</tt>, <tt>'''apple'''</tt> returns <tt>'''3'''</tt>, because none of the cells in <tt>'''B1:B3'''</tt> are empty. | |
− | + | ||
− | + | ||
− | + | <tt>'''COUNTA(2; 4; "dog")'''</tt> | |
+ | : returns <tt>'''3'''</tt>, because <tt>'''2'''</tt>, <tt>'''4'''</tt> and <tt>'''"dog"'''</tt> are all numbers or text. | ||
− | + | <tt>'''COUNTA(D1)'''</tt> | |
− | '''[[Documentation/How_Tos/Calc: COUNT function|COUNT | + | : 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|COUNT]] | ||
+ | * [[Documentation/How_Tos/Calc: COUNTIF function|COUNTIF]] | ||
+ | * [[Documentation/How_Tos/Calc: COUNTBLANK function|COUNTBLANK]] | ||
+ | * [[Documentation/How_Tos/Calc: SUM function|SUM]] | ||
+ | |||
+ | * [[Documentation/How_Tos/Calc: DCOUNTA function|DCOUNTA]] | ||
+ | |||
+ | * [[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]] | ||
+ | [[nl:NL/Documentation/How_Tos/Calc:_functie_AANTALARG]] |