Learning Excel: AANTAL (COUNT)
Tellen wat er is
"Hoeveel percelen zijn er eigenlijk verhuurd?" Ria telt op haar vingers en komt telkens op iets anders uit. Excel telt beter, als je de juiste functie kiest.
Getallen tellen
AANTAL telt hoeveel cellen in een bereik een getal bevatten. Het telt niet op, het telt.
=AANTAL(D2:D11) geeft 8: acht percelen hebben een tomatenoogst. De lege cellen tellen niet mee.
=COUNT(D2:D11)
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Perceel | Huurder | m² | Tomaten (kg) | Courgettes (kg) | Bonen (kg) | |||
| 2 | P01 | Mieke | 50 | 18.40 | 9.20 | 4.50 | 8.00 | ||
| 3 | P02 | Karim | 25 | 7.90 | 2.10 | ||||
| 4 | P03 | Annelies | 50 | 21.60 | 12.80 | 6.30 | |||
| 5 | P04 | 25 | |||||||
| 6 | P05 | Ward | 75 | 30.20 | 15.50 | 8.80 | |||
| 7 | P06 | Sofie | 25 | 6.50 | 4.10 | ||||
| 8 | P07 | Bart | 50 | 15.70 | 10.30 | 5.20 | |||
| 9 | P08 | Fatima | 75 | 27.90 | 18.60 | 9.40 | |||
| 10 | P09 | Luc | 25 | 3.80 | 1.90 | ||||
| 11 | P10 | Jolien | 50 | 19.30 | 11.10 | 5.70 | |||
| 12 | Gemiddelde | ||||||||
| 13 | Hoogste | ||||||||
| 14 |
Alles tellen, of wat leeg is
AANTAL telt alleen getallen. Wil je ook tekst meetellen, gebruik dan AANTALARG: dat telt elke cel die niet leeg is.
AANTAL.LEGE.CELLEN doet het omgekeerde: het telt de lege cellen. =AANTALARG(B2:B11) geeft 9 huurders, want P04 is vrij.
=COUNTA(B2:B11)
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Perceel | Huurder | m² | Tomaten (kg) | Courgettes (kg) | Bonen (kg) | |||
| 2 | P01 | Mieke | 50 | 18.40 | 9.20 | 4.50 | 9.00 | ||
| 3 | P02 | Karim | 25 | 7.90 | 2.10 | ||||
| 4 | P03 | Annelies | 50 | 21.60 | 12.80 | 6.30 | |||
| 5 | P04 | 25 | |||||||
| 6 | P05 | Ward | 75 | 30.20 | 15.50 | 8.80 | |||
| 7 | P06 | Sofie | 25 | 6.50 | 4.10 | ||||
| 8 | P07 | Bart | 50 | 15.70 | 10.30 | 5.20 | |||
| 9 | P08 | Fatima | 75 | 27.90 | 18.60 | 9.40 | |||
| 10 | P09 | Luc | 25 | 3.80 | 1.90 | ||||
| 11 | P10 | Jolien | 50 | 19.30 | 11.10 | 5.70 | |||
| 12 | Gemiddelde | ||||||||
| 13 | Hoogste | ||||||||
| 14 |
In an English Excel
Is your Excel in English? Then the functions have other names, and there is often a comma between the arguments instead of a semicolon.
- AANTAL
- COUNT
- AANTALARG
- COUNTA
- AANTAL.LEGE.CELLEN
- COUNTBLANK
Try it yourself
Hoeveel percelen zijn verhuurd? Tel de huurders in I2.
| A | B | C | D | E | F | G | H | I | J | |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Perceel | Huurder | m² | Tomaten (kg) | Courgettes (kg) | Bonen (kg) | ||||
| 2 | P01 | Mieke | 50 | 18.40 | 9.20 | 4.50 | ||||
| 3 | P02 | Karim | 25 | 7.90 | 2.10 | |||||
| 4 | P03 | Annelies | 50 | 21.60 | 12.80 | 6.30 | ||||
| 5 | P04 | 25 | ||||||||
| 6 | P05 | Ward | 75 | 30.20 | 15.50 | 8.80 | ||||
| 7 | P06 | Sofie | 25 | 6.50 | 4.10 | |||||
| 8 | P07 | Bart | 50 | 15.70 | 10.30 | 5.20 | ||||
| 9 | P08 | Fatima | 75 | 27.90 | 18.60 | 9.40 | ||||
| 10 | P09 | Luc | 25 | 3.80 | 1.90 | |||||
| 11 | P10 | Jolien | 50 | 19.30 | 11.10 | 5.70 | ||||
| 12 | Gemiddelde | |||||||||
| 13 | Hoogste | |||||||||
| 14 |
Ready for more?
The full lesson has 5 exercises, from easy to challenging, with hints, points and a streak you can build.
Start the lesson