Skip to main content

AVERAGE() in Excel: An Essential Function Explained

Learn to work with Excel’s AVERAGE() function, including conditional and logical variations.
Jul 1, 2025  · 3 min read

Excel gives you a few different ways to find the average. The aptly named AVERAGE() function is your starting point, but there are also variations like AVERAGEIF(), AVERAGEIFS(), and AVERAGEA() for more specialized situations.

In this article, I’ll show you how to use the AVERAGE() function in Excel, and then I’ll help you understand the other useful average functions I named above. 

How to Use AVERAGE() in Excel

The AVERAGE() function in Excel calculates the arithmetic mean of a range of numbers. To use this function, you simply pick the range of cells you want to average, and use the function like so:

=AVERAGE(A1:A10)

This formula will return the average of the values in cells A1 through A10, as you can see in this screenshot:

AVERAGE function in Excel example

Other Useful Excel Average Functions

As promised, let me mention the several other functions that Excel offers, which are used for finding averages under slightly different conditions. Here are some of the most commonly used:

  • AVERAGEIF(): Calculates the average of cells that meet a single condition.

  • AVERAGEIFS(): Calculates the average of cells that meet multiple conditions.

  • AVERAGEA(): Includes logical values and text representations of numbers.

Now I'll show each with a quick example:

AVERAGEIF() in Excel

The AVERAGEIF() function allows you to average only those cells that meet a specific criterion. This is useful when you want to exclude certain values from your calculation.

=AVERAGEIF(B1:B10, ">50")

AVERAGEIF function in Excel example

This formula averages only the values in B1:B10 that are greater than 50. So 63.3 is the approximate average of 55, 60, and 75. 

AVERAGEIFS() in Excel

The AVERAGEIFS() function is similar to AVERAGEIF() but allows for multiple criteria. This is helpful when you need to apply more than one condition to your data.

=AVERAGEIFS(B1:B10, B1:B10, ">50", A1:A10, "Ford")

AVERAGEIFS function in Excel example

This formula averages the values in B1:B10 where the corresponding value in B1:B10 is greater than 50 and the value in A1A10 is "Ford". So if you look closely, you can see it's average two values, 55, and 60, to get a value of 57.5, because only those two values in A1:A10 meet both of those conditions. 

AVERAGEA() in Excel

The AVERAGEA() function calculates the average of a range, including logical values and text representations of numbers. This can be useful when your data set includes TRUE and FALSE values or numbers stored as text. The AVERAGEA() function is something you want to know if you're going to be analyzing survey data.

=AVERAGEA(A1:A10)

AVERAGEA function in Excel example

This formula averages all values in A1:A10, treating TRUE as 1, FALSE as 0.

Tips for Working with Averages in Excel

When working with averages:

  • Make sure your data range does not include unwanted blank cells or text (unless you're using AVERAGEA(), as I showed in that last example).

  • Use AVERAGEIF() or AVERAGEIFS() to focus on specific subsets of your data

  • Combine average functions with other Excel tools, such as filters or conditional formatting, for deeper analysis. Our Advanced Excel Functions course is a great resource for getting back at coming Excel functions.

Keyboard Shortcuts for Excel Average Functions

Finally, if you feel comfortable with all the above and now you want to speed up your workflow, you can use keyboard shortcuts when entering formulas:

Type your formula and press Enter to complete it

Use Tab to auto-complete function names as you type. You can see in this image how it autocompletes when you start typing:

AVERAGE function in Excel autocomplete

Conclusion

AVERAGE() is something you have to work with if you are going to analyze data and extract insights. But as you started to see, there is more variation than you might expect.

Enroll in our Excel Fundamentals skill track and our Advanced Excel Functions course to keep learning.

Advance Your Career with Excel

Gain the skills to maximize Excel—no experience required.

Start Today for Free

Josef Waples's photo
Author
Josef Waples

I'm a data science writer and editor with contributions to research articles in scientific journals. I'm especially interested in linear algebra, statistics, R, and the like. I also play a fair amount of chess! 

Topics

Learn Excel with DataCamp

Course

Data Preparation in Excel

3 hr
55.6K
Understand how to prepare Excel data through logical functions, nested formulas, lookup functions, and PivotTables.
See DetailsRight Arrow
Start Course
See MoreRight Arrow
Related

Tutorial

How to Find Median in Excel: The Easy Way and the Long Way

Learn how to use Excel’s MEDIAN() function to find the middle value in a dataset. Compare it with AVERAGE(), handle common quirks, and apply it your own work.
Josef Waples's photo

Josef Waples

5 min

Tutorial

SUBTOTAL() Formula in Excel: A Full Calculation Guide

Learn how the SUBTOTAL() function dynamically summarizes filtered or grouped data. Understand its syntax, explore practical examples, and compare it with similar functions.
Vinod Chugani's photo

Vinod Chugani

9 min

Tutorial

Conditional Formatting in Excel: A Beginner’s Guide

Explore conditional formatting in Excel with simple to advanced examples and their best practices.
Joleen Bothma's photo

Joleen Bothma

7 min

Tutorial

Rank Formula in Excel: A Comprehensive Guide With Examples

Learn how to rank data in Excel with RANK(), RANK.EQ(), and RANK.AVG() functions. Understand their differences, applications, and tips for accurate data analysis.
Laiba Siddiqui's photo

Laiba Siddiqui

11 min

Tutorial

Count Formula in Excel: Essential Tips and Examples

Learn how to use Excel’s COUNT() formula with essential tips, real-world examples, and variations like COUNTA(), COUNTBLANK(), and COUNTIF() to handle different data types and scenarios.
Laiba Siddiqui's photo

Laiba Siddiqui

9 min

Tutorial

Conditional Functions in Spreadsheets

Learn when and how to use conditional functions in spreadsheets.
Francisco Javier Carrera Arias's photo

Francisco Javier Carrera Arias

11 min

See MoreSee More