Premium exercise · Excel lookup functions
INDEX MATCH practice: a two-way lookup
Practice a two-way Excel INDEX MATCH by finding the sales figure at the intersection of a region and a quarter.
B1:D1 are quarters and A2:A4 are regions. The grid B2:D4 holds sales. F2 is a region and G2 is a quarter.
In H2, use INDEX with two MATCH functions: one for the row and one for the column.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C | D | E | F | G | H |
|---|---|---|---|---|---|---|---|---|
| 1 | Region | Q1 | Q2 | Q3 | Region | Quarter | Sales | |
| 2 | East | 10 | 14 | 18 | East | Q2 | Formula goes in H2. formula | |
| 3 | West | 8 | 9 | 12 | ||||
| 4 | North | 6 | 7 | 11 |
Hint
MATCH(F2,A2:A4,0) is the row inside B2:D4. MATCH(G2,B1:D1,0) is the column.
Explanation
This exercise practices INDEX and MATCH in Excel. The formula goes in H2.
The first MATCH finds East on row 1 of the grid. The second MATCH finds Q2 in column 2. INDEX returns that intersection, which is 14.
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.