Sub topic 10
Automatic except for Data Tables and manual recalculation
This chapter assumes you can build a one-variable and a two-variable data table, that you know the TABLE array formula appears in the grid cells, and that you understand absolute references. The focus here is when Excel recomputes a data table and how you control that.
Why data tables need their own recalculation setting
A data table is expensive. For each cell in the grid, Excel substitutes the input values into the model, recalculates the dependent chain, and reads the output. A 5 x 5 grid forces 25 recalculations of your model. A 20 x 20 grid forces 400.
Excel recalculates data tables whenever the workbook recalculates, so in a normal automatic workbook every edit on any sheet can trigger those hundreds of passes. In a small loan model you will not notice. In a DCF with many linked sheets you will see the status bar flicker and typing lag.
Excel therefore offers a calculation mode that recalculates everything automatically except data tables. You then refresh the tables on demand.
The three calculation modes
| Mode | Normal formulas | Data tables | When it fits |
|---|---|---|---|
| Automatic | Recalculate on every change | Recalculate on every change | Small models, fast tables |
| Automatic except for Data Tables | Recalculate on every change | Recalculate only when you press F9 | Medium and large models with tables |
| Manual | Recalculate only when you press F9 | Recalculate only when you press F9 | Very heavy models, or deliberate control |
You set the mode in one of two places:
- On the Formulas tab, choose Calculation Options and pick one of the three modes.
- In File > Options > Formulas, under Calculation options, choose the same setting in the Workbook Calculation list.
The setting applies to the whole Excel session, not to a single workbook. Excel takes the mode from the first workbook you open in a session. If you open a second workbook with a different saved mode, Excel keeps the session mode and the second workbook inherits it. When you save, the current mode is stored in that workbook. This is a common source of surprise, covered below.
What happens in Automatic except for Data Tables
In this mode, your model formulas stay live. Change the interest rate in B2 and B4 updates immediately. The data table grid does not. It keeps showing the values from its last calculation.
To refresh the tables:
- Press F9 to recalculate all open workbooks, including data tables.
- Press Shift+F9 to recalculate only the active sheet, including any tables on it.
- On the Formulas tab, choose Calculate Now (F9) or Calculate Sheet (Shift+F9).
Both shortcuts compute tables in this mode. If you press F9 while in Manual mode, the same applies: the whole workbook, tables included, is recalculated.
Ctrl+Alt+F9 forces a full recalculation of all formulas, even those Excel does not consider changed. Use it when you suspect a stale result that F9 did not fix.
A worked demonstration
Use the loan model from earlier chapters: B1 is 300000, B2 is 0.065, B3 is 30, and B4 is =PMT(B2/12, B3*12, -B1). Assume you have the one-variable table in D2:E7 with rates in D3:D7 and =B4 in E2. Add the base case check from the earlier chapter in K2: =E5-B4.
- Set Calculation Options to Automatic except for Data Tables.
- Press F9 once so the table is current. E5 matches B4 and K2 shows 0.
- Change B1 from 300000 to 400000.
- B4 updates to the new payment immediately. The table in E3:E7 does not change. K2 now shows a nonzero value, because E5 is stale while B4 is current.
- Press F9. The table refreshes and K2 returns to 0.
Step 4 is the important lesson. The check cell is doing more than confirming the build. It also acts as a stale-table detector.
K2: =E5-B4A nonzero K2 in this mode usually means "press F9", not "the table is broken". If K2 is still nonzero after F9, you have a real build problem such as a wrong input cell, which later chapters cover.
Making staleness visible
The danger in this mode is not the setting itself. The danger is that a stale grid looks exactly like a current grid. Someone pastes it into a presentation after changing an assumption and never pressing F9.
Three habits reduce the risk.
First, keep a visible status cell next to every table that flags a mismatch:
K3: =IF(ABS(E5-B4)<0.005,"Table current","TABLE STALE - press F9")This works only if the table axes include the base case values, as in the base-case chapter. The tolerance of 0.005 covers rounding on a currency amount. Choose a tolerance suited to your output's units.
Second, apply conditional formatting to the status cell so the stale message is red. Use a formula rule such as =$K$3<>"Table current" on K3.
Third, include "press F9" in any model instructions or cover sheet so other users know the convention.
Manual mode
In Manual mode, nothing recalculates until you ask. Change B1 and B4 itself stays at the old value. The status bar shows "Calculate" to signal that pending changes exist.
By default Excel also recalculates before saving in Manual mode, controlled by the "Recalculate workbook before saving" checkbox in the Formulas options. If you turn it off, you can save a file whose displayed values do not match its formulas.
Manual mode is appropriate when:
- The model contains slow external links, volatile functions, or iterative calculations you do not want firing constantly.
- You are making many input changes in a row and want one recalculation at the end.
- You are building or restructuring the model and want to avoid transient errors.
It is a poor default for a model you hand to others. A user who changes an input and sees no output change may assume the model is broken, or worse, trust the stale number.
Iteration and circularity interact with tables
If your model uses iterative calculation for a circular reference, such as interest calculated on average debt, each data table cell triggers its own iterative solve. This multiplies calculation time and can leave grid cells at slightly different convergence levels. When tables sit on top of circular models, Automatic except for Data Tables is almost always the right choice, and you should press F9 more than once if the check cell is not exactly zero.
Calculation mode travels with the first workbook
Because the session adopts the mode of the first workbook opened, two situations commonly cause confusion:
- You open a colleague's file that was saved in Manual mode before your own files. Your whole session is now Manual, and your other workbooks stop updating.
- You open your own file after another one and find the mode differs from what you saved.
When something "stopped recalculating", check the Calculation Options dropdown first. If you build models for others, state the expected mode on the cover sheet. Some teams also add a cell that reports the mode. An Excel 4 macro function GET.WORKBOOK can do this, but it requires a defined name and a macro-enabled workflow, so most modelers simply rely on the status bar and the cover note instead.
Choosing a mode
Use this decision path:
To test whether tables are the cause, switch to Automatic except for Data Tables and edit an input. If the lag disappears, the tables were responsible.
Common mistakes in this area
- Forgetting F9 before copying results. Always refresh and confirm the status cell before pasting a table into a report.
- Pressing Enter in a table cell. Table cells cannot be edited individually, as the previous chapter explained. Do not try to "force" a refresh by re-entering them. Press F9.
- Assuming Shift+F9 refreshes other sheets. It only covers the active sheet. If a table on Sheet2 depends on inputs on Sheet2 but your model feeds from Sheet1, use F9.
- Leaving Manual mode on after a heavy edit session. Reset it before you save and share.
- Reading a stale grid as a result. A grid in this mode is a snapshot, not a live calculation.
Summary of the workflow
- Build and verify the table in Automatic mode while the model is small.
- If the workbook slows down, switch to Automatic except for Data Tables.
- Add a status cell tied to the base case check.
- After changing any input, press F9 and confirm the status reads "Table current".
- Before saving and sharing, confirm the mode you intend recipients to see.
Exercise
Your loan model is in Automatic except for Data Tables mode. You change the loan amount in B1, and cell K2 (=E5-B4) shows 312.45 instead of 0. You press F9 and K2 still shows 312.45. What does this tell you, and what do you check first?
Show answer
A nonzero K2 right after an input change is expected in this mode because the table is stale, but F9 should clear it. Since it persists after F9, the table is not simply stale, so there is a build problem. Check first that the column input cell in the TABLE formula points to the cell the axis values are meant to replace (B2 for rates) and that it is on the same sheet as the table. Also confirm that E5 corresponds to the base case values (6.5%) and that the axes actually contain the current inputs, otherwise the comparison is between different scenarios.
Exercise
A colleague sends a workbook saved in Manual mode. You open it first, then open your own workbook, which was saved in Automatic mode. Your own workbook stops updating when you change inputs. Why, and how do you fix it?
Show answer
Excel uses the calculation mode of the first workbook opened in the session, so your workbook now runs in Manual mode. Change it to Automatic or Automatic except for Data Tables from Formulas > Calculation Options, then press F9. Before saving, set the mode you want recipients to inherit.