How to Use Average Formulas in Excel: A Plain-Language Guide 📊

If you work with numbers in Excel—whether tracking expenses, reviewing test scores, or analyzing sales data—you'll likely need to find an average. Excel offers several ways to calculate averages, each suited to different situations. Understanding which formula to use and why matters more than remembering syntax.

What "Average" Means in Excel

An average (also called the mean) is the sum of all values divided by how many values you have. In everyday terms: if you spent $10, $15, and $20 over three days, your average daily spending is $45 ÷ 3 = $15.

Excel automates this calculation so you don't have to do the math by hand—and more importantly, lets you apply conditions and rules to decide which numbers get included.

The Core Average Formulas 🔢

AVERAGE(): The Standard Choice

=AVERAGE(range) is the workhorse formula. It adds up all numbers in a range and divides by the count.

Example: =AVERAGE(A1:A10) averages the values in cells A1 through A10.

This formula ignores empty cells and text—it only counts numbers. If you have 8 numbers in a range of 10 cells, it divides by 8, not 10.

When to use it: General situations where you want a straightforward average of all values in a range.

AVERAGEIF(): Average With One Condition

=AVERAGEIF(range, criteria, [average_range]) lets you average only the values that meet a specific condition.

Example: If column A contains product names and column B contains sales, =AVERAGEIF(A:A,"Widgets",B:B) gives you the average sales for only the rows where the product is "Widgets."

The criteria can be a number, text, or a comparison (like ">100").

When to use it: When you want to average only a subset of your data based on one rule.

AVERAGEIFS(): Multiple Conditions

=AVERAGEIFS(average_range, criteria_range1, criteria1, criteria_range2, criteria2, ...) works like AVERAGEIF but lets you set multiple conditions.

Example: =AVERAGEIFS(B:B, A:A, "Widgets", C:C, ">50") averages sales (column B) where the product is "Widgets" and quantity is greater than 50.

When to use it: When your decision about what to include depends on more than one factor.

AVERAGEIF() vs. AVERAGEIFS(): Key Difference

FormulaNumber of ConditionsSyntax Style
AVERAGEIF1Criteria comes after the range being checked
AVERAGEIFSMultiple (2+)Average range comes first; criteria pairs follow

Variables That Shape Your Choice ⚙️

The question you're answering: Do you want the average of all values, or only values that match certain rules?

  • All values? Use AVERAGE().
  • Values matching one rule? Use AVERAGEIF().
  • Values matching multiple rules? Use AVERAGEIFS().

Data structure matters. The formulas work best when your data is organized in columns or ranges. If data is scattered or formatted irregularly, the formula will be harder to write correctly.

Text vs. numbers. These formulas only average numbers. If a cell contains text, it's skipped. This is usually what you want—but be aware of it.

Empty cells. AVERAGE() and its relatives ignore truly empty cells (they don't count them as zero). This matters if you're comparing datasets of different sizes.

Common Pitfalls and How to Avoid Them

Using AVERAGE() when you meant AVERAGEIF(): The most frequent mistake is averaging a range that includes values you shouldn't. Double-check your data: do all values in your range belong in this average?

Criteria syntax errors: Criteria like ">100" must be in quotes. =AVERAGEIF(A:A, >100, B:B) will error; the correct form is =AVERAGEIF(A:A, ">100", B:B).

Forgetting the average_range in AVERAGEIF(): The formula checks criteria_range but averages average_range. If you leave it out, Excel will average the criteria_range itself, which is usually not what you want.

Mismatched ranges: Make sure your criteria_range and average_range have the same number of rows. If one is A1:A10 and the other is B1:B20, the formula gets confused.

When to Evaluate Your Approach

Before settling on a formula, ask yourself:

  • Are all the values in my range relevant to the question I'm answering?
  • Do I need to exclude certain rows or categories?
  • Are my criteria clear and easy to express as text or a comparison?
  • Should I be using a different metric entirely (like median or mode) to account for outliers?

The right formula depends on what question you're actually trying to answer. A formula is only as useful as the data it summarizes and the logic behind it.