Sub topic 3
How CHOOSE Works in a Scenario Switch
Assume you know basic Excel or Google Sheets formulas, absolute and relative references, and the layout of a simple financial model. You should also understand how the IF function evaluates a condition. In this chapter, you will use CHOOSE to select one assumption from several scenario assumptions.
Why use CHOOSE?
Scenario analysis compares different versions of a model. A Base case might use expected revenue growth. An Upside case might use stronger growth. A Downside case might use weaker growth.
The assumptions can be stored in separate columns:
| Driver | Base | Upside | Downside |
|---|---|---|---|
| Revenue growth | 5% | 10% | 0% |
| Operating margin | 20% | 24% | 15% |
The model should use only one scenario at a time. CHOOSE lets a formula select one value based on a position number.
The CHOOSE syntax
The general syntax is:
=CHOOSE(index_num, value1, value2, value3, ...)The index_num argument is a number that identifies the value to return. The first value has position 1, the second has position 2, and so on.
=CHOOSE(2, "Base", "Upside", "Downside")This formula returns Upside because the second item in the list is selected.
=CHOOSE(1, 100, 125, 80)This formula returns 100. The index number is 1, so CHOOSE returns the first value.
| Index number | Returned value |
|---|---|
| 1 | Base |
| 2 | Upside |
| 3 | Downside |
CHOOSE does not compare the text Base, Upside, or Downside by itself. It uses a number. A later step can convert a selected scenario name into the required number.
Using CHOOSE with model assumptions
Suppose the assumptions sheet stores revenue growth in E12:G12:
| Cell | Meaning |
|---|---|
| E12 | Base revenue growth |
| F12 | Upside revenue growth |
| G12 | Downside revenue growth |
If cell C4 contains the scenario index, the live case formula is:
=CHOOSE($C$4, E12, F12, G12)When C4 is 1, the formula returns E12. When C4 is 2, it returns F12. When C4 is 3, it returns G12.
The dollar signs make C4 an absolute reference. If you copy the formula down for other drivers, the selector remains C4 while the assumption row changes from row 12 to row 13, row 14, and so on.
The index can also be a formula rather than a hard-coded number.
=MATCH($C$3, $B$5:$B$7, 0)If C3 contains Upside and B5:B7 contains Base, Upside, and Downside in that order, MATCH returns 2. CHOOSE can then use that result:
=CHOOSE(MATCH($C$3, $B$5:$B$7, 0), E12, F12, G12)This combines name selection and value selection in one formula. In a larger model, it is often clearer to calculate the index in a separate check or helper cell, then reference that cell from each CHOOSE formula.
Common errors and limitations
CHOOSE returns an error when the index is less than 1, greater than the number of supplied values, or not a usable number. A text scenario name such as Upside cannot be used directly as the index.
=CHOOSE("Upside", E12, F12, G12)This does not select the Upside column. Convert the name to a number with MATCH first.
Another risk is changing the order of scenarios in one location but not another. If the index 2 means Upside in one formula and Downside in another, the model becomes inconsistent. Keep the scenario order identical across all driver rows, or use a table-based lookup when the model needs more flexible labels.
Exercise
If E12 is 5%, F12 is 10%, G12 is 0%, and C4 equals 3, what does =CHOOSE($C$4,E12,F12,G12) return?
Show answer
The formula returns G12, which is 0%, because index 3 selects the third value.