Management & CommerceVery hardBusiness analyst · Excel test

A2:A100 hold regions. What does =COUNTIFS(A2:A100, "North", A2:A100, "South") return, and which formula counts rows that are North or South?

  1. A. The number of North or South rows; no change is needed
  2. B. 0; use =COUNTIF(A2:A100, "North") + COUNTIF(A2:A100, "South")
  3. C. 0; use =COUNTIFS(A2:A100, "North" & "South")
  4. D. #VALUE!, because COUNTIFS cannot use the same range twice; use COUNTIF

Correct answer: B. 0; use =COUNTIF(A2:A100, "North") + COUNTIF(A2:A100, "South")

COUNTIFS joins its criteria with AND, and no cell can equal both North and South, so it returns 0. OR logic across values of one column is done by adding separate COUNTIFs (or with SUM(COUNTIF(range, {"North","South"}))).

More Operations, Supply Chain & Business Analytics questions

Exams that ask this topic