Sub topic 5
Iterative Calculation and Circularity Switches
Assume you can write formulas, use named ranges, and understand relative and absolute references. You should also know basic financial statements and why debt, interest, cash, and taxes can affect one another.
Why circular references occur
A circular reference exists when a formula depends, directly or indirectly, on its own result. For example, interest expense may depend on average debt, while ending debt depends on cash flow after interest:
- Interest depends on average debt.
- Cash flow depends on interest expense.
- Debt depends on ending cash flow.
- Ending debt changes average debt.
This relationship is economically reasonable, but Excel cannot solve it with one simple calculation pass. Excel normally reports a circular reference warning and stops calculating the affected formulas.
Iterative calculation allows Excel to recalculate the formulas repeatedly. Each pass uses the results from the previous pass until the workbook reaches a limit or the changes become small enough.
Enabling and controlling iteration
In Excel for Windows, open File > Options > Formulas. Under Calculation options, select Enable iterative calculation. Two settings control the process:
- Maximum Iterations limits the number of recalculation passes.
- Maximum Change sets the smallest acceptable change between passes.
A smaller maximum change usually gives a more precise result, but it may require more iterations. A high maximum iteration count does not fix a badly designed circularity. It can only make Excel spend longer trying to converge.
Use manual calculation cautiously. When calculation is manual, press F9 to calculate all open workbooks, Shift+F9 to calculate the active sheet, or Ctrl+Alt+F9 to force all formulas to recalculate.
> Warning > Iterative calculation is a workbook-level setting. A circular reference elsewhere in the file may appear to work because iteration is enabled. Confirm that every circularity is deliberate, documented, and converges to a stable result.
Using a circularity switch
A circularity switch lets you turn the circular portion off while building or auditing the model. Create a named input such as Circ_Switch, where 1 means “turn circularity off” and 0 means “allow circularity.”
=IF(Circ_Switch=1,0,AVERAGE(D10:E10)*$C$4)When the switch is 1, the formula returns zero. You can then inspect the rest of the model without iterative errors. After checking the model, set the switch to 0 and confirm that the result converges.
Keep the switch in a clearly labeled assumptions area. Do not hide it inside a long formula. Add a nearby check that reports whether circularity is enabled and whether the model balances.
A safe workflow
- Set
Circ_Switchto1. - Build and check the non-circular model.
- Enable iterative calculation.
- Set the switch to
0. - Recalculate and compare the result with a reasonable expectation.
- Test extreme debt, cash, tax, and interest assumptions.
- Document the switch, tolerance, and iteration limit.
Exercise
A model has a debt-interest circularity. What should you do before enabling iterative calculation?
Show answer
Turn on the circularity switch, check the non-circular model, then enable iteration, turn the switch off, recalculate, and test whether the result converges.