Ravindra BagaleCourses & study guides Track your progress

Guides

Excel में COUNTIF और COUNTIFS कैसे इस्तेमाल करें

Read this guide in: English · मराठी · हिंदी

COUNTIF एक condition मिलने वाली rows गिनता है। COUNTIFS कई conditions मिलने वाली rows गिनता है।

दोस्तों, कुल रुपये नहीं — “कितने orders?” चाहिए। COUNTIF गिनता है। Staffing और stock सवालों को row counts चाहिए। SUMIF जैसी ही shop sheet।

संक्षिप्त उत्तर

Vertical steps:

  1. City / Channel columns इस्तेमाल करो।
  2. =COUNTIF(CityRange,"Mumbai") → Mumbai rows कितनी।
  3. =COUNTIFS(CityRange,"Mumbai",ChannelRange,"Online") → दोनों rules।
  4. AutoFilter count से तुलना।
  5. Amount पर ">=100" — high-value lines।
  6. हर criteria range same height रखो।
=COUNTIF(A2:A4,"Mumbai")
=COUNTIFS(A2:A4,"Mumbai",B2:B4,"Online")

Language: English · मराठी · हिंदी

Before और after

Before — तीन orders

City Channel Amount
Mumbai Online 100
Mumbai Store 50
Pune Online 40

After — COUNTIF Mumbai → 2 (150 रुपये नहीं — दो rows)

Metric Result
COUNTIF Mumbai 2
COUNTIFS Mumbai+Online 1
Before COUNTIF Three order rows before counting.

Before

After COUNTIF Counts show 2 and 1.

After

COUNTIF / COUNTIFS क्यों?

  1. SUMIF जवाब: “कितने पैसे”।
  2. COUNTIF जवाब: “कितनी lines / orders / customers”।
  3. Interviews में दोनों साथ आते हैं।

क्या होता है

  1. COUNTIF Mumbai → rows 1 और 2 → 2।
  2. COUNTIFS Mumbai + Online → सिर्फ़ row 1 → 1।
  3. COUNTIF Amount ">=100" → सिर्फ़ 100 → 1।

Vertical practice steps

  1. तीन-row table फिर बनाओ।
  2. COUNTIF City Mumbai → 2।
  3. COUNTIF City Pune → 1।
  4. COUNTIFS Mumbai Online → 1।
  5. AutoFilter City = Mumbai; 2 visible rows confirm।
  6. चौथी Mumbai Online row; recount → 3 और 2।

COUNTIF vs SUMIF

Need Function
Matching rows कितनी COUNTIF / COUNTIFS
Matching Amount total SUMIF / SUMIFS

Ravindra Bagale's Tip

छात्र COUNTIF देखकर रुपये उम्मीद करते हैं। Count = rows। Sum = money। Week one sticky note। Simple — powerful।

Practice task

  1. दस rows shop sales (mix cities)।
  2. हर city COUNTIF।
  3. City + channel COUNTIFS।
  4. Amount पर एक COUNTIF ">=100"।

Samajla ka? COUNTIF एक rule से rows गिनता है; COUNTIFS कई से। Money sum नहीं। आगे INDEX+MATCH।

Frequently asked questions

COUNTIF vs COUNTIFS?

COUNTIF = one condition. COUNTIFS = several conditions (AND logic).

Does COUNTIF sum money?

No. It counts rows. Use SUMIF when you need rupee totals.

Count blanks?

COUNTBLANK for empty cells, or COUNTIF(range,"") in some cases.

Wildcards?

Yes. COUNTIF(A:A,"Mum*") can count cities starting with Mum — use carefully.

Zero when you expect a number?

Check spelling, trailing spaces, and that ranges align.

Course lesson?

Chapter 3 — COUNT family including COUNTIF and COUNTIFS.