Ravindra BagaleCourses & study guides Track your progress

Excel AVERAGEIF Function

Chala mitrano — today AVERAGEIF. One filter, then the mean — West region only, or tips above $10.

Fictional sample data for learning. Region averages for Nashik warehouses and Berlin stores. Mixed ₹ and €.

Purpose

Average cells that meet one condition.

Return value

The conditional average.

Syntax

AVERAGEIF(range, criteria, [average_range])

Arguments

ArgumentRequired?Description
rangeRequiredRange to test against criteria.
criteriaRequiredCondition, e.g. "West" or ">100".
average_rangeOptionalCells to average; defaults to range.

Version

All Excel versions. LibreOffice Calc and Google Sheets too.

How to use — Why → What → How

Why: Managers want the average for one slice: one city, one shift, one product line. Region averages for Nashik warehouses and Berlin stores. Mixed ₹ and €. In Indian back offices and foreign sister teams, AVERAGEIF shows up on scoreboards, QC sheets and queue dashboards every week.

What: AVERAGEIF tests range against criteria, then averages matching cells (or average_range). Read every argument in the table once before you type; each one changes the answer on purpose.

How — numbered steps:

  1. Type =AVERAGEIF(A2:A10,"Kolhapur",B2:B10).
  2. Use ">100" style criteria for numbers.
  3. Move to AVERAGEIFS for two+ filters.

Ravindra Bagale's Tip

Friends, after AVERAGEIF, find one column or range in a real workbook this week where this lesson saves time.

Ravindra Bagale's Tip

Friends, sleep on AVERAGEIF; rebuild example 1 tomorrow without looking.

Ravindra Bagale's Tip

Friends, say the business question in plain words before =AVERAGEIF.

Ravindra Bagale's Tip

Friends, check a known case with a calculator before you trust a long AVERAGEIF chain.

Ravindra Bagale's Tip

Friends, after you finish AVERAGEIF, open yesterday’s real workbook and find one place this function would have saved ten minutes.

Ravindra Bagale's Tip

Friends, treat AVERAGEIF like a seatbelt on status or city columns — check a known case first.

Download practice file: practice-averageif.xlsx (includes sheet About this data, practice sheets, and Answers).

Worked examples

1) City mean ₹

Two cities.

City₹
Kolhapur120
Austin80
Kolhapur200
Formula: =AVERAGEIF(A2:A4,"Kolhapur",B2:B4)

Result: 160

What it means: (120+200)÷2 = ₹160.

2) Tips above 7

Austin café.

Tip $
5
8
12
Formula: =AVERAGEIF(A2:A4,">7")

Result: 10

What it means: (8+12)÷2 = $10.

3) Same range

Scores >80.

Marks
72
85
90
Formula: =AVERAGEIF(A2:A4,">80")

Result: 87.5

What it means: (85+90)÷2.

4) Berlin €

Store West.

Region€
West40
East20
West60
Formula: =AVERAGEIF(A2:A4,"West",B2:B4)

Result: 50

What it means: €50 West mean.

5) No match

Missing city.

City₹
Pune100
Formula: =AVERAGEIF(A2:A2,"Mumbai",B2:B2)

Result: #DIV/0!

What it means: No matches → #DIV/0!.

6) Wildcard

Names starting A.

NameMarks
Asha70
Ben80
Ajay90
Formula: =AVERAGEIF(A2:A4,"A*",B2:B4)

Result: 80

What it means: (70+90)÷2.

About this data. Small demo rows for learning. Real sheets are longer; the same formula pattern scales when columns are clean.

Common errors and fixes

#DIV/0! — No rows matched criteria. Fix: Check spelling and wildcards.
Wrong mean — average_range misaligned. Fix: Same height as range.
Text numbers — Stored as text. Fix: VALUE or multiply by 1.

