Excel DCOUNT Function
How to use the DCOUNT Function
This Excel tutorial explains how to use the Excel DCOUNT function with syntax and examples.
The Excel DCOUNT function Count all numbers values in a field (column) of datatable or database, based on a given conditions.
- The formula =DCOUNT(D7:G14,"Price",D4:E5) would return 2 numeric value.
- The formula =DCOUNT(D7:G14,2,D4:E5) would return 2 numeric value.
To Get the count of total numeric value based on given Criteria.
The DCOUNT function returns a Numeric value.
=DCOUNT(database, field, criteria)
The DCOUNT function syntax has the following arguments:
- database: Required. The range of cells that makes up the list or database including data headers.
- field: Required. The table header name or index number of header.
- criteria: Required. The range of cells that contains your criteria including data headers.
- The database argument is a range of cells that includes field headers.
- The criteria can include a variety of expressions, including some wildcards.
- The DCOUNT function supports wildcards in criteria.
- The Criteria can include more than one row.
- The database and criteria ranges must include matching headers.