Returns the average of entries in a database column that match specified conditions.
Hàm này hoạt động trong Google Sheets giống như trong Excel — cùng cú pháp và đối số.
DAVERAGE(database, field, criteria)The DAVERAGE function evaluates records in a database list that meet your criteria and calculates the arithmetic mean. It is particularly useful for performing conditional averages on structured data tables without using complex array formulas.
=DAVERAGE(A1:C10, "Sales", E1:E2)Kết quả: 1500
Calculates the average sales from the database where the criteria in E1:E2 are met.
Yes, you can add more rows to your criteria range to include multiple conditions.