Difference between revisions of "NL/Documentation/How Tos/Calc: functie AANTAL"
From Apache OpenOffice Wiki
< NL | Documentation | How Tos
m |
m (→Probleem:) |
||
Line 22: | Line 22: | ||
{{NL/Documentation/ZieOok| | {{NL/Documentation/ZieOok| | ||
− | * [[NL/Documentation/How_Tos/Calc: functie AANTALARG| | + | * [[NL/Documentation/How_Tos/Calc: functie AANTALARG|AANTALARG]] |
− | * [[NL/Documentation/How_Tos/Calc: functie AANTAL.ALS| | + | * [[NL/Documentation/How_Tos/Calc: functie AANTAL.ALS|AANTAL.ALS]] |
− | * [[NL/Documentation/How_Tos/Calc: functie AANTAL.LEGE.CELLEN| | + | * [[NL/Documentation/How_Tos/Calc: functie AANTAL.LEGE.CELLEN|AANTAL.LEGE.CELLEN]] |
− | * [[NL/Documentation/How_Tos/Calc: functie SOM| | + | * [[NL/Documentation/How_Tos/Calc: functie SOM|SOM]] |
* [[NL/Documentation/How_Tos/Calc: Statistische functies|'''Statistische functies''']] | * [[NL/Documentation/How_Tos/Calc: Statistische functies|'''Statistische functies''']] |
Latest revision as of 15:20, 28 January 2024
AANTAL
Telt het aantal getallen in een lijst met argumenten, waarbij tekstitems worden genegeerd.
Syntaxis:
AANTAL(waarde1; waarde2; ... waarde30)
waarde1 tot en met waarde30 zijn ten hoogste 30 waarden of bereiken die de waarden vertegenwoordigen die moeten worden geteld.
Voorbeeld:
AANTAL(2; 4; 6; "acht")
- geeft 3 terug, omdat 2, 4 en 6 getallen zijn ("acht" is tekst).
AANTAL(B1:B3)
- waarbij de cellen B1, B2, B3 bevatten 1,1; 2,2 en appel, geeft 2 terug.
Probleem:
- De concept ODFF standaard vereist dat getallen als tekst NIET worden geteld. Calc kan overweg met tekst als getallen in cellen, in tegenstelling tot Excel. Echter, AANTAL(4; "4") zal 2 teruggeven, omdat inregelige tekenreeksen naar getallen worden geconverteerd indien mogelijk. Dit wordt beschreven in de ODFF standaard (28dec07) in sectie 2.2 pagina 35.
Zie ook