VLOOKUP not working? 9 causes and how to fix each one
VLOOKUP returning #N/A even though the values match, the wrong value, or breaking when you drag it down? The 9 usual causes and the exact fix for each.
We want the price of Office Chair. The answer goes in F2.
keyboard Typing formulas is easiest on a computer with a keyboard.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Product | Category | Price | Product | Price | ||
| 2 | Monitor Stand | Accessories | 40.49 | Office Chair | |||
| 3 | Headset | Electronics | 73.25 | ||||
| 4 | Office Chair | Furniture | 132.49 | ||||
| 5 | Bookshelf | Furniture | 65.5 | ||||
| 6 | USB-C Hub | Electronics | 40.25 | ||||
| 7 | Notebook A5 | Stationery | 3.99 | ||||
| 8 | Filing Cabinet | Furniture | 170.5 | ||||
| 9 | Desk Organiser | Accessories | 20.49 | ||||
| 10 | Whiteboard | Office | 69.5 | ||||
| 11 | Wireless Mouse | Electronics | 33 | ||||
| 12 | |||||||
| 13 | |||||||
| 14 | |||||||
| 15 |
VLOOKUP do?VLOOKUP finds a value in the first column of a table, then returns a value from another column in the same row.
=VLOOKUP(lookup_value,
lookup_value: what you are looking for, e.g. a product name.table_array: the whole table, starting with the column you search.col_index_num: which column of the table to return. The first column is 1.FALSE: exact match.FALSE?Leave it out and VLOOKUP guesses, which gives wrong answers on unsorted data.
VLOOKUP returning #N/A even though the values match, the wrong value, or breaking when you drag it down? The 9 usual causes and the exact fix for each.
XLOOKUP vs VLOOKUP side by side: exact match by default, looking left, no column numbers, built-in not-found text. With formulas and when VLOOKUP still makes sense.
Know someone fighting with a spreadsheet? Send them this page.