Sub topic 11
A Scenario Switch with CHOOSE
This chapter assumes you know cell references, relative and absolute references, and how to copy formulas across a forecast. You should also understand a basic financial model with time periods in columns and know the meaning of revenue, pre-tax income, tax, cash, and debt.
Why use a scenario switch?
A scenario switch is one control cell that tells a model which set of assumptions to use. For example, a model might contain base, upside, and downside assumptions for revenue growth. Instead of changing many formulas by hand, you change one scenario number.
This approach is safer than hard-coding a different value in each formula. It also makes the active scenario visible to anyone reviewing the model.
A common convention is:
| Scenario number | Scenario |
|---|---|
| 1 | Base |
| 2 | Upside |
| 3 | Downside |
Place the selected scenario number in a clearly labeled input cell, such as C2. The cell should contain only an allowed value, such as 1, 2, or 3.
Selecting values with CHOOSE
CHOOSE returns one item from a list based on an index number. Its structure is:
=CHOOSE(index_num,value1,value2,value3)If C2 contains 1, this formula selects the base revenue growth in row 10. If C2 contains 2, it selects the upside value in row 11. If C2 contains 3, it selects the downside value in row 12.
=CHOOSE($C$2,F10,F11,F12)The dollar signs anchor the scenario switch when you copy the formula across the forecast. The period-specific references F10, F11, and F12 move to column G when copied right.
A typical layout is:
C2: Active scenario 1
F5: Period 2027
G5: Period 2028
F10:G10 Base revenue growth
F11:G11 Upside revenue growth
F12:G12 Downside revenue growth
F15:G15 Selected revenue growthPut the CHOOSE formula in F15 and copy it across. Every forecast period then uses the same scenario choice while retaining its own period value.
flowchart TD
A[Scenario switch in C2] --> B{CHOOSE selects 1, 2, or 3}
B --> C[Base assumptions]
B --> D[Upside assumptions]
B --> E[Downside assumptions]
C --> F[Selected model input]
D --> F
E --> F
F --> G[Forecast calculations]When IF is a better fit
IF works well when there are only two choices or when the conditions are not simple numbered options. For example:
=IF($C$2=1,F10,F11)This formula uses F10 when the switch equals 1 and F11 for every other value. That last behavior can hide an invalid input. A CHOOSE formula communicates three explicit choices more clearly, but it can return an error if the index is outside the available list.
For a two-way control, a text switch can be easier to read:
=IF($C$2="Upside",F11,F10)Use one convention throughout the model. Do not use numbered scenarios in one section and text labels in another unless the mapping is explicit.
Common errors and audit checks
A scenario switch can produce plausible but incorrect results. Check the following:
- Confirm that the scenario numbers and labels agree.
- Anchor the switch cell, such as
$C$2, before copying formulas. - Check that each scenario row uses the same units and period columns.
- Avoid typing a scenario-specific number directly into a downstream formula.
- Test every scenario and compare the selected output with its source row.
- Decide how the model should handle an invalid scenario number.
You can add an input check beside the switch:
=IF(OR($C$2<1,$C$2>3),"ERROR: choose 1, 2, or 3","OK")This makes an invalid control visible before it flows through the model. Data validation can also restrict C2 to whole numbers from 1 through 3.
Exercise
Exercise
The base, upside, and downside gross margins are in F20, F21, and F22. The active scenario number is in C2. Write a formula that selects the correct margin and remains correct when copied across the forecast.
Show answer
=CHOOSE($C$2,F20,F21,F22)