Category: FUNCTION | Updated: 2026-11-20
How to Use the AVERAGE Function in Google Sheets | Calculate the Arithmetic Mean of Numbers
How to Use the AVERAGE Function
The AVERAGE function calculates the arithmetic mean (average) of a specified cell range or set of numbers.
Syntax
=AVERAGE(value1, [value2, ...])
- value1: The first number, cell reference, or range for which to calculate the average (required).
- value2, …: Additional numbers or cell ranges to include in the average calculation, separated by commas (optional).
Table Example
Here is an example of calculating the average score of test takers from the following test results table (absent students are left blank).
| Row | Column A (Name) | Column B (Score) |
|---|---|---|
| 1 | Name | Score |
| 2 | Sato | 80 |
| 3 | Suzuki | 90 |
| 4 | Takahashi | (Blank) |
| 5 | Tanaka | 70 |
| 6 | Average Score | =AVERAGE(B2:B5) |
- Formula:
=AVERAGE(B2:B5) - Result:
80 - Explanation: Cell B4 is blank and therefore ignored, so the average is calculated across the 3 students with numeric scores:
(80 + 90 + 70) ÷ 3. If0were entered in cell B4, it would calculate across all 4 students:(80 + 90 + 0 + 70) ÷ 4 = 60.
Common Errors and Notes
- When a
#DIV/0!error occurs: If the specified range contains no numeric values at all (e.g., all cells are blank or contain text), division by zero occurs and a#DIV/0!error is returned. - Text and boolean values are ignored: Any text such as
"Absent"or boolean values (TRUE/FALSE) within the range are ignored. If you want text and boolean values to be evaluated as0or1, use theAVERAGEAfunction instead. - Using blank cells vs. “0”: When tallying surveys or test scores, if you want to exclude “no response” or “absent” entries from the average, be sure to leave those cells blank rather than entering
0.
Frequently Asked Questions
Q. How does the AVERAGE function treat cells containing "0" versus "blank cells"?
A. Cells containing "0" are included in the count (denominator) when calculating the average, whereas "blank cells" and cells containing text are automatically ignored and excluded from the denominator.
Q. How can I calculate the average of only the data that meets specific criteria?
A. Use the AVERAGEIF function for a single condition, or the AVERAGEIFS function for multiple conditions, to calculate the average of only the cells that satisfy your criteria.