Skip to content

DCOUNT

DatabaseExcel 2007

Count records with a numeric field that match the criteria.

Syntax

DCOUNT(database, field, criteria)

Examples

=DCOUNT(A1:F500, "Amount", H1:I2)

Related functions

More Database functions

← All 510 functions

Syntax follows Microsoft’s documentation. Examples are written to be pasted into a cell and checked. Argument separators may be ; in your locale. The AI explainer runs on a free community model — verify anything important.