Lookup practice round
1 / 4
Two lookups for each order: the price from the price list, and the customer's name from the customer list.
keyboard Typing formulas is easiest on a computer with a keyboard.
A1
| A | B | C | D | E | F | G | H | I | J | K | L | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Order | Product | Customer ID | Price | Customer | Product | Price | Name | Customer ID | |||
| 2 | ORD-2380 | Whiteboard | CU322 | Monitor Stand | 27.5 | Sam Novak | CU487 | |||||
| 3 | ORD-9589 | USB-C Hub | CU292 | Headset | 32.99 | Isla Walsh | CU292 | |||||
| 4 | ORD-3456 | Desk Organiser | CU409 | Office Chair | 204.99 | Victor Tanaka | CU295 | |||||
| 5 | ORD-1112 | Headset | CU409 | Bookshelf | 82.49 | Mateo Novak | CU409 | |||||
| 6 | ORD-5454 | Office Chair | CU292 | USB-C Hub | 34.5 | Hiro Tanaka | CU322 | |||||
| 7 | ORD-3951 | Monitor Stand | CU487 | Notebook A5 | 5.99 | Wen Rossi | CU433 | |||||
| 8 | Filing Cabinet | 118.25 | ||||||||||
| 9 | Desk Organiser | 17.25 | ||||||||||
| 10 | ||||||||||||
| 11 | ||||||||||||
| 12 | ||||||||||||
| 13 |
price list
customers
answers
Type to enter a value or a formula starting with =. F2 edits, F4 adds $ to a reference.
How VLOOKUP and XLOOKUP and INDEX and MATCH works
What is this round for?
Real sheets mix several lookups at once. This round puts together what the lookup lessons covered: two lookup tables, a value that isn't in one of them, and a return column to the left of the search column.
Which lookup should I use?
- XLOOKUP does everything here: it can look left and has a not-found part. Use it if your Excel has it (365 and 2021 or newer).
- VLOOKUP works for the price, wrapped in
IFNAfor the missing product. It can't return the name, because the name is to the left of the ID. - INDEX and MATCH work everywhere, in any direction.
What should I check before copying down?
- Every lookup range is locked with $.
- Each lookup searches the right column and returns the right one.
- A missing value shows "Not found", not #N/A.
What next?
Try the Lookup & Merge tool on your own files: it writes these formulas for your data and explains every value it couldn't match.
Know someone fighting with a spreadsheet? Send them this page.