Sample data
| Row | A | B | C |
|---|---|---|---|
| 1 | Code | Product | Price |
| 2 | P-101 | Desk lamp | 24.9 |
| 3 | P-102 | Notebook | 3.5 |
| 4 | P-103 | Mouse | 15 |
| 5 | P-104 | Keyboard | 32 |
| 6 | P-105 | Monitor stand | 21 |
Steps
Each formula is already filled in and calculated. Edit it and press Run to try your own version. Nothing is saved or uploaded.
Find the price of P-103 with VLOOKUP. FALSE means an exact match.
Result
Return the product name instead by changing the column number to 2.
Result
See what a wrong code does.
Result
Wrap it in IFERROR to show a message.
Result
The modern way: XLOOKUP, which also works to the left.
Result
Classic alternative that works in every Excel: INDEX with MATCH.
Result
What to remember
Use VLOOKUP or XLOOKUP when you have a code and need a detail. Always ask for an exact match.
Need Something Different? Let’s Talk.
Looking for different features or something built around your workflow? Share your idea with us.