Computer AwarenessVery hardIBPS PO Mains · SBI PO

In Excel, A1 = 5, A2 = Yes, A3 is empty, A4 holds the formula ="", A5 = 0 and A6 is empty. What do =COUNTA(A1:A6) and =COUNTBLANK(A1:A6) return?

  1. A. 3 and 3
  2. B. 4 and 2
  3. C. 3 and 2
  4. D. 4 and 3

Correct answer: D. 4 and 3

COUNTA counts every non-empty cell, and A4 contains a formula, so 5, Yes, the formula and 0 make 4. COUNTBLANK counts truly empty cells AND cells showing empty text, so A3, A4 and A6 make 3; a 0 is not blank.

हिंदी में

Excel में A1 = 5 है, A2 = Yes है, A3 रिक्त है, A4 में सूत्र ="" है, A5 = 0 है और A6 रिक्त है। =COUNTA(A1:A6) और =COUNTBLANK(A1:A6) क्रमशः क्या लौटाते हैं?

  1. A. 3 और 3
  2. B. 4 और 2
  3. C. 3 और 2
  4. D. 4 और 3

उत्तर: D. COUNTA हर गैर-रिक्त सेल गिनता है, और A4 में सूत्र है, इसलिए 5, Yes, सूत्र और 0 मिलकर 4 होते हैं। COUNTBLANK वास्तव में रिक्त सेल और रिक्त पाठ दिखाने वाले सेल दोनों गिनता है, इसलिए A3, A4 और A6 मिलकर 3 होते हैं; 0 रिक्त नहीं है।

More MS Office, Internet and Cyber Security questions

Exams that ask this topic