Basics · AVERAGE
AVERAGE formula in Excel - the mean of a range
AVERAGE returns the arithmetic mean of the numbers in a range, ignoring blank cells and text.
=AVERAGE(number1, [number2], ...)Write it for my sheet
Examples
| Type this in the Formula Studio | Formula |
|---|---|
| “average of D2:D51” | =AVERAGE(D2:D51) |
| “round the average of D2:D51 to 2 decimals” | =ROUND(AVERAGE(D2:D51),2) |
| “average of this row where value > 0” | =AVERAGEIF(D2:H2,">0") |
Tips
- Blank cells are skipped, but zeros are counted - use AVERAGEIF(range,">0") to leave zeros out.
People also search for
FAQ
Does AVERAGE count blank cells and zeros?
Blank cells and text are ignored, but zeros are counted. To leave zeros out use =AVERAGEIF(D2:D51,">0").
How do I round an average to 2 decimals?
Wrap it in ROUND: =ROUND(AVERAGE(D2:D51),2). Formatting only changes the display; ROUND changes the value.
Can LoveByPDF write this formula for me?
Yes. Open your Excel file in the Excel Agent's Formula Studio, click a cell and type what you need - e.g. "average of D2:D51" - you get the formula, a preview on your sheet and an explanation, then insert it.
Related formulas
- SUMSUM formula in Excel - add up cells, rows and columns
- COUNT, COUNTA, COUNTBLANKCOUNT vs COUNTA vs COUNTBLANK - counting cells in Excel
- MAX, MINMAX and MIN in Excel - highest and lowest value
- ROUND, ROUNDUP, ROUNDDOWNROUND in Excel - decimals, nearest 100 or 1000
- Percentage formulasPercentage formulas in Excel - % of, % change, share of total
- MIN, MAX"Whichever is lower / higher" in Excel - MIN and MAX of two values
- IFIF formula in Excel - with examples in plain words
- IF (nested), AND, ORNested IF and IF with AND / OR in Excel
- IFERRORIFERROR in Excel - hide #DIV/0!, #N/A and other errors