The AVERAGE function finds the mean of your numbers
To find the average in Excel, use the AVERAGE function. Type =AVERAGE() into a cell, put the range of numbers you want to average inside the parentheses, and press Enter. Excel adds up all the numbers and divides by how many numbers there are.
The simplest example: if you have numbers in cells A1 through A10, type =AVERAGE(A1:A10) into an empty cell. Excel returns the mean. You can also average numbers that aren't next to each other — type =AVERAGE(A1,A3,A5) to average only those three cells, skipping the ones in between.
Excel ignores empty cells and text when calculating an average. If a cell contains text or is blank, AVERAGE skips it and only counts the cells with numbers. This makes the function forgiving if your data has gaps.
Key Takeaways
- Type =AVERAGE(A1:A10) into any empty cell to find the average of a range, then press Enter.
- Use a colon between two cell names to average everything in between them, or separate individual cells with commas.
- Excel automatically ignores empty cells and cells containing text when it calculates the average.
- You can average numbers from different parts of your spreadsheet in one formula by listing each range or cell separated by commas.
Averaging a continuous range of cells
The most common way to find an average is to select a block of cells in a row or column. Click on an empty cell where you want the result to appear. Type =AVERAGE(, then click on the first cell you want to include, hold Shift, and click on the last cell. Excel fills in the range for you. Type the closing parenthesis and press Enter.
If your numbers are in column B from row 2 to row 15, you would type =AVERAGE(B2:B15). The colon tells Excel to include every cell from B2 all the way to B15. This works the same way for rows — =AVERAGE(A1:E1) averages five cells across row 1.
Averaging non-adjacent cells
Sometimes the numbers you want to average are scattered across your spreadsheet. Use commas to separate each cell or range. Type =AVERAGE(A1,A5,A10) to average only those three cells, leaving out A2, A3, A4, and everything else.
You can also mix ranges and individual cells in the same formula. For example, =AVERAGE(A1:A5,C10,D2:D8) averages cells A1 through A5, plus C10 by itself, plus D2 through D8. Excel adds all the numbers together and divides by the total count of cells that contain numbers.
What happens with empty cells and text
Excel's AVERAGE function is built to handle messy data. If a cell in your range is empty, AVERAGE ignores it completely — it does not count as zero. If a cell contains text like "N/A" or a label, AVERAGE skips that cell too.
This behavior is different from some other functions. If you have 10 cells selected but 2 are empty, AVERAGE divides the sum by 8, not 10. This usually gives you the result you want, but it is worth knowing in case your numbers seem off.
Using AVERAGE with conditions
If you need to average only numbers that meet a certain condition — for example, only sales above $500 or only scores higher than 80 — use AVERAGEIF instead. Type =AVERAGEIF(A1:A10,">80") to average only the numbers in A1 through A10 that are greater than 80.
The syntax is =AVERAGEIF(range, criteria). The range is where your numbers are. The criteria is the condition they must meet, written in quotes if it is a comparison like ">80" or "<100". You can also use =AVERAGEIFS to set multiple conditions at once, though that requires more setup.
Copying the AVERAGE formula to other cells
Once you have written an AVERAGE formula in one cell, you can copy it down or across to calculate averages for different ranges. Click on the cell with your formula, then drag the small square in the bottom-right corner down to the cells below. Excel automatically adjusts the cell references so each row averages its own data.
If your formula is =AVERAGE(A1:A10) in cell C1, and you drag it down to C2, Excel changes it to =AVERAGE(A2:A11). This relative reference behavior saves time when you need the same calculation repeated across many rows or columns.
Frequently Asked Questions
Does AVERAGE count zero as a number?
Yes. If a cell contains 0, AVERAGE includes it in the calculation. Only truly empty cells are ignored. If you want to exclude zeros from your average, use AVERAGEIF with the criteria "<>0" to average only cells that are not equal to zero.
What is the difference between AVERAGE and MEDIAN?
AVERAGE adds all numbers and divides by the count. MEDIAN finds the middle number when all numbers are sorted from smallest to largest. Use MEDIAN when you have outliers that skew the average — for example, if most salaries are $40,000 but one is $500,000, the median gives a better picture of typical salary.
Can I average cells from different sheets?
Yes. Type the sheet name followed by an exclamation point before the cell reference. For example, =AVERAGE(Sheet1!A1:A10,Sheet2!B1:B10) averages a range from Sheet1 and a range from Sheet2 in the same formula.
What if all my cells are empty or contain text?
AVERAGE returns a #DIV/0! error, which means Excel tried to divide by zero because no numbers were found. Check that your range contains at least one number, and that numbers are not stored as text (which looks like a number but Excel treats as text).