Dashboard Mode - INDEX function
Dashboard Goal
Find specific sales data from a table by selecting the row and column number using the INDEX function.
Find specific sales data from a table by selecting the row and column number using the INDEX function.
| Product | Q1 Sales | Q2 Sales | Q3 Sales |
|---|---|---|---|
| Apples | 120 | 135 | 150 |
| Bananas | 80 | 90 | 100 |
| Cherries | 200 | 210 | 220 |
| Dates | 150 | 160 | 170 |
| Elderberries | 90 | 95 | 100 |
=INDEX(B2:D6,2,2)=INDEX(B2:D6,3,3)=INDEX(B2:B6,ROW()-1)=INDEX(B2:D6,MATCH(G2,A2:A6,0),MATCH(G3,B1:D1,0))+----------------------+----------------------+ | Total Q2 Sales Bananas| Q3 Sales Cherries | | (INDEX result) | (INDEX result) | +----------------------+----------------------+ | Extracted Q1 Sales | Dynamic Sales Lookup | | (Q1 sales column) | (Select product/quarter) +----------------------+----------------------+
User enters product name in cell G2 and quarter name in G3. The dynamic sales lookup updates automatically using the INDEX formula combined with MATCH to show the correct sales value.
The other KPI cards and extracted column show fixed values from the data table.
If you change the product name in G2 to "Dates" and quarter in G3 to "Q1", what value appears in the dynamic sales lookup cell?
Answer: 150 (Dates Q1 Sales)