Recent Publish Post
IF Function Excel: Conditions लगाना सीखो
- Get link
- X
- Other Apps
Harsh Decode
UPGRADE WITH HARSH
IF Function Excel: Logical Conditions का Master Guide
By Harsh Saxena · 6 min read · Excel Formulas
Key Insight: IF function Excel ka sabse powerful logical function hai. Ye aapko "agar ye hua to ye karo, warna wo karo" logic lagane deta hai. Data analysis, reports, aur automation ka base hai.
Is Guide Me Kya Sikhenge
IF Function Kya Hai?
IF function aapko logical comparison karne deta hai kisi value aur expected result ke beech.
Ek IF statement ke do results ho sakte hain:
Pehla result return hoga
Doosra result return hoga
Example:
Matlab: Agar C2 me "Yes" hai to 1 do, warna 2 do
Syntax Breakdown
| Argument | Required | Description |
|---|---|---|
| logical_test | REQUIRED | Jo condition test karni hai |
| value_if_true | REQUIRED | True hone par jo value chahiye |
| value_if_false | OPTIONAL | False hone par jo value chahiye |
Quick Examples:
5 Practical Examples
Text Comparison
Cell C2 me "Yes" hai to 1 do, warna 2 do
Result: D2 me agar C2="Yes" hai to 1 aayega, nahi to 2
Number Comparison
Cell C2 me 1 hai to "Yes" likho, warna "No"
IF function text aur numbers dono evaluate kar sakta hai
Budget Check
Actual budget se zyada hai ya nahi
Agar C2 > B2 hai to "Over Budget" warna "Within Budget"
Mathematical Calculation
Text ki jagah calculation return karna
Agar Actual > Budgeted hai to difference calculate karo, warna 0 return karo
Sales Tax Calculation
Taxable item hai to 8.25% tax lagao
Agar E7="Yes" hai to F5 ka 8.25% calculate karo, warna 0
💡 Important: Text ko quotes me likhna zaroori hai: "Text". Exception: TRUE aur FALSE ko quotes nahi chahiye, Excel khud samajh jata hai.
Common Problems & Solutions
| Problem | Kya Galat Hua | Solution |
|---|---|---|
| 0 in cell | value_if_true ya value_if_false argument missing hai | Dono arguments me text add karo, ya TRUE/FALSE likho |
| #NAME? | Formula galat spell hua hai | IF spelling check karo, quotes sahi lagao |
Pro Tips
Multiple conditions check karne ke liye IF ke andar IF daal sakte ho: =IF(A1>90,"A",IF(A1>80,"B","C"))
Sirf = nahi, >, <, >=, <=, <> bhi use kar sakte ho comparisons ke liye
IF function errors bhi evaluate kar sakta hai. IFERROR ke saath combine karke aur powerful banao
IF Function Master Kar Liya?
Excel friends ke saath share karo jo abhi bhi manual checking karte hain!
WhatsApp Par Share KareinComment me batao - kaunsa example sabse useful laga?
Harsh Decode
Upgrade With Harsh · Excel Tips in Hindi
By Harsh Saxena
- Get link
- X
- Other Apps
Comments
Post a Comment
Welcome! Ask your Tech, Excel, or Office Hacks related queries here. Please avoid spam links.