How to Average in Google Sheets: Step-by-Step Guide
Master how to average in Google Sheets using AVERAGE, AVERAGEIF, and AVERAGEIFS. Learn to handle blanks, errors, and multiple ranges with practical, example-driven steps.

Goal: learn how to calculate averages in Google Sheets using AVERAGE, AVERAGEIF, and AVERAGEIFS. You'll cover handling blanks, errors, and multiple ranges, plus practical, example-driven steps. By the end, you'll confidently compare groups, apply criteria, and cleanly present results all within Sheets. This guide is structured for beginners and power users alike.
Understanding Averages in Google Sheets
Averages in Google Sheets summarize data by reporting the central tendency of numeric values. The AVERAGE function computes the mean of all numeric values in a range, while ignoring text, logicals, and blank cells. This behavior keeps calculations robust when your dataset contains non-numeric entries. According to How To Sheets, mastering averages in Sheets unlocks quick insights for planning and analysis. For example, averaging test scores across a class reveals overall performance without manual counting. The How To Sheets team found that many users overlook the impact of blanks or non-numeric values, which can skew results. By structuring your data clearly and choosing the right variant (AVERAGE, AVERAGEIF, or AVERAGEIFS), you’ll get reliable summaries.
Basic AVERAGE function
The simplest way to compute a mean is with AVERAGE. Use a single-range reference such as =AVERAGE(B2:B10) to obtain the average of numeric cells in that column. AVERAGE automatically ignores cells with text or blanks, so you don’t need to filter them out manually. When your data includes several contiguous columns, you can average across a wider range like =AVERAGE(B2:D10). If your dataset contains a header, adjust the range to exclude it. The key is ensuring the range contains only numeric values you want included in the calculation. As you gain familiarity, you’ll appreciate how straightforward the function remains even with larger data sets.
AVERAGEIF: single criterion
When your data requires filtering by one criterion, AVERAGEIF is the right choice. Syntax: =AVERAGEIF(range, criterion, [average_range]). If average_range is omitted, the function uses range for both criteria and averaging. For example, =AVERAGEIF(A2:A100, "East", B2:B100) computes the average of B-values where the corresponding A-value equals East. This is especially useful for segmenting data by category, status, or region. Pro tip: keep both ranges aligned in size to avoid misaligned results.
AVERAGEIFS: multiple criteria
For more granular filtering, use AVERAGEIFS. Syntax: =AVERAGEIFS(average_range, criteria_range1, criterion1, [criteria_range2, criterion2, ...]). This version supports multiple conditions, such as =AVERAGEIFS(B2:B100, A2:A100, "East", C2:C100, ">=100"). The first argument is always what you want averaged; subsequent pairs define each criterion. When working with several filters, AVERAGEIFS helps you compute precise means across subgroups without creating intermediate helpers.
Handling blanks, text, and errors
Remember: AVERAGE ignores non-numeric values and blanks, which prevents empty cells from dragging down the result. If your data includes text that should be treated as numeric (like "100"), convert it with VALUE or by multiplying by 1 (e.g., =B2*1). If a range contains no numeric values, AVERAGE returns #DIV/0!. In that case, check the data source or use IFERROR around your formula to present a friendlier message, e.g., =IFERROR(AVERAGE(B2:B10), "No numeric data").
Practical examples with datasets
Consider a student scores sheet with columns for Student, Quiz1, Quiz2, and Quiz3. To compute the class average for Quiz1 only, you’d use =AVERAGE(C2:C30) if Quiz1 is column C. To compute the average score for students who meet a condition, such as status = "Pass", you’d combine AVERAGEIF or AVERAGEIFS with the appropriate ranges. Consistently validating formulas with spot checks helps catch off-by-one range errors or misaligned rows.
Dynamic ranges and best practices
As your data grows, use open-ended ranges like B2:B to automatically include new rows, or define a named range (e.g., Scores) that expands with new data. Named ranges improve readability and reduce formula errors. When sharing sheets, document what each range represents and keep headers separate from data to prevent accidental inclusion in averages. The How To Sheets team recommends keeping data clean and consistent to ensure accurate averages.
Common pitfalls and quick fixes
Mistakes often come from misaligned ranges in AVERAGEIFS, including a different number of rows between average_range and criteria ranges. Always ensure lengths match. If your results look off, check for hidden columns or cells containing non-numeric characters. Use Data > Named ranges and Data > Protected sheets to manage access and prevent accidental edits that could impact your formulas.
Practical tips for real-world use
- Use AVERAGEIF for simple, single-criterion questions like average sales by region.
- Prefer AVERAGEIFS when you have multiple criteria (region, product, time period).
- Combine with IFERROR to handle empty results gracefully.
- Document your formulas with comments or a separate sheet to explain intent.
- Regularly audit ranges when your dataset grows to prevent stale references.
Quick reference cheat sheet
- =AVERAGE(range) – basic mean.
- =AVERAGEIF(range, criterion, [average_range]) – single condition.
- =AVERAGEIFS(average_range, criteria_range1, criterion1, ...) – multiple conditions.
- Text and blanks are ignored by AVERAGE; convert strings to numbers if needed.
- Use named ranges for readability and maintenance.
Troubleshooting and validation
If a result seems incorrect, verify that all ranges have consistent dimensions and that the criteria truly match your data. Check for trailing spaces (e.g., East vs "East "). Use TRIM on your data if necessary, or create a helper column to standardize categories before averaging. Finally, compare results with a quick manual subset calculation to confirm accuracy.
Next steps and resources
Now that you know how to average in Google Sheets, extend your skills with related functions like SUMIF, COUNTIF, and conditional formatting to visualize the means. Practice on a sample dataset to reinforce the steps, then apply these methods to real projects, whether tracking study progress, budgeting, or sales analytics. The How To Sheets Team suggests revisiting your data structure annually to ensure formulas remain robust as data grows.
Tools & Materials
- Google account with access to Google Sheets(Needed to create and edit Sheets (web or mobile).)
- Web browser or Google Sheets app(Chrome recommended for best compatibility.)
- Sample dataset in a Google Sheet(Include numeric values and some blanks/text entries for practice.)
- Optional: Named ranges(Helps readability and maintenance for growing datasets.)
- Calculator or reference sheet(Useful for quick manual checks and sanity checks.)
Steps
Estimated time: 15-25 minutes
- 1
Open your dataset
Open the Google Sheet containing the numeric data you want to average. Identify the exact range that holds the values to include in your calculation. If you have a header row, exclude it from the range to avoid skewing the result.
Tip: Use the name box to confirm the range and ensure headers aren’t included. - 2
Choose the averaging function
Decide whether you need a simple mean (AVERAGE) or a conditional mean (AVERAGEIF/AVERAGEIFS). Your choice depends on whether you want to filter by a single or multiple criteria.
Tip: If unsure, start with AVERAGE to establish a baseline before adding criteria. - 3
Enter a basic AVERAGE formula
In a cell, type =AVERAGE(B2:B10) for the simple mean of numeric values in B2 through B10. Adjust the range to match your data. Validate the result by spot-checking a few values manually.
Tip: Use the formula zoom to see both the cells and the result for accuracy. - 4
Apply AVERAGEIF for a single criterion
Use =AVERAGEIF(range, criterion, [average_range]) to average values that meet a condition. For example, =AVERAGEIF(A2:A100, "East", B2:B100) averages B-values where A equals East.
Tip: Keep ranges the same length to avoid misaligned results. - 5
Apply AVERAGEIFS for multiple criteria
Use =AVERAGEIFS(average_range, criteria_range1, criterion1, criteria_range2, criterion2, ...). The first argument is the target range to average, followed by pairs of criteria and ranges.
Tip: Document each criterion to prevent confusion later. - 6
Handle blanks and non-numeric values
Averaging ignores text and blanks, but ensure your numeric data is true numbers. Convert text to numbers where necessary using VALUE or by multiplying by 1.
Tip: If you encounter #DIV/0!, confirm there are numeric values in the averaging range. - 7
Use named ranges for clarity
Define named ranges for your data (e.g., Scores, Regions) and reference those names in formulas. This improves readability and reduces errors when data moves.
Tip: Named ranges auto-update with growth, making maintenance easier. - 8
Validate results with quick checks
Cross-check a subset of values manually to confirm the mean. Try different criteria to ensure the function behaves as expected under various scenarios.
Tip: Use a separate sheet section to log test cases and results.
FAQ
What is the difference between AVERAGE and AVERAGEIF?
AVERAGE computes the mean of all numeric values in a range. AVERAGEIF applies a single criterion to determine which values are included before averaging.
AVERAGE gives you the overall mean, while AVERAGEIF adds a filter so only values meeting a condition are averaged.
How do I average across non-contiguous ranges?
You can average across non-adjacent ranges using an array literal, for example: =AVERAGE({B2:B10; D2:D10}). This combines the selections before averaging.
Use an array to combine non-adjacent ranges, then average the result.
How do blanks affect the average?
Blanks are ignored by AVERAGE. If a cell contains text, it is also ignored unless explicitly converted to a number.
Blanks don’t affect the average; non-numeric text should be converted if you want it included.
What if my range has no numeric values?
If there are no numeric values, AVERAGE returns a #DIV/0! error. Use IFERROR to handle this gracefully.
If your data has no numbers, guard the result with IFERROR.
Can I average with multiple criteria?
Yes. Use AVERAGEIFS for multiple criteria. The syntax is: =AVERAGEIFS(average_range, criteria_range1, criterion1, …).
Use AVERAGEIFS for multiple filters on the data.
Where can I learn more about averaging in Sheets?
Explore additional tutorials and templates from How To Sheets to deepen your understanding and practice with real data scenarios.
Check out more tutorials from How To Sheets for hands-on practice.
Watch Video
The Essentials
- Master AVERAGE for simple means across numeric ranges
- Apply AVERAGEIF and AVERAGEIFS for conditional means
- Ensure range alignment to prevent errors
- Use named ranges to simplify maintenance
