Google Sheets DAVERAGE Function: Syntax, Examples & Tips

The DAVERAGE function calculates the average of a specified column in a database that meets given criteria.
Google Sheets
DAVERAGE(database, field, criteria)

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

On this page
  1. Parameters
  2. What is a DAVERAGE?
  3. A Practical Example
  4. DAVERAGE Formula
  5. Result of the Formula
  6. Why Use DAVERAGE?
  7. Key Takeaways:
  8. Example use case

Parameters

database:
The range of cells that contains the data you want to average. This range should include the headers for each column.

field:
The column label or index number that specifies which column in the database you want to average. This can be a text string (the header name) or a number (the position of the column in the database).

criteria:
The range of cells that contains the conditions you want to apply to the database. This defines which records will be included in the average calculation based on the specified conditions.

What is a DAVERAGE?

The DAVERAGE function in Google Sheets is a statistical tool used to calculate the average of a set of values that meet specified criteria. This function is particularly useful when you want to analyze data based on certain conditions, allowing you to focus on a subset of your data while ignoring others.

In simpler terms, DAVERAGE helps you find the average of numbers in a column while applying filters to consider only the data that meets your defined criteria.

A Practical Example

Imagine you are managing a sales database that contains information about different products sold:

Sales Table:

ProductIDProductNameSalesAmountRegion
101Widget A250North
102Widget B300South
103Widget C150North
104Widget D400South
105Widget E200North

You want to find the average sales amount for products sold in the North region.

DAVERAGE Formula

To achieve this, you would use the DAVERAGE function as follows:

Google Sheets
=DAVERAGE(SalesTable, "SalesAmount", Criteria)

In this formula:

  • SalesTable is the range that includes your data (e.g., A1:D6).
  • "SalesAmount" is the column for which you want to calculate the average.
  • Criteria is a range that specifies the condition you want to apply (e.g., a cell that contains "North").

Criteria Example:

Region
North

Result of the Formula

When you apply the DAVERAGE formula to the Sales Table with the criteria for the North region, the output would be:

Average Sales Amount
333.33

This result is calculated by averaging the SalesAmount for Widget A, Widget C, and Widget E, which are the products sold in the North region.

Why Use DAVERAGE?

DAVERAGE is beneficial because it allows for more precise data analysis by focusing on specific subsets of data. It simplifies the process of calculating averages under certain conditions, making it easier to derive insights from your data without having to manually filter or sort it.

Key Takeaways:

  • DAVERAGE: A function that calculates the average of values based on specified criteria.
  • Conditional Analysis: Allows you to focus on specific subsets of data, enhancing your data analysis capabilities.
  • Simplicity: Simplifies the process of calculating averages without the need for complex formulas or manual filtering.
  • Common Use Cases: Ideal for sales analysis, performance tracking, and any scenario where you need to analyze data based on specific conditions.

DAVERAGE is an essential function for anyone working with data in Google Sheets, providing a powerful way to enhance data analysis and reporting capabilities.

Happy spreadsheeting!

Example use case

You have a sales data table with columns for product type, sales amount, and region. Use DAVERAGE to calculate the average sales for a specific product type in a selected region, enabling targeted analysis of sales performance across different markets.

Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.