Management & CommerceVery hardBusiness analyst · Excel test

A2:A6 hold 'North', 'South', 'North', 'East', 'South'. What does =SUMPRODUCT(1/COUNTIF(A2:A6, A2:A6)) return?

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

Correct answer: C. 3

COUNTIF(A2:A6, A2:A6) returns 2, 2, 2, 1, 2. Their reciprocals 0.5, 0.5, 0.5, 1, 0.5 sum to 3 – the number of distinct regions (North, South, East).

More Operations, Supply Chain & Business Analytics questions

Exams that ask this topic