DAVERAGE Function in Excel: Average With a Criteria Table

⏱ 1 min readUpdated 28 September 2026

DatabaseLevel: ExpertAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Related functions

DAVERAGE averages a column for rows that meet the criteria range.

Syntax

=DAVERAGE(database, field, criteria)
Argument What it means
criteria A small criteria range: header row copied from the data, conditions in the rows below. Same row = AND, separate rows = OR.

Examples

Example 1

=DAVERAGE(A1:F500, "Days to Pay", H1:I2)

Average payment days for one customer type in one region.

AVERAGEIFS · DSUM

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong