Smart Systems for Home

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

How to Calculate Total Average in Excel

· 6 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 calculate a total average in Excel, use the AVERAGE function: type =AVERAGE(range) where range is the cells you want to average, such as =AVERAGE(B2:B10). This adds all the numbers in the range and divides by the count of numeric cells. If you need to average totals from multiple columns or rows, you can average the totals directly or use AVERAGE with multiple ranges. The steps below cover the most common scenarios, including averaging a column of totals, ignoring zeros or errors, and handling non-adjacent ranges.

What You'll Need

  • Excel for Windows, Mac, or Excel for the web (the steps below work in all current versions; menu labels may differ slightly by version or region).
  • A worksheet with numeric data you want to average.
  • Basic familiarity with selecting cells and typing formulas.

Step-by-Step

  1. Identify the numbers to average. Decide whether you are averaging a single range (e.g., B2:B10), multiple separate ranges (e.g., B2:B10 and D2:D10), or a set of totals you have already calculated in another column. Write down the cell references or select them with your mouse to see them in the Name Box (the small box to the left of the formula bar).
  2. Click the cell where you want the result. This is usually below a column of numbers or to the right of a row of totals. Choose an empty cell so you do not overwrite existing data.
  3. Type the AVERAGE formula. Start with an equals sign, then AVERAGE(, then the range. For a single range, type =AVERAGE(B2:B10). For multiple ranges, separate them with commas: =AVERAGE(B2:B10,D2:D10). For non-adjacent cells, use commas between individual cells: =AVERAGE(B2,B5,B8). Close the parenthesis and press Enter.
  4. Check the result. Excel displays the average in the cell. If you see a number that looks wrong, verify the range includes only the cells you intended. You can click the cell and look at the formula bar to confirm the range.
  5. Average a column of totals. If you have totals in column C (e.g., C2:C10) and want the average of those totals, use =AVERAGE(C2:C10). This is the most direct way to get a total average when each row already contains a sum.
  6. Ignore zeros if needed. The AVERAGE function includes zeros. To exclude zeros, use =AVERAGEIF(B2:B10,"<>0"). This averages only cells that are not zero. Note that blank cells are already ignored by AVERAGE.
  7. Ignore errors or text. AVERAGE ignores text and blank cells but returns an error if any cell in the range contains an error value (like #DIV/0!). To average only numbers and ignore errors, use =AGGREGATE(1,6,B2:B10) where 1 means AVERAGE and 6 means ignore errors. Alternatively, clean the data first.
  8. Use the Status Bar for a quick check. Select the cells you want to average and look at the bottom of the Excel window. The Status Bar shows Average, Count, and Sum for the selected cells. This is a fast way to verify your formula result without typing anything.
  9. Copy the formula if needed. If you want to average multiple columns, drag the fill handle (the small square at the bottom-right of the cell) across or down. Relative references adjust automatically. Use absolute references (e.g., $B$2:$B$10) if you need the range to stay fixed.
  10. Format the result. Select the cell and use the Number Format dropdown on the Home tab to set decimal places. This does not change the value, only how it displays.

Common Mistakes

  • Including text or blank cells in the range. AVERAGE ignores text and blanks, but if the range includes cells with numbers stored as text, they are ignored too, which can skew the result. Check for numbers formatted as text (they usually align left) and convert them to numbers.
  • Forgetting that zeros are included. A zero in the range lowers the average. Use AVERAGEIF to exclude zeros if that is not what you want.
  • Using the wrong range. Accidentally including a header row or a total row can distort the average. Always verify the range in the formula bar.
  • Typing the range incorrectly. A missing colon or comma causes errors. For example, =AVERAGE(B2 B10) is invalid; use =AVERAGE(B2:B10).
  • Expecting AVERAGE to ignore errors. It does not; use AGGREGATE or clean the data.

Tips

  • Use the Name Box to quickly select a range: type B2:B10 in the Name Box and press Enter, then type your formula.
  • Press Alt+= (Windows) or Command+Shift+T (Mac) to insert the AutoSum function, then change SUM to AVERAGE if needed. This is faster than typing the whole formula.
  • Use AVERAGEIFS for multiple criteria, e.g., =AVERAGEIFS(C2:C10,B2:B10,"North") to average only values where column B is "North".
  • If you need a weighted average, use SUMPRODUCT divided by SUM: =SUMPRODUCT(B2:B10,C2:C10)/SUM(C2:C10).
  • Keep your data in a clean table (select the range and press Ctrl+T) so ranges expand automatically when you add rows.

Troubleshooting

  • #DIV/0! error: The range contains no numeric values. Check that the cells contain numbers, not text or blanks.
  • #VALUE! error: A cell in the range contains an error or text that cannot be evaluated. Use AGGREGATE or remove the error.
  • Average looks too high or too low: Verify the range does not include totals or subtotals that duplicate the data. Also check for hidden rows or filtered rows—AVERAGE includes hidden rows unless you use SUBTOTAL with function number 101.
  • Formula not updating: Check that calculation is set to Automatic (Formulas tab > Calculation Options > Automatic). If it is set to Manual, press F9 to recalculate.
  • Numbers stored as text: Select the cells, click the warning icon that appears, and choose Convert to Number. Or use VALUE() in a helper column.

Frequently Asked Questions

How do I average only visible cells in a filtered list?

Use =SUBTOTAL(101,range) instead of AVERAGE. Function number 101 tells Excel to average only visible cells and ignore hidden ones.

Can I average a whole column without specifying an end row?

Yes, use =AVERAGE(B:B) to average the entire column B. However, this includes the header if it is text (ignored) and any totals below, so be careful.

What is the difference between AVERAGE and AVERAGEA?

AVERAGE ignores text and logical values in references. AVERAGEA includes text as 0 and logical values as 1 or 0, which can change the result. Use AVERAGE for typical numeric data.

How do I calculate a moving average?

Use the AVERAGE function with a relative range that shifts, or use the Analysis ToolPak's Moving Average tool. For a simple 3-month moving average, enter =AVERAGE(B2:B4) in C4 and copy down.

Why does my average change when I add a new row?

If your formula references a fixed range like B2:B10, adding a row outside that range does not affect it. To include new rows automatically, convert your data to a table (Ctrl+T) and use structured references, or use a dynamic range with OFFSET or INDEX.

Can I average cells across multiple worksheets?

Yes, use a 3D reference: =AVERAGE(Sheet1:Sheet3!B2:B10) averages the same range on all sheets between Sheet1 and Sheet3. Ensure the sheets are contiguous.