Dashboard Mode - Dropdown menus
Goal
Help a small store manager choose a product category from a dropdown menu to see the total sales for that category.
Help a small store manager choose a product category from a dropdown menu to see the total sales for that category.
| Product | Category | Sales |
|---|---|---|
| Apples | Fruits | 120 |
| Bananas | Fruits | 150 |
| Carrots | Vegetables | 100 |
| Broccoli | Vegetables | 80 |
| Milk | Dairy | 200 |
| Cheese | Dairy | 180 |
| Bread | Bakery | 90 |
=SUMIF(B2:B8, E2, C2:C8)+----------------------+------------------+ | Select Category: [▼] | | | (E2) | | +----------------------+------------------+ | Total Sales for: | [Total Sales] | | (D4) | (E4) | +----------------------+------------------+
The dropdown menu in cell E2 lets the user pick a category. When the user changes this selection, the formula in E4 recalculates the total sales for that category automatically. This updates the dashboard number instantly without extra steps.
If you select "Dairy" from the dropdown in E2, what number appears in E4?
Answer: 380 (200 for Milk + 180 for Cheese)
Red, Green, Blue. What happens if you type Yellow in A1?=FILTER(A:A, B:B <> "") creates a dynamic list meeting the condition.=FILTER(A:A, B:B <> "") uses a formula to filter dynamically; others are static or ignore the condition.Pass the test and this pattern moves unknown