Management & CommerceHardBusiness analyst · Excel test

A sheet has employee IDs in A2:A100 and departments in C2:C100. In row 1, the headers are A1 'ID', B1 'Name', C1 'Dept'. Which formula returns the department of the ID in F1 and still works if a new column is later inserted between B and C?

  1. A. =INDEX(C2:C100, MATCH(F1, A2:A100, 0))
  2. B. =VLOOKUP(F1, A2:C100, 3, FALSE)
  3. C. =VLOOKUP(F1, A2:C100, 3, TRUE)
  4. D. =INDEX(A2:C100, MATCH(F1, A2:A100, 0), 3)

Correct answer: A. =INDEX(C2:C100, MATCH(F1, A2:A100, 0))

INDEX/MATCH refers to the return column directly, so the reference shifts automatically when a column is inserted. VLOOKUP and INDEX with a hard-coded column number 3 would then return the wrong column, and TRUE would also allow an approximate match.

More Operations, Supply Chain & Business Analytics questions

Exams that ask this topic