| A | B | C | D | E | F | G | H | I | J | K | L | M | N | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Code | Product | Price | Code | Price | |||||||||
| 2 | A101 | Kettle | 24.99 | A103 | 45 | |||||||||
| 3 | A102 | Toaster | 19.5 | |||||||||||
| 4 | A103 | Blender | 45 | |||||||||||
| 5 | A104 | Mixer | 89 | |||||||||||
| 6 | ||||||||||||||
| 7 | ||||||||||||||
| 8 | ||||||||||||||
| 9 | ||||||||||||||
| 10 | ||||||||||||||
| 11 | ||||||||||||||
| 12 | ||||||||||||||
| 13 | ||||||||||||||
| 14 | ||||||||||||||
| 15 | ||||||||||||||
| 16 | ||||||||||||||
| 17 | ||||||||||||||
| 18 | ||||||||||||||
| 19 | ||||||||||||||
| 20 | ||||||||||||||
| 21 | ||||||||||||||
| 22 | ||||||||||||||
| 23 | ||||||||||||||
| 24 | ||||||||||||||
| 25 | ||||||||||||||
| 26 | ||||||||||||||
| 27 | ||||||||||||||
| 28 | ||||||||||||||
| 29 | ||||||||||||||
| 30 |
More to try
Each of these works on the sheet. Press one to put it in F2.
- gives Not found
The fourth argument replaces the #N/A error when nothing matches.
- gives A104
It looks in any direction: here it finds a name and returns the code to its left.
- gives Blender costs 45
Two lookups joined into a sentence with &.
Common mistakes
- Search and return ranges of different sizes give a #VALUE! error.
- Not available in Excel 2019 or earlier. Use INDEX with MATCH if the file must open in older versions.
- Looking up a number stored as text. '101' and 101 do not match.
Practise it
Look up a price by product code →Related functions