The Excel function: DAVERAGE
Description
Averages the values in a field (column) of records in a list or database that match conditions you specify.
Averages the values in a field (column) of records in a list or database that match conditions you specify.