Excel COUNTIFS Function
Chala mitrano — today COUNTIFS. Many filters, one tally — Open AND Priority High.
चला मित्रांनो — आज COUNTIFS. अनेक फिल्टर, एक मोजणी — Open आणि Priority High.
चलो दोस्तों — आज COUNTIFS. कई फ़िल्टर, एक गिनती — Open और Priority High.
Purpose
Count cells that meet several conditions.
Return value
How many rows match every criteria pair.
Syntax
Arguments
| Argument | Required? | Description |
|---|---|---|
criteria_range1 | Required | First test range. |
criteria1 | Required | First condition. |
criteria_range2, criteria2,… | Optional | More pairs. |
Version
Excel 2019 / Microsoft 365. LibreOffice has close equivalents; Sheets too.
How to use — Why → What → How
Why: Real queues filter on status and priority together. COUNTIFS does that without helper columns. Multi-filter headcounts for Kochi plants and Boston helpdesks. In Indian back offices and foreign sister teams, COUNTIFS shows up on scoreboards, QC sheets and queue dashboards every week.
What: COUNTIFS counts rows where every criteria pair is true. All ranges must be the same shape. Read every argument in the table once before you type; each one changes the answer on purpose.
How — numbered steps:
- List each range+criteria pair.
- Keep ranges same height.
- Start from COUNTIF when you only need one filter.
Ravindra Bagale's Tip
Friends, after COUNTIFS, find one column or range in a real workbook this week where this lesson saves time.
Ravindra Bagale's Tip – मराठी
मित्रांनो, COUNTIFS नंतर या आठवड्यात खरी workbook मधील एक संख्या column सुधारा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, COUNTIFS के बाद इस हफ़्ते असली workbook का एक संख्या column सुधारो.
Ravindra Bagale's Tip
Friends, sleep on COUNTIFS; rebuild example 1 tomorrow without looking.
Ravindra Bagale's Tip – मराठी
मित्रांनो, COUNTIFS वर झोपा; उद्या उदाहरण 1 न पाहता लिहा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, COUNTIFS पर सोकर कल उदाहरण 1 बिना देखे लिखो.
Ravindra Bagale's Tip
Friends, say the business question in plain words before =COUNTIFS.
Ravindra Bagale's Tip – मराठी
मित्रांनो, =COUNTIFS आधी व्यवसाय प्रश्न साध्या शब्दांत सांगा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, =COUNTIFS से पहले व्यवसाय प्रश्न सादे शब्दों में बोलो.
Ravindra Bagale's Tip
Friends, check a known case with a calculator before you trust a long COUNTIFS chain.
Ravindra Bagale's Tip – मराठी
मित्रांनो, लांब COUNTIFS chain वर विश्वास ठेवण्यापूर्वी कॅल्क्युलेटरने एक ज्ञात case तपासा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, लंबी COUNTIFS chain पर भरोसा करने से पहले कैलकुलेटर से एक जाना हुआ case जाँचो.
Ravindra Bagale's Tip
Friends, after you finish COUNTIFS, open yesterday’s real workbook and find one place this function would have saved ten minutes.
Ravindra Bagale's Tip – मराठी
मित्रांनो, COUNTIFS नंतर कालची खरी वर्कबुक उघडा आणि शोधा जिथे हे फंक्शन दहा मिनिटे वाचवू शकले असते.
Ravindra Bagale's Tip – हिंदी
दोस्तों, COUNTIFS के बाद कल की असली वर्कबुक खोलो और ढूँढो जहाँ यह फ़ंक्शन दस मिनट बचा सकता था.
Ravindra Bagale's Tip
Friends, treat COUNTIFS like a seatbelt on status or city columns — check a known case first.
Ravindra Bagale's Tip – मराठी
मित्रांनो, COUNTIFS ला status किंवा city columns वरील seatbelt समजा — आधी ज्ञात case तपासा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, COUNTIFS को status या city columns पर seatbelt समझो — पहले जाना हुआ case जाँचो.
Download practice file: practice-countifs.xlsx (includes sheet About this data, practice sheets, and Answers).
Worked examples
1) City+status
Kochi.
| City | Status |
|---|---|
| Kochi | Open |
| Kochi | Closed |
| Boston | Open |
Result: 1
What it means: One Kochi Open.
2) Priority
Boston.
| Status | Pri |
|---|---|
| Open | High |
| Open | Low |
| Closed | High |
Result: 1
What it means: One Open High.
3) Numeric AND
Marks.
| Batch | Marks |
|---|---|
| A | 70 |
| A | 90 |
| B | 80 |
Result: 1
What it means: One row.
4) Two cities
Export.
| City | Type |
|---|---|
| Kochi | Export |
| Kochi | Local |
| Boston | Export |
Result: 1
What it means: One.
5) No match
Impossible.
| City | Status |
|---|---|
| Pune | Open |
Result: 0
What it means: Zero.
6) Three pairs
Tight filter.
| City | Status | Pri |
|---|---|---|
| Kochi | Open | High |
| Kochi | Open | Low |
Result: 1
What it means: All three match once.
Common errors and fixes
Notes and tips
- Revisit the COUNTIFS 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: two-filter ticket count from memory on a blank sheet.
- COUNTIFS vs SUMIFS: same pairs; count versus total.
- Fictional sample data only — names and amounts are for learning.
- Print the COUNTIFS revision card for one week of real worksheets.
- Ask juniors to predict before they press Enter.
- Track your top mistake with this function monthly.
- Multi-filter headcounts for Kochi plants and Boston helpdesks.
- 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 COUNTIFS 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: two-filter ticket count from memory on a blank sheet. Multi-filter headcounts for Kochi plants and Boston helpdesks. Classroom drill: write three brand-new COUNTIFS 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
COUNTIFS vs SUMIFS: same pairs; count versus total.
Interview corner
- AND or OR?
- AND across pairs.
- No match?
- 0.
- vs COUNTIF?
- Many vs one.
Related functions
Practice tasks (10)
- Task 1. Count rows where City is Kochi and Status is Open.=COUNTIFS(CityRange,"Kochi",StatusRange,"Open").
- Task 2. Count Open tickets that are also High priority.Two criteria pairs: Status and Priority.
- Task 3. Count Batch A rows with Score greater than 75.Text criteria on Batch; numeric ">75" on Score.
- Task 4. Add a third filter (e.g. Region West) on top of City + Status.COUNTIFS takes criteria in pairs — keep ranges the same height.
- Task 5. Confirm no matching City+Status pair returns 0.Zero is success, not an error.
- Task 6. Interview: how is COUNTIFS different from nesting IF?Talk: AND across columns without writing IF.
- Task 7. Teach: say the business question before the formula (two filters).Example: "How many Kochi orders are still open?"
- Task 8. Count blanks in Status among City = Pune only.Pair City="Pune" with Status="".
- Task 9. Build a small two-filter tally table and fill formulas sideways.Lock data ranges with $; leave criteria cells relative.
- Task 10. Document units/filters in a note above the result cell.Plain English beats a naked number in a report.
Quick quiz
Answers: Q1=AND, Q2=0, Q3=COUNTIF fine, Q4=#VALUE!, Q5=1 (check after you try).
Revision card
Standalone card (no tip or photo strip). QR opens this lesson. Download the PNG and revise offline.