Computer AwarenessVery hardSSC CGL · IBPS PO · SBI Clerk · RRB NTPC

In Excel, A1:A6 contain: the number 12, an empty cell, a cell with the formula ="" , the number 0, the text x, and another empty cell. What do =COUNTBLANK(A1:A6) and =COUNTA(A1:A6) return, respectively?

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

Correct answer: D. 3 and 4

COUNTBLANK counts empty cells and cells holding an empty-text result, so 3 (two empty and the ="" cell). COUNTA counts every non-empty cell, including the ="" cell and the 0, so 12, "", 0 and x give 4.

हिंदी में

Excel में A1:A6 में हैं: संख्या 12, एक रिक्त सेल, सूत्र ="" वाला सेल, संख्या 0, पाठ x, और एक और रिक्त सेल। =COUNTBLANK(A1:A6) और =COUNTA(A1:A6) क्रमशः क्या लौटाते हैं?

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

उत्तर: D. COUNTBLANK रिक्त सेलों और रिक्त-पाठ परिणाम वाले सेलों को गिनता है, इसलिए 3 (दो रिक्त और ="" वाला सेल)। COUNTA हर गैर-रिक्त सेल गिनता है, ="" वाला सेल और 0 भी, अतः 12, "", 0 और x मिलकर 4 देते हैं।

More MS Office, Internet and Cyber Security questions

Exams that ask this topic