DCOUNT Function
Count the cells that contain numbers in a column of a database whose records match conditions. database is the range of the list, including its header row. field is the column to use, as its header text, such as "Value", or as its position in the list, 1 for the first column. criteria is a range with one or more headers of the list and the conditions below them; a record must meet them to be included. A column that holds text counts 0. A field that is not a header of the list returns #VALUE!.
Syntax
DCOUNT(database, field, criteria)
Category: Database. Minimum arguments: 3. Maximum arguments: 3.
Available for supported offline calculation.
Examples
=DCOUNT(D1:E4,"Value",G1:G2)
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.