Syntax
| Parameter | Description |
|---|---|
| value1 | Parameter of the AVERAGE function. |
| [value2 | (Optional.) Parameter of the AVERAGE function. |
| ...] | Parameter of the AVERAGE function. |
Examples
| A | B | |
|---|---|---|
| 1 | Student | Score |
| 2 | Alice | 92 |
| 3 | Bob | 78 |
| 4 | Carol | 85 |
| 5 | Dave | 64 |
| 6 | Eve | 71 |
Average of test scores
=AVERAGE(B2:B30)
Average excluding zeros
=AVERAGEIF(B2:B30, "<>0")
Average of specific cells
=AVERAGE(B2, B5, B8)
Common Errors
The range contains no numeric values. AVERAGE needs at least one number to calculate. Check if all cells are text or blank.
A directly referenced cell contains text. Use AVERAGE on a range (which skips text) rather than individual text cells.
Tips
AVERAGE skips blank cells but counts zeros. If missing data is entered as 0, it will lower the average. Use AVERAGEIF to exclude zeros.
For weighted averages, use =SUMPRODUCT(values, weights)/SUM(weights) instead of AVERAGE.
If your data has extreme outliers, MEDIAN may be more representative than AVERAGE.
Try AVERAGE in Viztab
Import your data and use AVERAGE with 370+ other formulas. No signup required.
Open Viztab