Hitung catatan yang cocok dalam database
=DCOUNT(database, [field], criteria)
| Parameter | Deskripsi |
|---|---|
database |
Database range including headers. |
field |
[optional] Field name or index to count. |
criteria |
Criteria range including headers. |
Using the example above, you can count records where the color is "red" and price is > 10 with these formulas:
=DCOUNT(B7:E14,"Total",B4:E5) // field by name
=DCOUNT(B7:E14,4,B4:E5) // field by index
=DCOUNT(B7:E14,,B4:E5) // field omitted