Management & CommerceVery hardBusiness analyst · Excel test

A1 contains 5, A2 is empty, A3 contains the formula ="" (which shows nothing) and A4 contains the text x. What do =COUNTBLANK(A1:A4) and =COUNTA(A1:A4) return?

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

Correct answer: C. 2 and 3

COUNTBLANK counts truly empty cells and cells whose formula returns an empty string, so A2 and A3 give 2. COUNTA counts every non-empty cell, including a formula returning "", so A1, A3 and A4 give 3. A3 is counted by both.

More Operations, Supply Chain & Business Analytics questions

Exams that ask this topic