Startseite Β» Excel EN Β» DAVERAGE Excel: Calculate Conditional Averages from Database Tables

DAVERAGE Excel: Calculate Conditional Averages from Database Tables

If you’re working with structured tables or database-style records in Excel, the DAVERAGE function is a game-changer πŸ“Š. It allows you to calculate the average of a specific field in your dataset β€” but only for the rows that meet defined criteria. Whether you’re analyzing sales, survey data, or inventory levels, DAVERAGE helps filter and calculate exactly what you need. In this guide, you’ll learn how to use DAVERAGE in Excel, with keyboard shortcuts for Windows, macOS, and Ubuntu/Linux to streamline your workflow ⌨️.


🧠 What Is DAVERAGE in Excel?

The DAVERAGE function is part of Excel’s Database Functions. It calculates the average of values in a column (field) that meet criteria you define β€” acting like a filtered AVERAGE function.

🎯 It’s best for:

  • πŸ“¦ Product or inventory data
  • 🧾 Financial records
  • πŸ“‹ Survey results
  • πŸ“Š Any dataset organized in rows with headers

πŸ’‘ Unlike AVERAGEIFS, DAVERAGE allows more flexible criteria, including multiple conditions and wildcard support.


βœ… Syntax of DAVERAGE

=DAVERAGE(database, field, criteria)
ArgumentDescription
databaseThe range of cells that make up the database (with headers) πŸ“‹
fieldThe column to average (can be column label in quotes or number)
criteriaThe range that contains the filtering criteria with headers πŸ“‘

βœ… Returns: The average of the selected field, based on the matching criteria.


βœ… Example: Average Sales of Region “West”

Suppose you have this database in A1:C10:

RegionSalesRep
West500Alice
East400Bob
West700Carol
East600Dave

And this criteria table in E1:E2:

Region
West
=DAVERAGE(A1:C10, "Sales", E1:E2)

βœ… Result: 600 β†’ (500 + 700) / 2

πŸ“Œ You can also use column numbers like 2 instead of "Sales".


πŸ“‹ When to Use DAVERAGE

Use CaseBenefit of Using DAVERAGE
Sales reportsAverage performance by region, rep, or product
Inventory controlFilter and calculate average stock levels
Survey analysisAverage responses by demographic
Financial modelingCalculate average spend per category
Academic gradingFind average scores by subject or student group

🎯 Ideal when you’re using criteria tables or filtering with multiple logical conditions.


⌨️ Keyboard Shortcuts for DAVERAGE Workflows

ActionWindowsmacOSUbuntu/Linux (LibreOffice Calc)
Start formula===
Insert Function DialogShift + F3Shift + F3Ctrl + F2
Auto-fill downCtrl + DCmd + DCtrl + D
Edit formulaF2Ctrl + UF2
Insert today’s dateCtrl + ;Cmd + ;Ctrl + ;

πŸ“Œ Shift + F3 opens the Function Arguments Wizard, where you can select database, field, and criteria visually.


🐧 DAVERAGE in Ubuntu/Linux (LibreOffice Calc)

LibreOffice Calc supports DAVERAGE:

=DAVERAGE(A1:C10; "Sales"; E1:E2)

βœ… Uses semicolons (;) instead of commas (depending on locale).

⚠️ Field names must exactly match column headers, including case and spacing.


🧯 Troubleshooting DAVERAGE Errors

ProblemFix
#VALUE! errorMake sure the field matches an exact header or use a number
#NAME? errorTypo in function name or unrecognized range
Incorrect averageDouble-check that the criteria range includes a header row
No resultNo rows match the criteria β€” revise your filter
Too many conditionsEnsure multiple criteria are placed in separate rows/columns properly

πŸ’¬ Pro Tips for Power Users

  • You can use wildcards in criteria: *West* will match “Northwest”, “Southwest”, etc.
  • Criteria ranges can include formulas like >500 or <>East
  • Use helper columns to add complex conditions (e.g., combine Region & Sales)

❓ Frequently Asked Questions (FAQs)

What does DAVERAGE do in Excel?
It calculates the average of a column in a dataset based on given criteria.

Can I use multiple conditions in DAVERAGE?
Yes β€” place them in separate rows or columns under appropriate headers in your criteria range.

How is DAVERAGE different from AVERAGEIFS?
DAVERAGE uses a separate criteria table, allowing more dynamic and flexible filtering.

Can I reference the field with a column number?
Yes β€” use 2 for the second column, 3 for the third, etc.

Does DAVERAGE ignore empty cells?
Yes β€” it averages only non-empty cells that meet the condition.


βœ… Conclusion: Filter and Average Smarter with DAVERAGE

The DAVERAGE Excel function is a powerful tool for anyone who works with structured data or needs to perform conditional averages with flexibility. Whether you’re analyzing sales by region, inventory by product type, or survey results by age group, DAVERAGE helps you get precise, criteria-based insights β€” with support across Windows, macOS, and Ubuntu/Linux.

Complete List of Windows Keyboard Shortcuts

If you need help for Windows, you can find a whole list of all keyboard shortcuts here.

https://keyboard-shortcuts.org/

Advertisment