DCOUNT()

Syntax. DCOUNT(database,field,criteria)

Definition. This function counts the number of records containing numbers in the field column that match the specified conditions.

Arguments

  • database (required) The cell range that identifies the list or database.

  • field (optional) Indicates which column is used in the function. Enter the column label enclosed in quotation marks, such as “country/region”, “sales”, or “company”. You can also enter a number that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.

  • criteria (required) The cell range containing the field names and the filter criteria. You can use any range for the criteria argument as long as the argument includes at least one ...

Get Microsoft® Excel® 2010 Formulas & Functions Inside Out now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.