Counts the cells containing numbers in a column that meet the specified criteria.
Syntax
criteria: The range containing the conditions to evaluate. E.g. J1:J2
Remarks
If you wish to perform the operation on the entire column, you can provide a blank cell as the criteria below the column labels.
Examples
|
Formula |
Result |
|
=DCOUNT(A1:D9;"Age";J1:J2) |
4 |
|
=DCOUNT(A1:D9;C1;K1:K3) |
2 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
Similar Functions