Returns the average of values in a column that meet the specified criteria.
Syntax
database: The data range to process. E.g. A1:C9
field: The column in database range to examine. Can be the name of the column label or the cell reference for the same. E.g. "Weight"
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 |
|
=DAVERAGE(A1:C9;"Weight";H1:I2) |
39.666666667 |
|
=DAVERAGE(A1:C9;"Weight";H1:H3) |
32 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
|
#DIV/0! |
|
Similar Functions