Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=AVERAGEIF(A2:A6,"North",B2:B6)Computed by a real spreadsheet engine on the sample data below.
| Region | Sales |
| North | 80 |
| South | 50 |
| North | 90 |
| East | 60 |
| North | 70 |
=AVERAGEIF(A2:A6,"North",B2:B6)→80
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
AVERAGEIF supports one condition. AVERAGEIFS supports multiple conditions (AND logic) and has a different argument order: average_range comes first.
Yes. =AVERAGEIF(A2:A6,"No*",B2:B6) averages values where column A starts with 'No'.
Use the AVERAGE function to calculate the arithmetic mean of a range of numbers in Excel or Google Sheets.
How-toUse AVERAGEIF with a "<>0" criterion to calculate an average that excludes zero values from the calculation.
How-toAVERAGE naturally ignores blank cells; use AVERAGEIF with "<>" to also ignore text placeholders like dashes.
How-toCompute a rolling average for each row using AVERAGE with a fixed-window OFFSET or INDEX formula anchored to each row.
How-toUse the MEDIAN function to find the middle value in a dataset — the value that half the data falls above and half below.
How-toUse MODE for numbers or COUNTIF-based logic for text to find the value that appears most frequently in a dataset.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: