==DAVERAGE(database,fiel, [crietria])
=DAVERAGE(B7:E14,"Price",B4:E5)
The DAVERAGE() function can be used to calculate the average value of a specific field from a range of data. This is an example of the DAVERAGE() function that returns the average value from the field "Price" of all items in the inventory of colors "red" and quantity > 2.
=DAVERAGE(B7:E14,"Price",B4:E5,"Color","Blue")
The DAVERAGE() function can also be used to calculate the average value of a specific field from a filtered range of data. The formula above is an example of the DAVERAGE() function that returns the average value from the field "Price" of all items in the inventory of color "blue".
=DAVERAGE(B7:E14,"Price",B4:E5,"Color","Blue","Size","Large")
The DAVERAGE() function can be used to calculate the average value of a specific field from a range of data with multiple criteria. This an example of the DAVERAGE() function that returns the average value from the field "Price" of all items in the inventory of color "blue" and size "large".
The DAVERAGE function is a worksheet function used to calculate the average of numbers by using given criteria. It works with lists or databases and can be part of a formula in a worksheet.