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
HLOOKUP function do in Google Sheets?HLOOKUP function?| A | B | C | D | |-----|------|------|------| | ID | 101 | 102 | 103 | | Name| John | Mary | Alex | | Age | 25 | 30 | 22 |
=HLOOKUP(102, A1:D3, 3, FALSE)?=HLOOKUP(105, A1:D3, 2, FALSE) but it returns #N/A. What is the likely cause?| A | B | C | D | E | |------|-------|-------|-------|-------| | Code | A101 | A102 | A103 | A104 | | Qty | 10 | 15 | 20 | 25 | | Price| 5.00 | 7.50 | 6.00 | 8.00 |
A103 using HLOOKUP. Which formula correctly returns the price?Pass the test and this pattern moves unknown