Average Google Sheets Formula: Calculate Averages Quickly

Ann Jul 09, 2026

The AverageIF function in Google Sheets is a powerful tool that calculates the average of a range of cells based on certain conditions. It's particularly useful when you want to find the average of a group of values that meet specific criteria. Let's dive into the details of AverageIF and explore its capabilities with practical examples.

How to Use the AVERAGEIFS Function in Google Sheets
How to Use the AVERAGEIFS Function in Google Sheets

Before we delve into the intricacies of AverageIF, let's ensure we have a solid foundation. We'll start by understanding the basic syntax of the function and then move on to more complex scenarios.

Master the AVERAGEIFS Function in Google Sheets: Simple Step-by-Step Tutorial
Master the AVERAGEIFS Function in Google Sheets: Simple Step-by-Step Tutorial

Understanding the AverageIF Syntax

The basic syntax of the AverageIF function is as follows:

2 Easy Ways to Calculate Weighted Average in Google Sheets
2 Easy Ways to Calculate Weighted Average in Google Sheets

AverageIF(range, criteria)

Here, 'range' refers to the range of cells containing the values you want to average, and 'criteria' is the condition that the values must meet to be included in the average.

How to Calculate Average in Google Sheets
How to Calculate Average in Google Sheets

Now that we have the basics down, let's explore some sub-topics that will help you master AverageIF.

Using AverageIF with a Single Condition

In this sub-topic, we'll focus on using AverageIF with a single condition. This is the most straightforward use case, where you want to average a range of cells based on a simple true/false condition.

20 Google Sheets Formulas Everyone Should Know (Save This!)
20 Google Sheets Formulas Everyone Should Know (Save This!)

For example, suppose you have a dataset of sales figures, and you want to find the average sales for the month of January. You can use the following AverageIF formula:

=AverageIF(B2:B100, A2:A100="January")

In this formula, 'B2:B100' is the range of cells containing the sales figures, and 'A2:A100' is the range of cells containing the corresponding months. The condition 'A2:A100="January"' ensures that only the sales figures for January are included in the average.

50/30/20 Budget Free Google Sheets & Excel Template
50/30/20 Budget Free Google Sheets & Excel Template

Using AverageIF with Multiple Conditions

AverageIF can also handle multiple conditions using the AND, OR, and NOT operators. This allows you to create more complex filters for your averages. Let's explore each operator with an example.

The Ultimate Google Sheets Keyboard Shortcut Cheat Sheet for Beginners & Pros
The Ultimate Google Sheets Keyboard Shortcut Cheat Sheet for Beginners & Pros
8 of the Most Useful Google Sheets Formulas - Make Tech Easier
8 of the Most Useful Google Sheets Formulas - Make Tech Easier
a screenshot of a spreadsheet with multiple columns and numbers on the screen
a screenshot of a spreadsheet with multiple columns and numbers on the screen
Google Sheets Checkbox Strikethrough
Google Sheets Checkbox Strikethrough
the google sheets are in green and white
the google sheets are in green and white
Top 9 Google Sheets Logical Functions You Should Know
Top 9 Google Sheets Logical Functions You Should Know
GOOGLE SHEETS: Spreadsheet Formulas & Averages a SUMMER SCHOOL Grade Sheet
GOOGLE SHEETS: Spreadsheet Formulas & Averages a SUMMER SCHOOL Grade Sheet
How to Get the Absolute Value in Google Sheets
How to Get the Absolute Value in Google Sheets
How to use Google Sheets: A beginner's guide | Zapier
How to use Google Sheets: A beginner's guide | Zapier
the google spreadsheet dashboard is shown in this screenshot
the google spreadsheet dashboard is shown in this screenshot
Master Sparklines in Google Sheets: Visualize Data Trends Instantly
Master Sparklines in Google Sheets: Visualize Data Trends Instantly
How to Find Average of Data in Google Sheets
How to Find Average of Data in Google Sheets
6 Crazy Google Sheets Formulas You Should Know
6 Crazy Google Sheets Formulas You Should Know
Free Spreadsheet Templates for Excel & Google Sheets
Free Spreadsheet Templates for Excel & Google Sheets
Google Sheets: Construct Formulas with the INDIRECT Function - Teacher Tech with Alice Keeler
Google Sheets: Construct Formulas with the INDIRECT Function - Teacher Tech with Alice Keeler
How to Sort By Date in Google Sheets
How to Sort By Date in Google Sheets
the google sheets has hidden gems you're not using on your webpages
the google sheets has hidden gems you're not using on your webpages
The Ultimate Google Sheets Formulas Cheat Sheet
The Ultimate Google Sheets Formulas Cheat Sheet

AND Operator: The AND operator requires that all conditions are true. For instance, you might want to find the average sales for January that are greater than $500. The formula would look like this:

=AverageIF(B2:B100, AND(A2:A100="January", B2:B100>500))

OR Operator: The OR operator requires that at least one condition is true. Suppose you want to find the average sales for either January or February. The formula would be:

=AverageIF(B2:B100, OR(A2:A100="January", A2:A100="February"))

NOT Operator: The NOT operator requires that the condition is false. If you want to find the average sales for all months except January, you would use:

=AverageIF(B2:B100, NOT(A2:A100="January"))

AverageIF with Wildcards

In some cases, you might want to use wildcards to create more flexible conditions. Google Sheets supports two wildcards: '*' and '?'.

* Wildcard: The '*' wildcard matches any sequence of characters. For example, if you want to find the average sales for all months starting with 'J', you can use:

=AverageIF(B2:B100, LEFT(A2:A100, 1)="J")

? Wildcard: The '?' wildcard matches any single character. If you want to find the average sales for all months ending with 'y', you can use:

=AverageIF(B2:B100, RIGHT(A2:A100, 1)="y")

Now that we've explored the capabilities of AverageIF, you're well on your way to mastering this powerful function. Whether you're calculating averages based on simple conditions or complex combinations, AverageIF has you covered. So go ahead, harness the power of AverageIF, and take your data analysis to the next level!