Dashboard Mode - HLOOKUP function
Dashboard Goal
Find sales data for specific products by looking up product names in the top row and returning sales values below.
Find sales data for specific products by looking up product names in the top row and returning sales values below.
| Product A | Product B | Product C | Product D | |
|---|---|---|---|---|
| Q1 Sales | 150 | 200 | 250 | 300 |
| Q2 Sales | 180 | 220 | 270 | 320 |
| Q3 Sales | 210 | 240 | 290 | 350 |
| Q4 Sales | 230 | 260 | 310 | 370 |
=HLOOKUP("Product C", B1:E5, 3, FALSE)=HLOOKUP("Product A", B1:E5, 5, FALSE)=HLOOKUP(B1:E1, B1:E5, 4, FALSE) (applied per product)+----------------------+----------------------+ | Q2 Sales Product C: | Q4 Sales Product A: | | 270 | 230 | +----------------------+----------------------+ | Summary Table | | Product A | Product B | Product C | Product D | | 210 | 240 | 290 | 350 | +------------------------------------------------+
User can change the product name in a cell (e.g., cell G1) to update the KPI cards dynamically using formulas like =HLOOKUP(G1, B1:E5, 3, FALSE). This lets the dashboard show sales for any product selected.
If you change the product name in the lookup cell to "Product B", what will be the Q2 Sales value shown in the KPI card?
Answer: 220