Sub topic 4
Calculation Mode and Recalculation Shortcuts
Excel decides when to recompute formulas based on its calculation mode. In a small workbook you never notice this. In a financial model with data tables, lookups across many sheets, and a circular interest calculation, the mode controls whether the model feels responsive and whether the numbers you see are current. This chapter assumes you can write formulas, understand relative and absolute references, and have used a basic three-statement or forecast layout.
The three calculation modes
Open Formulas > Calculation Options to choose a mode. Excel offers three.
| Mode | What recalculates automatically | Typical use |
|---|---|---|
| Automatic | Every formula that depends on a changed cell, including data tables | Small and medium models |
| Automatic except for data tables | Everything except data tables | Models with slow sensitivity tables |
| Manual | Nothing until you ask | Very large models, or models with heavy circularity |
Excel recalculates in dependency order. When you change an input, it marks the cells that depend on it as "dirty" and recomputes only those, not the whole workbook. This is called smart recalculation. Most of the time it is fast enough that you never think about it.
Why data tables are treated separately
A data table (What-If Analysis) reruns part of your model once for every row and column input value. A 10-by-10 sensitivity table on a model that takes half a second to calculate costs about 50 seconds of work each time it refreshes. If several such tables sit in a workbook, every edit to an input cell can freeze Excel for a minute.
"Automatic except for data tables" solves this. Normal formulas stay live, and the tables refresh only when you press F9. The cost is that a table can show stale results. If a table disagrees with the model's base case, recalculate before you suspect the model.
Recalculation shortcuts
These three keys work when the mode is Manual or Automatic except for data tables.
F9 Calculate all open workbooks (when calculation is manual)
Shift+F9 Calculate the active worksheet
Ctrl+Alt+F9 Calculate all formulas in all open workbooks, even if unchangedThe differences matter.
- F9 recalculates the dirty cells in every open workbook. It is the key you use most.
- Shift+F9 recalculates only the active sheet. It is faster, but cells on other sheets that depend on this sheet stay stale until you recalculate them.
- Ctrl+Alt+F9 ignores the dirty flags and recomputes every formula. Use it when you suspect Excel missed a dependency, for example after a macro changed values or after you pasted from another workbook.
Excel also has Ctrl+Shift+Alt+F9, which rebuilds the dependency tree before a full recalculation. You rarely need it. Try it only when Ctrl+Alt+F9 still gives results you cannot explain.
You can also switch modes from the keyboard through the ribbon. The sequence Alt, M, X opens Calculation Options, and then A, E, or M picks Automatic, Automatic except for data tables, or Manual.
Calculation mode belongs to the application, not the workbook
This is the most common source of confusion. Excel stores a calculation mode inside each file, but the running application uses one mode for all open workbooks. It takes that mode from the first workbook you open in the session. Later workbooks you open inherit it, whatever they were saved with.
The consequences are practical.
- You open a colleague's manual-mode model first, then your own automatic-mode model. Your model now behaves as manual, and its numbers go stale without warning.
- You open a blank workbook first, then a manual-mode model. The model silently recalculates automatically and may feel slow.
- Saving a workbook writes the current application mode into that file.
After opening a model, always check the mode in Formulas > Calculation Options. When calculation is Manual and some cells are dirty, the status bar shows Calculate at the lower left. Treat that word as a warning that what you see is not current.
Recalculate before saving
In Manual mode, Excel offers Recalculate workbook before saving under File > Options > Formulas. It is on by default. It protects you from saving stale numbers, but it can make saving a large model slow. Some modelers turn it off for speed and then recalculate by hand before every save. If you do that, make it a habit, because a saved file with stale values looks identical to a correct one.
Volatile functions
Some functions recalculate on every calculation pass, even if none of their inputs changed. Examples are NOW, TODAY, RAND, OFFSET, INDIRECT, and CELL. Each also marks everything depending on it as dirty. A single OFFSET inside a widely referenced range can force large parts of the model to recompute after every edit.
In a model, prefer INDEX over OFFSET for flexible ranges. Avoid TODAY and NOW in calculation logic. Put a valuation date in an input cell instead, so results are reproducible. Fewer volatile functions mean faster recalculation and more predictable outputs.
Choosing a mode for a real model
Use these criteria.
- Stay on Automatic while the model recalculates in under a second or two. Stale numbers are the larger risk.
- Switch to Automatic except for data tables when sensitivity tables cause the lag. Add a visible note beside each table: "Press F9 to refresh."
- Use Manual only when the model is slow even without tables, or when an iterative circularity makes each edit take many passes. Tell everyone who uses the file, and add a banner cell on the cover sheet.
- Return to Automatic before you send the file. A colleague who opens it first in a session will force Manual onto everything else they have open.
Iterative calculation, which lets a circular reference such as interest on average debt converge, is a separate setting covered in the next chapter. It interacts with calculation mode: in Manual mode with iteration on, each F9 performs the configured number of iterations, so you may need to press it more than once to see a converged result.
Common errors
- Pasting values from a Manual-mode model into an Automatic one and assuming both were current at the time of copying.
- Pressing Shift+F9 and reading a summary sheet that depends on other sheets you did not refresh.
- Reading a data table result without refreshing it after changing the base case.
- Opening several workbooks and not noticing which one set the application mode.
Exercise
You open a colleague's model, which was saved in Manual mode, as the first workbook of your session. You then open your own model, saved in Automatic mode, and change a revenue input. The summary sheet does not change and the status bar shows Calculate. What is happening, and what do you do?
Show answer
Excel applies the calculation mode of the first workbook opened to the whole session, so your model is now running in Manual mode. Your edit marked dependent cells dirty but did not recalculate them. Press F9 to refresh, or Ctrl+Alt+F9 for a full recalculation, then set Formulas > Calculation Options back to Automatic. Next time, open your own Automatic model first, or open a blank workbook set to Automatic before the others.
Exercise
A model uses Automatic except for data tables. After you change the discount rate, the base-case valuation updates but the sensitivity table still shows the old center value. Which key refreshes the table, and why did it not update on its own?
Show answer
Press F9. In this mode Excel skips data tables during automatic recalculation, so the table only refreshes on a manual recalculation. The base case uses normal formulas, which still recalculate automatically.