Averaging in Excel calculates the arithmetic mean of a range of numbers, helping summarize data quickly. You only need a dataset with numeric values in Excel—no add-ins or special setup required.
What You'll Need
- Microsoft Excel installed (Excel for Microsoft 365, Excel 2021, Excel 2019, or later)
- A workbook with numeric data entered in cells (e.g., sales figures, test scores, temperatures)
- No internet connection needed for basic averaging
Step-by-Step
- Open your Excel workbook and ensure your data is clean: remove text, blanks, or errors from the range you want to average. Numbers must be stored as actual values, not text (text numbers won’t be included in averages).
- Select the cell where you want the average to appear—this will hold the result.
- Type
=AVERAGE((including the opening parenthesis). Excel will auto-suggest the function as you type. - Select the range of cells you want to average. For example, if your data is in cells A2 to A10, click and drag from A2 through A10. Excel will auto-populate the range inside the formula (e.g.,
=AVERAGE(A2:A10)). - Close the parenthesis with
)and press Enter. The average appears in the selected cell. - Verify the result: manually check by adding the numbers manually or using
=SUM(A2:A10)/COUNT(A2:A10)to confirm consistency.
Common Mistakes
Avoid these frequent errors when averaging in Excel:
- Including non-numeric cells: The AVERAGE function ignores text, logical values (TRUE/FALSE), and empty cells—but if numbers are stored as text (e.g., "100" instead of 100), they’re excluded silently. Use Data > Text to Columns to convert them.
- Accidentally omitting data: Dragging the selection too short or too long can miss values. Double-check the highlighted range before pressing Enter.
- Confusing AVERAGE with AVERAGEA: AVERAGEA includes TRUE as 1 and text/empty strings as 0, which skews results if unintended. Stick with AVERAGE unless you specifically need those behaviors.
- Using blank-looking cells: Cells with formulas returning empty strings (
="") count as text and are ignored. Use=IF(A1="",NA(),A1)to replace blanks with errors if you want those ignored rows to be excluded entirely (since AVERAGE ignores errors too).
Tips
- Use AVERAGEIF/AVERAGEIFS for conditional averaging: To average only values meeting criteria (e.g., sales over $500), use
=AVERAGEIF(B2:B100,">500")or=AVERAGEIFS(C2:C100,A2:A100,"Region1",B2:B100,">100"). - Keyboard shortcut for AutoSum: After selecting the cell below or to the right of a column/row of numbers, press Alt + = (Windows) or Cmd + Shift + T (Mac) to insert
=AVERAGE()(on Mac, this defaults to AVERAGE if no other function is selected). - Format consistently: Apply Number format to your data range first (Home > Number group > Number) to prevent accidental text entry.
- Check for hidden rows: AVERAGE includes hidden rows. To exclude them, use
=SUBTOTAL(101,range)instead—101 is the code for AVERAGE that ignores hidden rows.
Troubleshooting
If your average is wrong, missing, or returns an error, follow these checks:
- Verify formula syntax: Ensure the formula starts with
=, uses correct parentheses, and the range is valid. Common errors include#DIV/0!(no numeric values to average) or#NAME?(misspelled function like=AVRAGE). - Check cell formatting: Right-click cells in your range > Format Cells > Number. If set to Text, change to General or Number. Then re-enter values or use Find & Replace to fix.
- Confirm data range: Hover over the formula bar to see the highlighted range visually. If cells are missing, adjust the range manually (e.g., change
A2:A10toA2:A12). - Handle errors in the data: If any cell contains an error (e.g.,
#N/A), AVERAGE returns#N/A. Wrap your data in=IFERROR()or use=AVERAGEIF(range,"<>#N/A")(though this is imperfect). Better: clean errors first using Data Validation or error-checking tools. - Restart Excel: Rarely, calculation settings get stuck. Go to Formulas > Calculation Options > Automatic, then press F9 to force recalculation.
Frequently Asked Questions
How do I average only visible cells after filtering?
Use the SUBTOTAL function:=SUBTOTAL(101,A2:A100). The 101 argument tells Excel to use AVERAGE while ignoring hidden rows. Regular AVERAGE includes hidden rows, which often leads to misleading results after filtering.
Can I average across multiple non-contiguous ranges?
Yes. Separate ranges with commas inside the AVERAGE function:=AVERAGE(A2:A10,C2:C10,E2:E10). You can also hold Ctrl (Windows) or Command (Mac) while selecting ranges manually before typing the formula.
Why does my average show more decimal places than the data?
Excel stores full precision internally. To display rounded results, select the cell(s) with the average, go to Home > Number group, and click Decrease Decimal twice (or right-click > Format Cells > Number > set Decimal places to 2).How do I average the top 5 values in a list?
Combine AVERAGE with LARGE:=AVERAGE(LARGE(A2:A100,{1,2,3,4,5})). This finds the 1st through 5th largest values and averages them. Ensure your list has at least 5 numeric entries, or adjust the array in curly braces.
What’s the difference between AVERAGE, AVERAGEA, and AVERAGEIF?
AVERAGE ignores text, blanks, and logical values. AVERAGEA treats text as 0, TRUE as 1, and FALSE as 0—use only if you need those conversions. AVERAGEIF adds criteria (e.g.,=AVERAGEIF(A2:A10,">10")). Choose based on your data and intent.
Can I average data from another worksheet or workbook?
Yes. Reference cells from another sheet with=AVERAGE(Sheet2!A2:A10). For another workbook, use =AVERAGE('[SalesData.xlsx]Sheet1'!A2:A10) (ensure the other file is open when linking, or Excel will show #REF! if closed).