How to Enable Iterative Calculation in Excel

To enable iterative calculation in Excel, go to File > Options > Formulas, tick Enable iterative calculation under Calculation options, and click OK. Excel then recalculates formulas that refer back to themselves (circular references) up to 100 times, or until the result changes by less than 0.001, instead of showing a circular reference warning. Only turn it on when you’ve built a circular formula on purpose, because it can hide real mistakes.

How to enable iterative calculation in Excel
Turn it on only for workbooks that need intentional circular formulas. (Illustration, not the actual Excel window.)

Turn it on in Excel for Windows

  1. Click File > Options.
  2. Select Formulas.
  3. Under Calculation options, tick Enable iterative calculation.
  4. Set Maximum Iterations and Maximum Change if needed (see below).
  5. Click OK.

Turn it on in Excel for Mac

  1. Choose Excel > Settings (Preferences in older versions).
  2. Click Calculation.
  3. Tick Use iterative calculation and set the limits.
  4. Close the window.

What the two limits mean

SettingDefaultWhat it controls
Maximum Iterations100How many times Excel recalculates the circular formulas each time something changes
Maximum Change0.001Excel stops early once the result changes by less than this amount between passes

For financial models, 100 iterations and 0.001 are usually plenty. Raise the iterations if results keep shifting, or make Maximum Change smaller for more precision. Very high values slow the workbook down.

Example 1: A timestamp that doesn’t change

A common use is recording when data was entered. With iterative calculation on, put this in B2 and copy it down:

=IF(A2<>"",IF(B2="",NOW(),B2),"")

When you type in A2, B2 captures the current date and time and then keeps it, because the formula refers to itself. Format column B as date and time. Without iterative calculation, Excel would flag this as a circular reference.

Example 2: Interest on an average balance

In a cash flow model, interest might depend on the closing balance, which itself includes the interest. Say opening cash is in B1, cash flow in B2, interest in B3 and closing cash in B4:

  • B3: =AVERAGE(B1,B4)*5%
  • B4: =B1+B2+B3

B3 and B4 depend on each other. With iterative calculation on, Excel loops until both settle on consistent values.

Find circular references

If you didn’t mean to create a loop, find it rather than hiding it. Go to Formulas > Error Checking > Circular References to see a list of the cells involved. The status bar also shows “Circular References” with a cell address. Use Formulas > Trace Precedents to follow the loop.

Things to know before you turn it on

  • It’s an application setting. It’s saved with the workbook, but the first workbook you open in an Excel session decides the setting for every workbook open at the same time.
  • It hides accidental loops. Excel no longer warns you about circular references in any open workbook, so mistakes can slip through.
  • Results can depend on the starting values. Some loops never settle and just stop at the iteration limit. Check that results make sense.
  • Shared files. Colleagues may see different results if their Excel opens with the setting off. Add a note in the workbook explaining that it needs iterative calculation.

Alternatives to circular formulas

  • Goal Seek (Data > What-If Analysis > Goal Seek) solves for one input without a loop.
  • Copy-paste values for timestamps: press Ctrl + ; for today’s date or Ctrl + Shift + ; for the time.
  • Restructure the model so interest uses the opening balance only, which removes the loop.

If the real problem is a reference that shifts when you copy a formula, iteration won’t help. Keeping one cell constant in Excel fixes that.

Troubleshooting

The option keeps turning itself off

Another workbook opened first with the setting off. Close all workbooks, open the one that needs iteration first, and turn it on again.

Results show 0 or don’t update

Check that Formulas > Calculation Options is set to Automatic, then press F9 to recalculate. Excel’s calculation settings also include an option that skips data tables during recalculation, which helps if a two-variable data table in Excel is slowing your workbook down.

Summary

  1. File > Options > Formulas.
  2. Tick Enable iterative calculation.
  3. Keep the defaults of 100 iterations and 0.001 unless you need more precision.
  4. Use it only for intentional circular formulas, and document it in the workbook.