DAVERAGE function

Category: Database
Introduced: Excel 2003

Summary

Returns the average of selected database entries

Syntax

DAVERAGE(database, field, criteria) The DAVERAGE function syntax has the following arguments:
• Database is the range of cells that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.
• Field indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.
• Criteria is the range of cells that contains the conditions you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one cell below the column label in which you specify a condition for the column.

Example

=Apple
=Pear
=DAVERAGE(A4:E10, "Yield", A1:B2)
=DAVERAGE(A4:E10, 3, A4:E10)
=''= entry ''
="=Davolio"
=Davolio
=Buchanan
=Produce
=?u*
=C7>AVERAGE($C$7:$C$10)
=EXACT(A7, "Produce")

Microsoft Support Page

https://support.microsoft.com/en-us/office/daverage-function-a6a2d5ac-4b4b-48cd-a1d8-7b37834e5aee

Back to Functions