Excel INDEX Practice Question: Monthly unit sales are in A1:E5 (products down, months across). Find the sales…
The question
Monthly unit sales are in A1:E5 (products down, months across). Find the sales of Tablet in Mar with INDEX and two MATCH functions. Put it in G2.
The data
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Product | Jan | Feb | Mar | Apr | Result | |
| 2 | Laptop | 42 | 38 | 51 | 47 | ? | |
| 3 | Tablet | 25 | 31 | 28 | 35 | ||
| 4 | Phone | 88 | 92 | 79 | 95 | ||
| 5 | Watch | 15 | 18 | 22 | 20 |
The yellow cell is where your answer goes.
Show answer
Answer in G2: 28
How it works
Explanation: The first MATCH finds the row for Tablet, the second finds the column for Mar, and INDEX returns the cell where they cross.
Syntax: =INDEX(B2:E5,MATCH("Tablet",A2:A5,0),MATCH("Mar",B1:E1,0))
Tablet is row 2 of the table and Mar is column 3, which gives 28.
Try it yourself in the live sheet
Type your formula in the highlighted cell and get instant feedback. Free, no Excel install needed.
Try this question in the live sheet →INDEX syntax
Returns the value at a given row/column position within a range. Pulling the Nth item from a list — often paired with MATCH to look up in any direction. Full INDEX guide.
More INDEX practice questions
- Using INDEX, return the third item name from the list and put it in D2.
- Return the price of the fourth product in the list and put it in D2.
- Using INDEX, return the units for the second department in the third quarter and put it…
- The position number is typed in E2. Return the name at that position from the list and…
- Using INDEX with COUNTA, return the most recent (last filled) log entry and put it in…
- The row and column positions are typed in E2 and F2. Return the matching value from the…
- Using INDEX with ROWS, return the second-last name in the list and put it in D2.
- The From and To positions are typed in D2 and E2. Find the revenue growth (revenue at To…
All practice questions · Excel exercises · Interview prep · Cheat sheet