Dashboard Mode - HLOOKUP function
Dashboard Goal
Find product prices and stock levels quickly by looking up product names in the header row.
Find product prices and stock levels quickly by looking up product names in the header row.
| Product A | Product B | Product C | Product D | |
|---|---|---|---|---|
| Price | 10 | 15 | 20 | 25 |
| Stock | 100 | 150 | 200 | 250 |
=HLOOKUP(B2, B4:E6, 2, FALSE)=HLOOKUP(B2, B4:E6, 3, FALSE)+-----------------------------+ | Product Lookup Dashboard | +-----------------------------+ | Enter Product Name: [ B2 ] | +-----------------------------+ | Price: [Price KPI] | +-----------------------------+ | Stock: [Stock KPI] | +-----------------------------+ | Product Table (B4:E6) | | +------------+------------+ | | | Product A | Product B | | | | Price=10 | Price=15 | | | | Stock=100 | Stock=150 | | | +------------+------------+ | +-----------------------------+
User types a product name in cell B2. The two KPI cards update automatically to show the price and stock for that product using the HLOOKUP formulas.
If the product name is not found exactly, the formulas return an error, prompting the user to check spelling.
Try typing "Product C" in cell B2. What values appear in the Price and Stock KPI cards?
Answer: Price shows 20 and Stock shows 200.