Why it works
- What it does
- AVERAGEIF looks at one column, keeps the rows that pass a condition, and averages a second column for those rows. Use it to average by customer, by region, or to leave out a Total or Subtotal line.
- The shape of the formula
- =AVERAGEIF(column to test, condition, column to average)
- How to remember it
- Test first, average second: the condition column comes before the numbers.
- The usual mistake
- Putting the numbers first, as in SUM. AVERAGEIF then tests the numbers against the label and returns an error or a wrong figure.
Keep practicing
- AVERAGE without the Total lineHow do I get the average order value from an export?Open
- AVERAGEIFS: an average with two conditionsHow do I average days to pay for one customer type, paid invoices only?Open
- SUMIF: add up only the rows that matchHow do I total the invoices from one supplier?Open
- Lesson: Average, smallest, largestA short lesson in your workspace: the idea, small steps on a sheet, one task with new dataOpen
Updated