USES OF IF CONDITION IN EXCEL - Excel में IF कंडीशन (IF Condition) का उपयोग

 USES OF IF CONDITION IN EXCEL - Excel में IF कंडीशन (IF Condition) का उपयोग

The IF function is often used when you want to sort your data according to a given logic. The best part of the IF formula is that you can embed formulas and function in it.

IF फंक्शन Excel में सबसे उपयोगी लॉजिकल फंक्शन्स (LOGICAL FUNCTION) में से एक है। यह आपको कंडीशन्स CONDITION के आधार पर अलग-अलग रिजल्ट RESULTS दिखाने की अनुमति देता है।

IF CONDITION -EXCEL



   IF फंक्शन का सिंटेक्स (Syntax of If condition in Excel )

=IF(logical_test, [value_if_true], [value_if_false])

=IF(कंडीशन, यदि_सही_है_तो_यह_दिखाएं, यदि_गलत_है_तो_यह_दिखाएं)


Example:

=IF(C2<D3, ‘TRUE,’ ‘FALSE’) – Checks if the value at C3 is less than the value at D3. If the logic is true, let the cell value be TRUE, else, FALSE

=IF(A1>10, "10 से बड़ा", "10 से छोटा या बराबर")

- यदि सेल A1 में 10 से बड़ा नंबर है तो "10 से बड़ा" दिखाएगा

- अन्यथा "10 से छोटा या बराबर" दिखाएगा

 

=IF(C2 SUM(D1:D10), SUM(C1:C10, SUM(D1:D10)) – An example of a complex IF logic. First, it sums C1 to C10 and D1 to D10, then it compares the sum. If the sum of C1 to C10 is greater than SUM of D1 to D10, then it makes the value of a cell equal to the sum of C1 to C10. Otherwise, it makes it the SUM of D1 to D10.

  

उदाहरण 2: ग्रेड सिस्टम example of Grading system

=IF(B1>=90, "A", IF(B1>=80, "B", IF(B1>=70, "C", "D")))

- 90 या अधिक: ग्रेड A

- 80-89: ग्रेड B

- 70-79: ग्रेड C

- 70 से कम: ग्रेड D

x

0 Comments

Post a Comment

Post a Comment (0)

Previous Post Next Post