Management & CommerceHardMBA Placement · Business Analyst · Excel test

B2:B9 hold 40, 55, 70, 85, 100, 25, 90 and 15. What do P: =COUNTIF(B2:B9, ">"&AVERAGE(B2:B9)) and Q: =COUNTIF(B2:B9, ">AVERAGE(B2:B9)") return?

  1. A. 4 and 4
  2. B. 5 and 0
  3. C. 4 and 0
  4. D. 4 and #VALUE!

Correct answer: C. 4 and 0

P builds the criterion ">60" from the average (480/8 = 60) and counts 70, 85, 100, 90: 4. In Q the function is inside quotes, so it is the literal text 'AVERAGE(B2:B9)', which no number exceeds in COUNTIF's sense: 0, with no error.

More Operations, Supply Chain & Business Analytics questions

Exams that ask this topic