Notes and tips

  • Revisit the AVERAGEIF errors table after the quiz.
  • Build example 1 from memory on a blank sheet.
  • Check number vs text if a result looks wrong.
  • Teach one tip in Marathi or Hindi this week.
  • Keep currency symbols consistent inside one report column (practice mixes ₹ $ £ €).
  • Drill: city-wise mean on a four-row sheet from memory. Spell city names exactly.
  • AVERAGEIF vs SUMIF: same criteria idea; one returns mean, one returns total.
  • Fictional sample data only — names and amounts are for learning.
  • Print the AVERAGEIF revision card for one week of real worksheets.
  • Ask juniors to predict before they press Enter.
  • Track your top mistake with this function monthly.
  • Region averages for Nashik warehouses and Berlin stores. Mixed ₹ and €.
  • Interview tip: explain the business question before the formula.
  • Classroom drill: invent three brand-new formulas from your city without the page open.
  • If a result looks wrong, check blanks vs zeros before rewriting.
  • When Excel versions differ, note the LibreOffice / Sheets fallback in a cell comment.
  • Prefer clear ranges over whole-column refs on huge sheets if speed matters.
  • Document units (₹, kg, days) in the header so totals stay honest.
  • Print the revision card for AVERAGEIF for one week of real worksheets.
  • When helping a junior, ask them to predict before Enter.
  • Share one tip with a classmate in Marathi or Hindi.
  • Keep currency symbols consistent inside a single report column.
  • Interview tip: explain the business question before the formula.
  • If a result looks wrong, check blanks vs zeros before rewriting maths.
  • When Excel versions differ, write a LibreOffice fallback under a comment.

In real work

Drill: city-wise mean on a four-row sheet from memory. Spell city names exactly. Region averages for Nashik warehouses and Berlin stores. Mixed ₹ and €. Classroom drill: write three brand-new AVERAGEIF formulas on a blank sheet using names from your own city — if you can invent them without the page open, you own the skill. Then break one formula on purpose and watch the error; recovering from that break is half of interview readiness. Always verify with a known case before trusting a long chain. Keep a personal notebook of the one mistake you make most often with this function; review it monthly.

How it compares

AVERAGEIF vs SUMIF: same criteria idea; one returns mean, one returns total.

Interview corner

AVERAGEIF vs AVERAGEIFS?
One vs many conditions.
No match?
#DIV/0!.
average_range?
Optional; cells to average.

AVERAGE, AVERAGEIFS, SUMIF, COUNTIF

Practice tasks (10)

  1. Task 1. Average the Amount (₹) column for City = Kolhapur.
    =AVERAGEIF(CityRange,"Kolhapur",AmountRange).
  2. Task 2. Average Tip where Tip is greater than 7.
    Numeric criteria ">7" on Tip.
  3. Task 3. Average Amount for Region = West (watch currency column).
    Criteria on Region; average Amount.
  4. Task 4. Average Amount for names starting with A.
    Wildcard A* on the Name column.
  5. Task 5. Force a #DIV/0! by averaging a City with no rows — then fix criteria.
    AVERAGEIF divides by match count; no matches → error.
  6. Task 6. Interview: AVERAGEIF vs AVERAGEIFS in one sentence.
    Talk: one filter vs several.
  7. Task 7. Teach: criteria range vs average range with City and Amount.
    Where to filter vs what to average.
  8. Task 8. Build a City average table (3 cities) with AVERAGEIF fill-down.
    Lock data ranges; criteria relative.
  9. Task 9. Check a known City mean with a calculator before trusting the sheet.
    Seatbelt on averages.
  10. Task 10. Write the business question above the result (e.g. mean order value in Kolhapur).
    Plain English first.

Quick quiz

Q1. AVERAGEIF needs?
Q2. No matches?
Q3. Tips >7 average of 5,8,12?
Q4. Two conditions?
Q5. Wildcard for Asha/Ajay?

Answers: Q1=One condition, Q2=#DIV/0!, Q3=10, Q4=AVERAGEIFS, Q5=A* (check after you try).

Revision card

Standalone card (no tip or photo strip). QR opens this lesson. Download the PNG and revise offline.

Revision card: AVERAGEIF
AVERAGEIF revision card