VLOOKUP practice exercises (free, checked instantly)
No download, no sign-up3 exercises · checked instantly
VLOOKUP is the function job tests ask about most, and the one that goes wrong in the most ways: a missing FALSE, a miscounted column, an unlocked table. These exercises use one order sheet and its price list. You'll look up prices, use a lookup inside a line-total formula, then repair a lookup that works in the first row and returns #N/A further down. Every answer is checked on all the rows it fills.
Quick refresher
VLOOKUP(lookup_value, table_array, col_index_num, FALSE) searches the first column of the table for the value and returns the column you name, counting the table's first column as 1. FALSE asks for an exact match. Lock the table with $ before filling down. The VLOOKUP function reference explains each argument, and VLOOKUP vs XLOOKUP compares it with the newer function.
- 1
Look up the Price for each order in E2, filled down. Price is the 3rd column of the price list G2:J8.
- Use VLOOKUP
Select E2 and type = to start its formula (in the cell or the formula bar)A B C D E F G H I J 1 Order SKU Qty Price SKU Product Price Stock 2 2001 PL-104 2 PL-101 Fern $9.50 40 3 2002 PT-210 1 PL-104 Monstera $34.00 12 4 2003 TL-301 3 PL-107 Snake plant $22.00 25 5 2004 PL-101 1 PT-210 Terracotta pot $12.50 60 6 2005 SL-401 4 PT-212 Ceramic pot $19.00 18 7 2006 PL-104 1 TL-301 Watering can $18.00 9 8 2007 PT-212 2 SL-401 Potting mix $7.25 80 9 2008 PL-107 1 - 2
Work out each order's line total in F2: the Qty (C2) times the Price you look up (3rd column of the price list). One formula, no helper column.
- Use VLOOKUP
Select F2 and type = to start its formula (in the cell or the formula bar)A B C D E F G H I J 1 Order SKU Qty Line total SKU Product Price Stock 2 2001 PL-104 2 PL-101 Fern $9.50 40 3 2002 PT-210 1 PL-104 Monstera $34.00 12 4 2003 TL-301 3 PL-107 Snake plant $22.00 25 5 2004 PL-101 1 PT-210 Terracotta pot $12.50 60 6 2005 SL-401 4 PT-212 Ceramic pot $19.00 18 7 2006 PL-104 1 TL-301 Watering can $18.00 9 8 2007 PT-212 2 SL-401 Potting mix $7.25 80 9 2008 PL-107 1 - 3
This lookup works in D2 but returns #N/A further down. Fix it.
Click a cell (or use the arrow keys) to insert its address · Enter shows the resultD2 = MonsteraA B C D E F G H I J 1 Order SKU Qty Product SKU Product Price Stock 2 2001 PL-104 2 Monstera PL-101 Fern $9.50 40 3 2002 PT-210 1 Terracotta pot PL-104 Monstera $34.00 12 4 2003 TL-301 3 Watering can PL-107 Snake plant $22.00 25 5 2004 PL-101 1 #N/A PT-210 Terracotta pot $12.50 60 6 2005 SL-401 4 Potting mix PT-212 Ceramic pot $19.00 18 7 2006 PL-104 1 #N/A TL-301 Watering can $18.00 9 8 2007 PT-212 2 #N/A SL-401 Potting mix $7.25 80 9 2008 PL-107 1 #N/A
What these exercises check
The exercises use one order sheet and its price list, the classic VLOOKUP setup in invoices, stock sheets and reports. Every filled row is checked, so an unlocked table range or a wrong column number shows up as wrong cells. The last exercise is a broken formula to repair, the kind of task job tests like to set.
Common mistakes
- Counting the column number from column A of the sheet instead of the table's first column.
- Leaving out FALSE, so VLOOKUP does an approximate match on unsorted SKUs.
- An unlocked table, so lower rows search a shrinking range and return #N/A.
Tips
- Count columns from the table's first column, not from column A of the sheet.
- Always end an exact lookup with FALSE.
- If a lookup works in one row but not below, check the
$on the table first.
Updated . Answers are checked on our server against the course's answer key and against changed data; nothing you type is stored.
Practise VLOOKUP on a live sheet
Lesson 15, VLOOKUP (Unit 4, Lookups), has 2 more graded exercises, checked instantly, with steps and hints when you're stuck. Pro