Sub topic 7
Building the Live Case Row
This chapter assumes you know basic spreadsheet formulas, absolute and relative references, and the layout of a simple financial model. You also need to understand the IF function. The scenario assumptions and dropdown list are already prepared.
A live case row is the part of the model that passes the selected scenario into the calculations. It keeps the model's formulas connected to one set of assumptions at a time. When the selector changes from Base to Upside, the live case row changes automatically.
Set up the scenario index
Assume the worksheet uses this layout:
| Cell or range | Purpose |
|---|---|
| C3 | Scenario selector, such as Base |
| C4 | Scenario index |
| B5:B7 | Valid scenario names |
| E12:G12 | Revenue growth for Base, Upside, and Downside |
| E13:G13 | Price growth for Base, Upside, and Downside |
The selector in C3 contains a scenario name. The formulas that choose assumptions work more reliably with a number, so convert the name to an index in C4.
=MATCH($C$3, $B$5:$B$7, 0)The final argument, 0, requires an exact match. If C3 contains Base, C4 returns 1. If it contains Upside, C4 returns 2. If it contains Downside, C4 returns 3.
The dollar signs keep the selector and scenario list fixed when you copy formulas. If the name is not in the list, MATCH returns #N/A. A dropdown list should normally prevent this error.
Build the live case row
Create a separate row for each assumption that the calculations need. For example, place the live revenue growth in C12 and the live price growth in C13.
In C12, use CHOOSE to select the assumption that matches the index:
=CHOOSE($C$4, E12, F12, G12)CHOOSE uses its first argument as a position. An index of 1 returns E12, an index of 2 returns F12, and an index of 3 returns G12.
In C13, use the same pattern for price growth:
=CHOOSE($C$4, E13, F13, G13)The live row can now feed the calculation section. For example, if C12 contains the selected revenue growth and B20 contains the prior-period revenue, the forecast revenue formula can be:
=B20*(1+$C$12)The calculation references the live value, not the Base, Upside, or Downside column directly. This is the key design rule. Scenario-specific assumptions stay in the assumptions block, while model calculations use the live case row.
Trace the flow
The complete flow has four stages:
To test the wiring, change C3 between the valid scenario names. Every live assumption should change to the corresponding column, and the model outputs should change with it.
Use INDEX when the row grows
CHOOSE is clear when there are only a few scenarios. If the assumptions are stored in one contiguous horizontal range, INDEX can express the same selection more compactly:
=INDEX($E12:$G12, $C$4)This formula returns the value at the position in the range. It is easier to extend when you add more scenario columns, because the range describes the available choices in one place.
A useful naming convention can make the live row easier to read. For example, name C3 Scenario_Selected and C4 Scenario_Index. A formula can then become:
=CHOOSE(Scenario_Index, E12, F12, G12)Named ranges do not change the calculation. They make the purpose of each reference clearer during review.
Check the switch
Add a check cell that returns zero when the index is valid and one when it is invalid:
=IF(AND(ISNUMBER($C$4), $C$4>=1, $C$4<=3), 0, 1)Include this check in the model's master warning area. Also compare the live case row with the selected scenario column. If C3 is Upside, the live revenue growth should equal F12. A mismatch usually means a reference was shifted, a scenario column was inserted incorrectly, or a formula points to the wrong row.
Exercise
If C3 contains Downside and B5:B7 lists Base, Upside, Downside in that order, what should C4 return, and which cell should =CHOOSE($C$4,E12,F12,G12) return?
Show answer
C4 should return 3, and the CHOOSE formula should return G12.