Counts the non-empty cells in a column that meet the specified criteria.
Syntax
database: The data range to process. E.g. A1:D9
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 |
|
=DCOUNTA(A1:D9;"Gender";I1:I2) |
4 |
|
=DCOUNTA(A1:D9;"Name";I1:J3) |
2 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
Similar Functions