What-If Analysis & Decision Modeling: Goal Seek, Data Tables, Scenario Manager
Overview & Learning Objectives
Data Validation prevents typos by restricting cell entry to a predefined list. Dependent (cascading) dropdowns take this further: selecting "Beverages" in Dropdown 1 dynamically changes Dropdown 2 to show only "Coffee, Tea, Shake", while selecting "Pizza" shows only pizza toppings.
- Create basic in-cell dropdown lists using Data Validation.
- Name ranges for each category list using the Name Manager.
- Link secondary dropdowns dynamically using `=INDIRECT(CategoryCell)`.
Industry Standard
Standard: Order management forms and candidate intake portals enforce strict data validation dropdowns to guarantee zero data entry errors.
Real-World Example: Food Truck Dependent Ordering Menus
At our Food Truck, orders must be entered quickly. In cell A2, the cashier picks Category ("Burgers"). In cell B2, the Item dropdown dynamically lists only burgers, completely eliminating the risk of entering invalid combinations.
| Category Selected (Col A) | Dropdown 2 Source Formula | Items Shown in Dropdown 2 |
|---|---|---|
| Beverages | =INDIRECT(A2) | Espresso, Cold Brew, Mango Shake |
| Burgers | =INDIRECT(A3) | Veggie Crunch, Crispy Chicken, Paneer Tikka |
| Desserts | =INDIRECT(A4) | Choco Lava Cake, Waffle, Brownie |
| Sides | =INDIRECT(A5) | French Fries, Peri Peri Fries, Garlic Bread |
Cascading Dropdown Setup Workflow
1. Create Named Ranges matching category names (e.g. name list of burgers as "Burgers")
2. In Sub-Item Cell -> Data Validation -> List -> Source: =INDIRECT(A2)
Parameters Breakdown
Named Ranges: Category names must exactly match the header range names (no spaces: use "Cold_Drinks").=INDIRECT(A2): Converts the category chosen in A2 into the reference pointing to that specific list.Ignore Blank: Allows cells to remain empty until a choice is made.
Sample Walkthrough (Q&A):
Question: Why does =INDIRECT(A2) fail if cell A2 contains "Cold Drinks" with a space?
Formula / Action: Excel range names cannot contain spaces! Rename the range to "Cold_Drinks".
Result: Update formula to `=INDIRECT(SUBSTITUTE(A2, " ", "_"))` so it converts "Cold Drinks" to "Cold_Drinks".
Explanation: The SUBSTITUTE formula bridges user-facing labels with strict Excel naming rules.
Common Mistakes & Limitations
- Naming ranges with different spelling or casing than what appears in the category dropdown.
- Forgetting that if a user changes Category 1 after selecting Item 2, Item 2 does not auto-clear without a macro.
Keyboard Shortcuts
| Action | Windows | Mac |
|---|---|---|
| Open Data Validation Dialog | Alt + A + V + V | Data Ribbon |
| Open Dropdown inside Cell | Alt + Down Arrow | Option + Down Arrow |
| Create Names from Selection | Ctrl + Shift + F3 | Formulas Ribbon |
Pro Tips & Modern Alternatives
- In modern Excel, you can use dynamic arrays `=UNIQUE(Table[Category])` to feed dropdown source ranges automatically.
- Use `Ctrl + Shift + F3` (Create from Selection) to name 10 category columns in 1 second.