Management & CommerceHardBusiness analyst · Excel test

A sales table has months in B1:M1 (Jan to Dec) and product names in A2:A50. Which formula returns the March sales of the product named in P1?

  1. A. =INDEX(B2:M50, MATCH("Mar", B1:M1, 0), MATCH(P1, A2:A50, 0))
  2. B. =INDEX(B2:M50, MATCH(P1, A2:A50, 0), MATCH("Mar", B1:M1, 0))
  3. C. =VLOOKUP(P1, A2:M50, 3, FALSE)
  4. D. =INDEX(A2:M50, MATCH(P1, A2:A50, 0), MATCH("Mar", B1:M1, 0))

Correct answer: B. =INDEX(B2:M50, MATCH(P1, A2:A50, 0), MATCH("Mar", B1:M1, 0))

INDEX(array, row, column) needs the row from the product match and the column from the month match, both relative to B2:M50. Swapping them mixes rows and columns; using A2:M50 shifts the column by one and returns February; VLOOKUP column 3 also points at February.

More Operations, Supply Chain & Business Analytics questions

Exams that ask this topic