# AVERAGEIFS formula generator

> Describe what you need and get a AVERAGEIFS formula for Excel and Google Sheets, run on real data before you copy it. Plus 4 tested AVERAGEIFS examples.

Source: https://spreadsheetpractice.com/tools/formula-generator/averageifs · Updated October 29, 2026 · Formulas and results on this page were run by the Spreadsheet Practice formula engine on November 20, 2026

AVERAGEIFS averages the values where every condition is true, such as Algebra scores from the fall term or passing scores only.

Describe the task at [AVERAGEIFS formula generator](https://spreadsheetpractice.com/tools/formula-generator/averageifs) and get a AVERAGEIFS formula for Excel and Google Sheets, tested on real data.

## Tested AVERAGEIFS examples

### Average with multiple criteria in Excel (AVERAGEIFS)

`=AVERAGEIFS(D2:D9,B2:B9,G1,C2:C9,">="&G2)`

Excel. Result on the sample sheet: $501,625. [See it and try it](https://spreadsheetpractice.com/formulas/averageifs-average-with-multiple-criteria)

### Calculate the average per month

`=AVERAGEIFS($B$2:$B$12,$A$2:$A$12,">="&D2,$A$2:$A$12,"<="&EOMONTH(D2,0))`

Excel. Result on the sample sheet: 3 rows (E2:E4). [See it and try it](https://spreadsheetpractice.com/formulas/average-per-month)

### Average if another cell is not blank

`=AVERAGEIFS(C2:C8,B2:B8,"<>")`

Excel. Result on the sample sheet: 8.00. [See it and try it](https://spreadsheetpractice.com/formulas/average-if-another-cell-is-not-blank)

## Questions

### What does the AVERAGEIFS formula generator do?

You describe the task in plain English, and it writes the formula, using AVERAGEIFS where that's the right tool, for your table or a sample one. The formula is run in our engine in Excel and Google Sheets mode before you see it, so you get its result, not just a guess.

### What does AVERAGEIFS do?

AVERAGEIFS averages the values where every condition is true, such as Algebra scores from the fall term or passing scores only.

### Can I learn to write AVERAGEIFS formulas myself?

Yes. Each example below opens a page where you try the formula in a live grid and it's checked as you go, and the AVERAGEIFS function page has a practice exercise.

---

Spreadsheet Practice (https://spreadsheetpractice.com) teaches spreadsheet formulas by practice: every exercise is graded in a live grid and re-checked on changed data.
