How to Use DAVERAGE Function in Excel + Tips (Video in Khmer)
Learn how to use DAVERAGE function in Excel step-by-step to find the average numbers in a table database matching specific conditions.
Hello everyone! Today i will show you how to use DAVERAGE function in Excel step by step.
What is DAVERAGE Function in Excel?
The DAVERAGE function is a Database formula in Microsoft Excel that help you calculate the average number in a column of a table or database that match specific criteria you set in a criteria range.
Unlike standard AVERAGE function, DAVERAGE use a separate criteria table header range, which make complex filtering and condition setup very easy to set up!
š Related Tutorial: Prefer standard conditional average formulas? Check out AVERAGEIF vs AVERAGEIFS in Excel: Easy Guide!
š ļø Formula Syntax
=DAVERAGE(database, field, criteria)
database: The full range of cells including column header titles (example:A1:C6).field: The column name in quotes (example:"Sales") or column index number (example:3) you want to average.criteria: The cell range containing your header titles and condition rules (example:E1:F2).
š Sample Data Table (Follow Along)
To test DAVERAGE easily, create this main database table in cell range A1:C6:
| Row | Column A (Salesperson) | Column B (Region) | Column C (Sales) |
|---|---|---|---|
| 1 | Salesperson | Region | Sales |
| 2 | Sok | North | $500 |
| 3 | Dara | South | $700 |
| 4 | Lina | North | $800 |
| 5 | Sam | South | $600 |
| 6 | Sopheap | North | $400 |
Criteria Table Setup (Range E1:F2)
Create your criteria box in cell range E1:F2 with identical headers:
| Row | Column E (Region) | Column F (Salesperson) |
|---|---|---|
| 1 | Region | Salesperson |
| 2 | North |
š Simple Examples
Example 1: Average Sales for North Region
In criteria box E1:F2, put "North" under Region (Cell E2):
=DAVERAGE(A1:C6, "Sales", E1:F2)
Calculation: ($500 + $800 + $400) / 3
š Result: $566.67
Example 2: DAVERAGE with AND Condition (North Region AND Sales > 500)
Set Criteria Range E1:F2:
- Cell
E2(Region) ="North" - Cell
F2(Sales) =">500"
Formula:
=DAVERAGE(A1:C6, "Sales", E1:F2)
š Result: $800 (Matches Lina only: $800 / 1).
Example 3: DAVERAGE with OR Condition (North Region OR South Region)
Set Criteria Range E1:E3 (Using 2 rows):
- Cell
E2="North" - Cell
E3="South"
Formula:
=DAVERAGE(A1:C6, "Sales", E1:E3)
Calculation: ($500 + $700 + $800 + $600 + $400) / 5
š Result: $600 (Average of all sales).
ā” DAVERAGE vs AVERAGEIFS Comparison
| Feature | DAVERAGE | AVERAGEIFS |
|---|---|---|
| Criteria Source | Separate cell range with column headers | Written directly inside formula |
| Complex OR Logic | Super Easy (Add multiple criteria rows) | Can get long and hard to read |
| Excel Version | Supported in all Excel versions | Available in Excel 2019, 365, & newer |
š¹ Video How to Use DAVERAGE Function in Excel in Khmer
š¹ Video How to Use AVERAGE Function in Excel in Khmer
š” Quick Tips for DAVERAGE Function
- Headers Must Match Exactly: Column headers in your criteria box (like
"Region") must match your main database headers exactly!- Avoid Empty Criteria Rows: If your criteria range includes an empty blank row,
DAVERAGEwill calculate average of ALL rows in your database!- Non-Numeric Cells Ignored:
DAVERAGEautomatically ignores text and blank cells when calculating average value.- Use Column Index Number: Instead of typing text
"Sales", you can use column index number3(example:=DAVERAGE(A1:C6, 3, E1:F2)).
š Useful Resources
Related Tutorials
Opens in new tab āHow to Use COUNTIF and COUNTIFS Function in Excel (Video in Khmer)
Learn how to use COUNTIF and COUNTIFS function in Excel step-by-step with simple examples and videos in Khmer.
How to Use DSUM Function in Excel + Tips (Video in Khmer)
Learn how to use DSUM function in Excel step-by-step to sum numbers in a table database matching specific conditions.
How to Use DMIN and DMAX Function in Excel + Tips (Video in Khmer)
Learn how to use DMIN and DMAX function in Excel step-by-step to find the minimum and maximum numbers in a table database matching specific conditions.