Excel AVERAGEIF Function
Chala mitrano — today AVERAGEIF. One filter, then the mean — West region only, or tips above $10.
चला मित्रांनो — आज AVERAGEIF. एक फिल्टर, मग सरासरी — फक्त West region, किंवा $10 पेक्षा जास्त tips.
चलो दोस्तों — आज AVERAGEIF. एक फ़िल्टर, फिर औसत — सिर्फ़ West region, या $10 से ज़्यादा tips.
Purpose
Average cells that meet one condition.
Return value
The conditional average.
Syntax
Arguments
| Argument | Required? | Description |
|---|---|---|
range | Required | Range to test against criteria. |
criteria | Required | Condition, e.g. "West" or ">100". |
average_range | Optional | Cells 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:
- Type =AVERAGEIF(A2:A10,"Kolhapur",B2:B10).
- Use ">100" style criteria for numbers.
- 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 – मराठी
मित्रांनो, AVERAGEIF नंतर या आठवड्यात खरी workbook मधील एक संख्या column सुधारा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, AVERAGEIF के बाद इस हफ़्ते असली workbook का एक संख्या column सुधारो.
Ravindra Bagale's Tip
Friends, sleep on AVERAGEIF; rebuild example 1 tomorrow without looking.
Ravindra Bagale's Tip – मराठी
मित्रांनो, AVERAGEIF वर झोपा; उद्या उदाहरण 1 न पाहता लिहा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, AVERAGEIF पर सोकर कल उदाहरण 1 बिना देखे लिखो.
Ravindra Bagale's Tip
Friends, say the business question in plain words before =AVERAGEIF.
Ravindra Bagale's Tip – मराठी
मित्रांनो, =AVERAGEIF आधी व्यवसाय प्रश्न साध्या शब्दांत सांगा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, =AVERAGEIF से पहले व्यवसाय प्रश्न सादे शब्दों में बोलो.
Ravindra Bagale's Tip
Friends, check a known case with a calculator before you trust a long AVERAGEIF chain.
Ravindra Bagale's Tip – मराठी
मित्रांनो, लांब AVERAGEIF chain वर विश्वास ठेवण्यापूर्वी कॅल्क्युलेटरने एक ज्ञात case तपासा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, लंबी AVERAGEIF chain पर भरोसा करने से पहले कैलकुलेटर से एक जाना हुआ case जाँचो.
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 – मराठी
मित्रांनो, AVERAGEIF नंतर कालची खरी वर्कबुक उघडा आणि शोधा जिथे हे फंक्शन दहा मिनिटे वाचवू शकले असते.
Ravindra Bagale's Tip – हिंदी
दोस्तों, AVERAGEIF के बाद कल की असली वर्कबुक खोलो और ढूँढो जहाँ यह फ़ंक्शन दस मिनट बचा सकता था.
Ravindra Bagale's Tip
Friends, treat AVERAGEIF like a seatbelt on status or city columns — check a known case first.
Ravindra Bagale's Tip – मराठी
मित्रांनो, AVERAGEIF ला status किंवा city columns वरील seatbelt समजा — आधी ज्ञात case तपासा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, AVERAGEIF को status या city columns पर seatbelt समझो — पहले जाना हुआ case जाँचो.
Download practice file: practice-averageif.xlsx (includes sheet About this data, practice sheets, and Answers).
Worked examples
1) City mean ₹
Two cities.
| City | ₹ |
|---|---|
| Kolhapur | 120 |
| Austin | 80 |
| Kolhapur | 200 |
Result: 160
What it means: (120+200)÷2 = ₹160.
2) Tips above 7
Austin café.
| Tip $ |
|---|
| 5 |
| 8 |
| 12 |
Result: 10
What it means: (8+12)÷2 = $10.
3) Same range
Scores >80.
| Marks |
|---|
| 72 |
| 85 |
| 90 |
Result: 87.5
What it means: (85+90)÷2.
4) Berlin €
Store West.
| Region | € |
|---|---|
| West | 40 |
| East | 20 |
| West | 60 |
Result: 50
What it means: €50 West mean.
5) No match
Missing city.
| City | ₹ |
|---|---|
| Pune | 100 |
Result: #DIV/0!
What it means: No matches → #DIV/0!.
6) Wildcard
Names starting A.
| Name | Marks |
|---|---|
| Asha | 70 |
| Ben | 80 |
| Ajay | 90 |
Result: 80
What it means: (70+90)÷2.
Common errors and fixes
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.
Related functions
AVERAGE, AVERAGEIFS, SUMIF, COUNTIF
Practice tasks (10)
- Task 1. Average the Amount (₹) column for City = Kolhapur.=AVERAGEIF(CityRange,"Kolhapur",AmountRange).
- Task 2. Average Tip where Tip is greater than 7.Numeric criteria ">7" on Tip.
- Task 3. Average Amount for Region = West (watch currency column).Criteria on Region; average Amount.
- Task 4. Average Amount for names starting with A.Wildcard A* on the Name column.
- Task 5. Force a #DIV/0! by averaging a City with no rows — then fix criteria.AVERAGEIF divides by match count; no matches → error.
- Task 6. Interview: AVERAGEIF vs AVERAGEIFS in one sentence.Talk: one filter vs several.
- Task 7. Teach: criteria range vs average range with City and Amount.Where to filter vs what to average.
- Task 8. Build a City average table (3 cities) with AVERAGEIF fill-down.Lock data ranges; criteria relative.
- Task 9. Check a known City mean with a calculator before trusting the sheet.Seatbelt on averages.
- Task 10. Write the business question above the result (e.g. mean order value in Kolhapur).Plain English first.
Quick quiz
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.