Management & CommerceVery hardBusiness analyst · Excel test

A2:A101 hold product IDs stored as text (for example '101'), and C1 holds the number 101. What does =VLOOKUP(C1, A2:B101, 2, FALSE) return?

  1. A. The value next to '101', since Excel converts automatically
  2. B. 0
  3. C. #N/A, because the number 101 does not match the text '101'
  4. D. #VALUE!

Correct answer: C. #N/A, because the number 101 does not match the text '101'

Exact-match lookups compare type as well as value: the number 101 is not equal to the text '101'. Converting one side – for example looking up TEXT(C1,"0") or C1&"", or converting the column to numbers – fixes it.

More Operations, Supply Chain & Business Analytics questions

Exams that ask this topic