Premium exercise · Excel lookup functions
INDEX MATCH practice: find a price
Practice Excel INDEX and MATCH together by returning a product price from the row MATCH finds.
A2:A5 are product names and B2:B5 are prices. D2 is the product to find.
In E2, use INDEX and MATCH to return that price. MATCH finds the row. INDEX returns the price on that row.
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 | Lamp | Formula goes in E2. formula | |
| 3 | Book | 12 | |||
| 4 | Lamp | 24 | |||
| 5 | Chair | 80 |
Hint
MATCH(D2,A2:A5,0) returns a position. The 0 asks for an exact match.
Explanation
This exercise practices INDEX and MATCH in Excel. The formula goes in E2.
MATCH finds Lamp in position 3 of A2:A5. INDEX then returns the third price in B2:B5, which is 24. The two functions split the job VLOOKUP does alone.
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.