Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Put Average in Excel: Step-by-Step Guide

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To put an average in Excel, type =AVERAGE( in an empty cell, select the range of numbers you want to average (or type it, such as B2:B10), then press Enter. Excel returns the arithmetic mean of those cells. For a quick one-off check, select the numbers and look at the status bar at the bottom of the window, which shows Average automatically. The AVERAGE function is the standard method because it updates when your data changes, and it ignores blank cells and cells containing text.

What You'll Need

  • Excel on Windows, Mac, or Excel for the web (the steps are the same; menu labels can differ slightly by version and region).
  • A worksheet with numbers in it, or a blank sheet where you can type test values.
  • Basic familiarity with selecting cells and typing formulas.

Step-by-Step

  1. Open your workbook and locate the column or row of numbers you want to average. Make sure the numbers are stored as numbers, not as text. If they are aligned to the left edge of the cell by default, they may be text and will be ignored by AVERAGE.
  2. Click an empty cell where you want the result to appear, ideally directly below or beside your data.
  3. Type the formula start: =AVERAGE(. Do not type the closing parenthesis yet.
  4. Select the range with your mouse by clicking the first cell and dragging to the last cell. Excel inserts the range reference automatically, for example B2:B10. Alternatively, type the range manually after the opening parenthesis.
  5. Close the parenthesis by typing ) and press Enter. The cell now shows the average of the selected numbers.
  6. Verify the result. Click the cell with the formula and check the formula bar at the top of the window. It should read something like =AVERAGE(B2:B10). If the range looks wrong, edit it directly in the formula bar.
  7. Copy the formula if needed. Drag the small square at the bottom-right corner of the cell (the fill handle) down or across to apply the same formula to adjacent rows or columns. Excel adjusts the range references relative to each row.
  8. Format the result if you want a fixed number of decimal places. Select the cell, then use the Number Format options on the Home tab to increase or decrease decimals. The underlying value does not change, only how it is displayed.

Common Mistakes

  • Including the header row. If your range starts at row 1 and row 1 contains a text label, AVERAGE ignores the text but the range may still be confusing. Start the range at the first data row.
  • Numbers stored as text. Cells that look like numbers but are formatted as text are skipped by AVERAGE, which lowers the count and skews the result. Convert them with Text to Columns or by re-entering them as numbers.
  • Typing the wrong range. A missing cell or an extra blank row changes the result. Always check the formula bar after pressing Enter.
  • Using AVERAGE for a weighted average. A simple average treats every value equally. If some values should count more, use SUMPRODUCT divided by the sum of weights instead.
  • Forgetting that zeros count. A zero in the range is included in the average. If you want to exclude zeros, use AVERAGEIF(range,"<>0").
  • Expecting AVERAGE to ignore errors. If any cell in the range contains an error such as #DIV/0!, the whole formula returns an error. Use AGGREGATE or clean the source data.

Tips

  • Use AVERAGEIF or AVERAGEIFS to average only values that meet a condition, such as one product or one month.
  • Press Alt+= (Windows) or Command+Shift+T (Mac) to insert an AutoSum formula quickly; Excel may suggest AVERAGE when the selected cells contain numbers.
  • The status bar at the bottom of the Excel window shows Average, Count, and Sum for any selected cells, which is the fastest way to sanity-check a result.
  • Name your ranges with the Name Box or Formulas > Define Name so formulas read like =AVERAGE(SalesQ1) instead of a cryptic cell range.
  • Keep the average cell outside the range you are averaging, otherwise you create a circular reference.

Troubleshooting

  • Result is #DIV/0!: The range contains no numeric values. Check that the cells are numbers and that the range is correct.
  • Result is #NAME?: The function name is misspelled. It must be AVERAGE, not AVERGE or AVG.
  • Result is #VALUE!: The range includes a cell with an error or an unparseable value. Remove or correct the offending cell.
  • Average looks too low: Some numbers may be stored as text and are being skipped. Select the column and check the status bar count against the number of rows.
  • Formula shows as text: The cell may be formatted as Text before you typed the formula. Change the format to General, then re-enter the formula.
  • Circular reference warning: The formula includes its own cell. Move the formula to a different cell or adjust the range.

Frequently Asked Questions

Does AVERAGE include blank cells?

No. Blank cells are ignored, so the average is calculated only over cells that contain numbers.

How do I average only visible rows after filtering?

Use SUBTOTAL with function number 1, for example =SUBTOTAL(1,B2:B100). It averages only the rows currently visible.

What is the difference between AVERAGE and AVERAGEA?

AVERAGE ignores text and logical values in the range. AVERAGEA counts text as zero and TRUE as 1, which usually produces a different and often unintended result.

Can I average non-adjacent cells?

Yes. Separate each cell or range with a comma, for example =AVERAGE(A1,A5,B2:B10).

Why does my average change when I add a row?

If the new row is inside the referenced range, Excel includes it automatically. If it falls outside the range, extend the range or convert the data to an Excel Table so the formula expands with it.

How do I round the average to two decimals?

Wrap the function: =ROUND(AVERAGE(B2:B10),2). This changes the stored value, not just the display.