Premium exercise · Excel lookup functions
Look up a product price
Practice Excel XLOOKUP by finding the price of a product in a short price list and checking the result.
A2:B4 is a price list. The product to find is already in D2.
In E2, write an XLOOKUP formula that returns that product's price from column B.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C | D | E |
|---|---|---|---|---|---|
| 1 | Product | Price | Find | Price | |
| 2 | Pen | 1.5 | Book | Formula goes in E2. formula | |
| 3 | Book | 12 | |||
| 4 | Lamp | 24 |
Hint
XLOOKUP takes the value to find, the column to search, and the column to return.
Explanation
This exercise practices XLOOKUP in Excel. The formula goes in E2.
XLOOKUP finds Book in A2:A4 and returns the price from the same row of B2:B4, which is 12. The search column and the return column are separate.
The interactive sheet and a worked solution are part of Formula Drills Premium. The instructions and starter data on this page are the full problem.