Computer AwarenessVery hardIBPS PO · SBI PO · RRB NTPC

In Excel, A1 = 60 and B1 = 45. What does =IF(AND(A1>50,B1>50),"Pass","Fail") return?

  1. A. Fail
  2. B. FALSE
  3. C. Pass
  4. D. #VALUE!

Correct answer: A. Fail

AND needs both conditions true; B1 > 50 is false, so AND returns FALSE and IF gives “Fail”. With OR instead of AND, the result would be “Pass”.

हिंदी में

Excel में A1 = 60 और B1 = 45 है। =IF(AND(A1>50,B1>50),"Pass","Fail") क्या लौटाता है?

  1. A. Fail
  2. B. FALSE
  3. C. Pass
  4. D. #VALUE!

उत्तर: A. AND के लिए दोनों शर्तें सत्य होनी चाहिए; B1 > 50 असत्य है, इसलिए AND का मान FALSE आता है और IF “Fail” देता है। AND की जगह OR होता तो परिणाम “Pass” होता।

More MS Office, Internet and Cyber Security questions

Exams that ask this topic