What the video covers
Show how to compute a plain average of a numeric range and how to compute an average filtered by a single criterion (text or numeric) using native Google Sheets functions.
Watch the video on YouTubeStep-by-step instructions
- Calculate a simple average
Select the empty cell where you want the result, type =AVERAGE(, then enter the numeric range (for example B2:B50) and close the parentheses. Press Enter; the cell shows the arithmetic mean of that range. - Include multiple non-contiguous ranges (optional)
To average values from scattered ranges, separate each range with commas inside AVERAGE, for example: =AVERAGE(B2:B25, D2:D25). Press Enter to compute the combined mean. - Calculate a conditional average with AVERAGEIF
Choose an output cell and type =AVERAGEIF(. First specify the criteria range (e.g., A2:A50), then a comma and your condition (text in quotes like "Region A" or a comparison like "100"), then a comma and the numeric range to average (e.g., B2:B50). Close parentheses and press Enter. Example: =AVERAGEIF(A2:A50, "Region A", B2:B50). - Use a cell reference for criteria
Instead of typing the criterion directly, reference a cell that contains the criterion: =AVERAGEIF(A2:A50, E1, B2:B50). This makes the formula easier to update. - Verify the result
Confirm correctness by manually calculating SUM(range)/COUNT(range) for a simple average, or by applying a filter for the same criterion and averaging the visible numeric values to match the AVERAGEIF result.
Watch the video
Play tutorial
Why it matters
Manually computing means or visually filtering rows is slow and error-prone. AVERAGE and AVERAGEIF compute these metrics automatically so you can report and compare performance quickly.
Check your result
Verify results by comparing the formula cell to a manual calculation (sum(range)/count(range)) for AVERAGE, or use a filtered view and AVERAGE on the visible numbers for AVERAGEIF. Ensure the expected rows meet the criterion.
Troubleshooting
Non-numeric cells in the average range are ignored by AVERAGE. If AVERAGEIF returns #DIV/0! or blank, check that the average-range contains numeric values and that the criteria range and average range are the same size. For text criteria, wrap the condition in quotes (e.g., "Region A") or reference a cell that contains the exact text. For numeric comparisons use operators inside quotes (e.g., "100").