Sub topic 13
Keeping Large Models Responsive
Prerequisites and the performance problem
This chapter assumes that you can navigate Excel, use absolute and relative references, build a simple formula-driven model, and create a one-variable or two-variable data table.
A data table can be expensive because Excel repeatedly recalculates the model for each cell in the table. A two-variable table with 15 rates and 20 growth assumptions requires up to 300 input combinations. If the model contains several data tables, long forecast schedules, or external links, each recalculation can take noticeable time.
The goal is not to avoid sensitivity analysis. The goal is to control when and how often Excel performs it.
Reduce unnecessary table work
Use the smallest grid that answers the decision you are testing. A 7-by-7 table may reveal the same pattern as a 20-by-20 table while requiring far fewer recalculations.
Keep sensitivity tables near the outputs they analyze, but avoid duplicating the entire model for each scenario. A data table should replace input cells temporarily and read one existing output formula. It should not contain separate copies of the forecast formulas.
| Performance choice | Faster approach | Cost or limitation |
|---|---|---|
| Number of scenarios | Use a focused range of assumptions | Less detail at the extremes |
| Number of outputs | Test one key output per table | Requires separate tables for other outputs |
| Formula design | Use direct, nonvolatile formulas | May require redesigning legacy formulas |
| Recalculation | Update tables on demand | Results can become temporarily stale |
Control calculation settings
Excel provides a useful setting under Formulas > Calculation Options:
- Automatic calculates ordinary formulas when their dependencies change.
- Automatic Except for Data Tables keeps ordinary formulas current but does not recalculate data tables every time an input changes.
- Manual requires you to request calculation for the workbook.
For a large model, Automatic Except for Data Tables is often a practical default. Change several assumptions, then recalculate deliberately after the inputs are ready. Use Calculate Now or F9 for a normal recalculation. Use a full recalculation, such as Ctrl+Alt+F9, when you suspect that the workbook contains stale results or dependency problems.
Calculation option:
Automatic Except for Data Tables
Example workflow:
1. Change the forecast assumptions.
2. Review the ordinary model output.
3. Recalculate the data tables deliberately.
4. Check the base-case cell against the main output.Remove avoidable calculation costs
Volatile functions recalculate whenever Excel recalculates, even when their direct inputs have not changed. Examples include NOW, TODAY, RAND, OFFSET, and INDIRECT. Replace them where practical with nonvolatile formulas or fixed input cells.
Also review:
- Large ranges such as entire-column references in repeated formulas.
- Repeated calculations that could be performed once in a helper cell.
- Unnecessary conditional formatting across thousands of cells.
- External links that must be refreshed.
- Array formulas that process much more data than the model needs.
Do not optimize by changing formulas without checking the result. A faster model that changes the financial logic is worse than a slow model.
A controlled refresh pattern
Separate the workbook into three areas:
- Inputs hold assumptions and scenario values.
- Calculations contain the forecast and valuation logic.
- Sensitivities contain data tables and checks.
When the model is slow, temporarily clear or shrink nonessential sensitivity tables. Test the core model first. Then refresh the most important tables one at a time. This identifies which table or formula group causes the delay.
Exercise
Exercise
A two-variable table has 400 cells and recalculates slowly whenever you edit one assumption. What change should you try first?
Show answer
Set calculation to Automatic Except for Data Tables, reduce the table to the smallest useful range, and refresh it after the assumptions are complete.