Ravindra BagaleCourses & study guides Track your progress

Guides

Excel में IF Function कैसे इस्तेमाल करें (Decision के लिए)

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

IF function test TRUE हो तो एक result, FALSE हो तो दूसरा — shop sheet पर High/Low या Pass/Fail labels के लिए perfect।

दोस्तों, Amount देखकर “High” या “Low” लिखना है? IF decide करता है। Dashboards और shop trackers को status words चाहिए, सिर्फ़ numbers नहीं। एक test, दो outcomes, fill down।

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

Vertical steps:

  1. Rule तय करो (जैसे Amount ≥ 100 → High)।
  2. Amount के बगल status cell क्लिक करो।
  3. =IF(B2>=100,"High","Low") टाइप करो।
  4. Enter।
  5. Column fill down।
  6. Number बदलो — label flip होगा।
=IF(B2>=100,"High","Low")

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

Before और after

Before

City Amount
Mumbai 150
Pune 80

After (Status column)

City Amount Status
Mumbai 150 High
Pune 80 Low
Before IF City amounts without status.

Before

After IF IF labels High and Low.

After

IF क्यों इस्तेमाल करें?

  1. कभी managers High/Low raw rupees से तेज़ पढ़ते हैं।
  2. Marks पर Pass/Fail — वही pattern।
  3. Phone-bill style: bill ≥ 1000 → “Over budget”, else “OK”।

IF क्या है?

IF एक logical test चलाता है। TRUE → दूसरा argument। FALSE → तीसरा argument।

Formula parts

=IF(B2>=100,"High","Low")
  1. B2>=100 — test।
  2. "High" — true हो तो (text को quotes)।
  3. "Low" — false हो तो।

क्या होता है (tiny numbers)

  1. Mumbai row: 150 ≥ 100 → TRUE → High।
  2. Pune row: 80 ≥ 100 → FALSE → Low।
  3. Excel Amount नहीं बदलता; सिर्फ़ label लिखता है।

Vertical practice steps

  1. दो rows के लिए City + Amount।
  2. C2 में IF formula।
  3. C3 तक fill।
  4. Pune 120 करो → High।
  5. Pass/Fail: marks पर =IF(C2>=35,"Pass","Fail")।
  6. बाद में: nested IF या IFS तीन bands (course)।

Nested IF — सिर्फ़ preview

=IF(B2>=150,"Elite",IF(B2>=100,"High","Low"))
  1. Nested में ऊपर से पहला true जीतता है।
  2. तीन levels से ज़्यादा → Excel में IFS prefer करो।

Ravindra Bagale's Tip

Text results को quotes। Thresholds के numbers अक्सर बिना quotes। छात्र "100" text और numeric Amount मिलाते हैं — test “टूटा” लगता है। Types एक बार जाँचो।

Practice task

  1. पाँच shop rows Amount के साथ।
  2. Status IF ≥ 100।
  3. दूसरी sheet पर marks Pass/Fail।
  4. Threshold G1 में रखो; B2>=$G$1 इस्तेमाल करो।

Samajla ka? IF = test, then, else. High/Low और Pass/Fail एक ही idea। आगे SUMIF try करो।

Frequently asked questions

What does IF do?

IF runs a logical test. If TRUE it returns the second argument; if FALSE it returns the third.

Basic IF syntax?

IF(logical_test, value_if_true, value_if_false). Quotes around text results.

Pass/Fail example?

IF(C2>=35,"Pass","Fail") for a marks sheet — same idea as High/Low on sales.

When do I nest IF?

When you need more than two outcomes. Prefer IFS in newer Excel when available.

IF shows FALSE unexpectedly?

Often a missing else value, or the test never matches because of text vs number.

Course lesson?

Chapter 3 — IF, nested IF and IFS. Linked below.