Excel SUMIF Function
Chala mitrano — today SUMIF. One-condition total — Rice only, or amounts over 100 — without a helper column.
चला मित्रांनो — आज SUMIF. एक अट असलेले total — फक्त Rice, किंवा 100 पेक्षा जास्त — helper शिवाय.
चलो दोस्तों — आज SUMIF. एक शर्त वाला total — सिर्फ़ Rice, या 100 से ज़्यादा — helper के बिना.
Purpose
Add cells that meet one condition.
Return value
The conditional total.
Syntax
Arguments
| Argument | Required? | Description |
|---|---|---|
range | Required | Cells to test against the criteria. |
criteria | Required | What to match (number, text, or expression like ">100"). |
sum_range | Optional | Cells to add; if omitted, adds the range itself. |
Version
Excel 2003+. LibreOffice Calc too.
How to use — Why → What → How
Why: Bosses ask ‘total of Dairy only’ every evening. SUMIF answers with one condition. Category totals in Nagpur wholesale and Manchester grocery. Mixed ₹ and £. In Indian back offices and foreign sister teams, SUMIF shows up on totals, rates and pack sheets every week.
What: SUMIF tests each cell in range; when it matches criteria, it adds the matching cell from sum_range (or from range if sum_range is omitted). Read every argument in the table once before you type; each one changes the answer on purpose.
How — numbered steps:
- Type =SUMIF(A2:A20,"Rice",B2:B20).
- Use ">100" for number tests.
- Prefer SUMIFS for two or more conditions.
Ravindra Bagale's Tip
Friends, after SUMIF, find one column or range in a real workbook this week where this lesson saves time.
Ravindra Bagale's Tip – मराठी
मित्रांनो, SUMIF नंतर या आठवड्यात खरी workbook मधील एक संख्या column सुधारा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, SUMIF के बाद इस हफ़्ते असली workbook का एक संख्या column सुधारो.
Ravindra Bagale's Tip
Friends, sleep on SUMIF; rebuild example 1 tomorrow without looking.
Ravindra Bagale's Tip – मराठी
मित्रांनो, SUMIF वर झोपा; उद्या उदाहरण 1 न पाहता लिहा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, SUMIF पर सोकर कल उदाहरण 1 बिना देखे लिखो.
Ravindra Bagale's Tip
Friends, say the business question in plain words before =SUMIF.
Ravindra Bagale's Tip – मराठी
मित्रांनो, =SUMIF आधी व्यवसाय प्रश्न साध्या शब्दांत सांगा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, =SUMIF से पहले व्यवसाय प्रश्न सादे शब्दों में बोलो.
Ravindra Bagale's Tip
Friends, check a known case with a calculator before you trust a long SUMIF chain.
Ravindra Bagale's Tip – मराठी
मित्रांनो, लांब SUMIF chain वर विश्वास ठेवण्यापूर्वी कॅल्क्युलेटरने एक ज्ञात case तपासा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, लंबी SUMIF chain पर भरोसा करने से पहले कैलकुलेटर से एक जाना हुआ case जाँचो.
Ravindra Bagale's Tip
Friends, after you finish SUMIF, open yesterday’s real workbook and find one place this function would have saved ten minutes.
Ravindra Bagale's Tip – मराठी
मित्रांनो, SUMIF नंतर कालची खरी वर्कबुक उघडा आणि शोधा जिथे हे फंक्शन दहा मिनिटे वाचवू शकले असते.
Ravindra Bagale's Tip – हिंदी
दोस्तों, SUMIF के बाद कल की असली वर्कबुक खोलो और ढूँढो जहाँ यह फ़ंक्शन दस मिनट बचा सकता था.
Ravindra Bagale's Tip
Friends, treat SUMIF like a seatbelt on number columns — check a known case first.
Ravindra Bagale's Tip – मराठी
मित्रांनो, SUMIF ला संख्या columns वरील seatbelt समजा — आधी ज्ञात case तपासा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, SUMIF को संख्या columns पर seatbelt समझो — पहले जाना हुआ case जाँचो.
Download practice file: practice-sumif.xlsx (includes sheet About this data, practice sheets, and Answers).
Worked examples
1) Category ₹
Nagpur wholesale.
| Cat | ₹ |
|---|---|
| Rice | 120 |
| Dal | 80 |
| Rice | 90 |
Result: 210
What it means: 120+90 = ₹210.
2) Greater than
Big tickets.
| ₹ |
|---|
| 50 |
| 150 |
| 200 |
Result: 350
What it means: 150+200; sum_range omitted.
3) Manchester £
Dairy aisle.
| Cat | £ |
|---|---|
| Dairy | 12 |
| Bakery | 8 |
| Dairy | 5 |
Result: 17
What it means: £17 Dairy.
4) Not equal
Exclude Test rows.
| City | ₹ |
|---|---|
| Pune | 10 |
| Test | 99 |
| Surat | 20 |
Result: 30
What it means: Skip Test.
5) Wildcard
SKU starts with A.
| SKU | ₹ |
|---|---|
| A-01 | 10 |
| B-02 | 20 |
| A-09 | 15 |
Result: 25
What it means: A-01 + A-09.
6) One condition only
City+Cat needs SUMIFS.
| Cat | City | ₹ |
|---|---|---|
| Rice | Pune | 50 |
Result: 50
What it means: For City and Cat together, use SUMIFS.
Common errors and fixes
Notes and tips
- Revisit the SUMIF 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: Dairy-only total with SUMIF from memory. Move to SUMIFS the day a second filter appears.
- SUMIF vs SUMIFS: one criterion versus many.
- Fictional sample data only — names and amounts are for learning.
- Print the SUMIF revision card for one week of real worksheets.
- Ask juniors to predict before they press Enter.
- Track your top mistake with this function monthly.
- Category totals in Nagpur wholesale and Manchester grocery. 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 SUMIF 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: Dairy-only total with SUMIF from memory. Move to SUMIFS the day a second filter appears. Category totals in Nagpur wholesale and Manchester grocery. Mixed ₹ and £. Classroom drill: write three brand-new SUMIF 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
SUMIF vs SUMIFS: one criterion versus many.
Interview corner
- One vs many criteria?
- SUMIF vs SUMIFS.
- Wildcards?
- * and ?.
- No match?
- 0.
Related functions
SUM, SUMIFS, COUNTIF, AVERAGEIF
Practice tasks (10)
- Task 1. Total the Amount column for rows where Item is Rice.=SUMIF(ItemRange,"Rice",AmountRange).
- Task 2. Total Amount where Amount is greater than 100.Criteria and sum range can be the same column: ">100".
- Task 3. Total Amount excluding Item = Test (<>Test).Criteria "<>Test" on the Item column.
- Task 4. Total Amount for Item names starting with A (A*).Wildcard criteria on Item; sum Amount.
- Task 5. In one sentence, when do you need SUMIFS instead of SUMIF?Talk: two or more conditions.
- Task 6. Fill a category total table (Rice / Milk / Bread) with SUMIF.Lock Amount and Item ranges; criteria cell relative.
- Task 7. Teach a junior: criteria range vs sum range using Item and Amount.Where to look vs what to add.
- Task 8. Show that a non-matching Item returns 0, not an error.Zero total is valid.
- Task 9. Compare one SUMIF total with a hand filter on the same Item.Trust but verify on a known case.
- Task 10. Write the business question above the formula (e.g. Rice sales today).Plain words before =SUMIF.
Quick quiz
Answers: Q1=One, Q2=SUMIFS, Q3=Numbers greater than 100, Q4=Starts with A, Q5=0 (check after you try).
Revision card
Standalone card (no tip or photo strip). QR opens this lesson. Download the PNG and revise offline.