Sub topic 7
Building the live case row
This chapter assumes you can write basic Excel or Google Sheets formulas and know the difference between $A$1 and A1. It also assumes you know how a model separates inputs, calculations and outputs. Earlier chapters built three pieces: an assumptions block with one column per scenario, a dropdown selector, and a MATCH formula that turns the scenario name into a number. This chapter connects those pieces to the model.
What the live case row does
The live case is the one set of assumptions the model uses at any moment. It sits between the scenario blocks and the calculations. Each live cell looks up the selected scenario's value and passes it on.
Every calculation in the model then refers to the live cell, never to a Base, Upside or Downside cell directly. When the user changes the dropdown, only the live cells change. Everything downstream recalculates from them.
The principle is one entry point. All scenario logic lives in one column, so you can audit the switch by looking at that column alone.
The layout used in this chapter
The examples use the following layout on an Assumptions sheet.
| Cell or range | Content |
|---|---|
| C3 | Scenario selector, a dropdown holding Base, Upside or Downside |
| C4 | Scenario index, `=MATCH($C$3,$B$5:$B$7,0)` |
| B5:B7 | The scenario list: Base, Upside, Downside |
| B12:B15 | Driver labels |
| C12:C15 | Units |
| D12:D15 | Live case (the column this chapter builds) |
| E12:E15 | Base values |
| F12:F15 | Upside values |
| G12:G15 | Downside values |
The drivers in rows 12 to 15 are revenue growth, gross margin, operating costs as a share of revenue, and capex as a share of revenue. The scenario columns hold these values:
| Row | Driver | Base | Upside | Downside |
|---|---|---|---|---|
| 12 | Revenue growth | 5% | 12% | -3% |
| 13 | Gross margin | 40% | 43% | 36% |
| 14 | Operating costs (% of revenue) | 22% | 21% | 24% |
| 15 | Capex (% of revenue) | 4% | 5% | 3% |
Writing the live case formula
In D12, enter a CHOOSE formula. Its first argument is the index in C4. The remaining arguments are the Base, Upside and Downside cells for that driver, in that order.
=CHOOSE($C$4, E12, F12, G12)Three details matter here:
- The index is absolute (
$C$4). Every live cell must read the same index cell. If you left it relative, copying the formula down would shift it to C5, C6 and so on. - The value cells are relative (
E12,F12,G12). When you copy D12 down to D15, the references move with the row, so D13 reads E13, F13 and G13. This lets you write the formula once and fill it down. - The argument order matches the scenario list. The list in B5:B7 is Base, Upside, Downside, so MATCH returns 1, 2 and 3 in that order. The columns must follow the same order. If you swap the Upside and Downside columns without changing the list, choosing "Upside" silently returns downside numbers.
Copy D12 to D13:D15. With "Upside" selected, C4 is 2, so the live column shows 12%, 43%, 21% and 5%. With "Downside" selected, it shows -3%, 36%, 24% and 3%.
CHOOSE only returns one of its arguments, so it works the same whether the assumptions are percentages, amounts, days or text.
Wiring the model to the live column
Now point the calculations at column D. Suppose a Model sheet has year 0 revenue of 1,000,000 in cell C5. Year 1 revenue and gross profit are:
Model!D5: =C5*(1+Assumptions!$D$12)
Model!D6: =D5*Assumptions!$D$13The model never mentions E, F or G. The results for year 1 are:
| Scenario | Revenue growth | Year 1 revenue | Gross margin | Year 1 gross profit |
|---|---|---|---|---|
| Base | 5% | 1,050,000 | 40% | 420,000 |
| Upside | 12% | 1,120,000 | 43% | 481,600 |
| Downside | -3% | 970,000 | 36% | 349,200 |
You can check your own build against these numbers. If Upside returns 1,050,000 for revenue, the index or the column order is wrong.
Pointing at the live column also means you can add a new driver without touching the switch logic. Add a row, fill in the three scenario values, copy the CHOOSE formula into the live cell, and reference that cell in the model.
Time-based assumptions: a live row across years
Many drivers vary by year, for example growth of 8% in year 1 and 6% in year 2. In that case each scenario needs a row per driver, and the live case becomes a row that runs across the timeline. The layout is:
| Row | Content | H (Year 1) | I (Year 2) | J (Year 3) |
|---|---|---|---|---|
| 20 | Revenue growth, Base | 5% | 4% | 3% |
| 21 | Revenue growth, Upside | 12% | 9% | 6% |
| 22 | Revenue growth, Downside | -3% | 0% | 1% |
| 23 | Revenue growth, Live | formula | formula | formula |
In H23, write the formula and copy it to the right:
=CHOOSE($C$4, H20, H21, H22)The index stays fixed because of the $C$4. The scenario references shift one column as you copy right, so I23 reads I20, I21 and I22. This is the same idea as the column layout. The only difference is the direction in which you copy.
Keep the three scenario rows for one driver adjacent and in the same order as the list. Keep the live row directly beneath them. A reviewer can then read the four rows together and see the live row matching the selected scenario.
Showing which case is live
A model that quietly changes its numbers is hard to trust, so label the live column. Put a header above it in D11:
="Live: "&$C$3The header then reads "Live: Upside" when Upside is selected. Repeat the header at the top of the Model and Outputs sheets, so a printed page or screenshot says which case produced it.
Edge cases and failure modes
Index out of range. CHOOSE with an index of 0 or 4 (when only three values are supplied) returns #VALUE!. A MATCH that finds no name returns #N/A, and CHOOSE passes that error through. Either error then runs through every live cell, then into every formula that depends on them. The model fills with errors rather than quietly returning wrong numbers, which is the safer failure. The dropdown, covered in the previous chapter, makes this unlikely, but a pasted value can bypass validation.
Decimal index. CHOOSE truncates a non-integer index, so 2.9 behaves like 2. The MATCH formula always returns whole numbers, so this only matters if someone overwrites C4 by hand.
Text that looks like a number. If a scenario cell holds the text "12%" instead of the number 0.12, CHOOSE returns it without complaint. The model may then error, or may coerce the text in a way you did not intend. Format scenario cells as numbers and use the numeric validation rules from a later chapter.
Hard-coded overrides. The most damaging mistake is someone typing a number over a live cell. The model stops responding to the selector for that driver, and nothing shows it. Protect against this in three ways:
- Give input cells and formula cells different formats. For example, use blue text for inputs and black for formulas.
- Lock the live column when you protect the sheet.
- Add a check cell, described next.
Inconsistent formulas down the column. If you edit D14 by hand, for instance by dropping the Downside argument, the column no longer follows one pattern. Use Excel's formula auditing (Formulas, Show Formulas) to confirm every cell in the live column has the same structure.
Blank scenario cells. If a scenario cell is empty, CHOOSE returns 0 (it shows as 0 or 0%). A blank Downside growth value gives 0% growth, which looks legitimate. Fill every scenario cell, even when the value equals the Base case.
A basic check on the live column
A simple test recomputes the live value another way and compares. Using INDEX (covered later in this tutorial) as the second method:
=IF(D12=INDEX($E12:$G12, $C$4), 0, 1)This returns 0 when the live value matches the selected column and 1 otherwise. Put the formula in column H beside each live cell, and sum column H into a single master check. A hard-coded override changes D12, so the check flips to 1. The full integrity-check design comes in the final chapter. For now, the main point is that the live column is the one place worth checking.
Common mistakes at a glance
| Symptom | Likely cause | Fix |
|---|---|---|
| Choosing Upside shows Downside values | Scenario columns are in a different order than the list in B5:B7 | Reorder the columns or the list so they match |
| Live column does not change when you pick a scenario | A live cell is hard-coded, or calculation is set to manual | Restore the CHOOSE formula, and set calculation to automatic |
| Live cells show `#N/A` | The name in C3 does not match the list exactly, for example a trailing space | Re-select the name from the dropdown |
| Live cells show `#VALUE!` | The index is 0, negative, or above the number of values supplied | Check C4 and the number of CHOOSE arguments |
| Copying the formula down breaks the index | `C4` was entered without `$` signs | Use `$C$4` |
| One driver does not respond to the switch | The model links to a scenario column instead of the live column | Repoint the formula at column D |
Summary of the build steps
- Confirm the index in C4 returns 1, 2 or 3 for each name in the dropdown.
- Write
=CHOOSE($C$4, E12, F12, G12)in the first live cell. - Fill it down (or across for time series), keeping
$C$4absolute. - Point every model formula at the live column.
- Add a "Live: " label and a check column.
- Switch through all three scenarios and compare against hand-calculated values.
Exercise
A colleague's live case formula in D12 is =CHOOSE(C4, E12, F12, G12). They copy it to D13 and the live value for gross margin is wrong. Explain what happened and write the corrected formula for D12.
Show answer
Without dollar signs, C4 is a relative reference. Copied from D12 to D13, it becomes C5, which is an empty cell or a different input, so CHOOSE gets the wrong index (a blank gives #VALUE!). The scenario references E12, F12 and G12 should shift when copied, but the index must not. The corrected formula is =CHOOSE($C$4, E12, F12, G12).
Exercise
The Base column holds a revenue growth of 5%, Upside 12% and Downside -3%, the list in B5:B7 is Base, Upside, Downside, and year 0 revenue is 1,000,000. You select "Downside". What index does MATCH return, what does the live growth cell show, and what is year 1 revenue when it is calculated as year 0 revenue times (1 + live growth)?
Show answer
MATCH returns 3, because Downside is the third item in the list. CHOOSE returns the third value, -3%. Year 1 revenue is 1,000,000 * (1 - 0.03) = 970,000.
Exercise
Write the live row formula for Year 2 (column I) when the Base, Upside and Downside growth rows are 20, 21 and 22 and the index is in C4. Then say what you would do if a reviewer found that the Year 2 live cell had been overwritten with the number 0.04.
Show answer
The formula is =CHOOSE($C$4, I20, I21, I22). The overwritten cell no longer responds to the selector, so I would restore the formula, copy it across the row from the Year 1 cell to keep the pattern consistent, and add a check column that compares each live cell with the value picked by INDEX so that any future override flips the master check to 1.