If cell D2 contains 102, what will the formula =VLOOKUP(D2, A2:B5, 2, FALSE) return?
medium
A. Error
B. 102
C. 7.50
D. 6.25
Solution
Step 1: Identify the search_key and range
The search_key is 102 from D2, and the range is A2:B5.
Step 2: Find 102 in column A and return column 2 value
102 is in A3, so return B3 which is 7.50.
Final Answer:
7.50 -> Option C
Quick Check:
Lookup 102 price = 7.50 [OK]
Hint: Match search_key in first column, return value from index column [OK]
Common Mistakes:
Returning the search_key instead of the price
Confusing column index number
Using TRUE instead of FALSE causing wrong match
4. A user wrote the formula =VLOOKUP(A2, B2:C10, 3, FALSE) but it returns an error. What is the most likely reason?
medium
A. The column index 3 is outside the range B2:C10
B. The search key A2 is missing
C. The range B2:C10 is not sorted
D. The FALSE argument is invalid
Solution
Step 1: Check the range columns
Range B2:C10 has only 2 columns (B and C).
Step 2: Check the column index
Column index 3 asks for a third column, which does not exist in the range.
Final Answer:
The column index 3 is outside the range B2:C10 -> Option A
Quick Check:
Column index must be ≤ number of columns [OK]
Hint: Column index cannot exceed range width [OK]
Common Mistakes:
Assuming FALSE causes error
Thinking range must be sorted with FALSE
Ignoring column count in range
5. You have two tables: one with employee IDs and names (A2:B6), and another with employee IDs and sales numbers (D2:E6). How can you create a new column next to the names that shows each employee's sales using VLOOKUP?
hard
A. Use =VLOOKUP(A2, D2:E6, 2, FALSE) next to each name
B. Use =VLOOKUP(B2, A2:B6, 1, TRUE) next to each name
C. Use =VLOOKUP(E2, A2:B6, 2, FALSE) next to each name
D. Use =VLOOKUP(D2, A2:B6, 2, TRUE) next to each name
Solution
Step 1: Identify the lookup key and range
The employee ID in A2 is the key to find sales in D2:E6.
Step 2: Use VLOOKUP with correct parameters
Formula =VLOOKUP(A2, D2:E6, 2, FALSE) looks up ID in D2:E6 and returns sales from column 2.
Final Answer:
Use =VLOOKUP(A2, D2:E6, 2, FALSE) next to each name -> Option A
Quick Check:
Lookup ID in sales table to get sales [OK]
Hint: Lookup ID in sales table, return sales column [OK]
Common Mistakes:
Using name instead of ID as search key
Wrong range or column index
Using TRUE causing approximate match errors
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.