How to Permanently Enable Iterative Calculation in Excel
Question details
The user needs a method to permanently enable iterative calculation whenever Excel starts, preventing the setting from changing based on the workbooks opened.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Using a third-party program or relying on a specific workflow that requires iterative calculations to be automatically enabled upon application launch.
- Observed behavior
- Excel calculation settings vary according to the application state and the first workbook opened, causing iterative calculation to turn off unexpectedly.
Ensure that your organization's IT policies permit the use of VBA macros, as permanently saving this configuration requires creating a startup macro.
Use a Startup Macro in PERSONAL.XLSB
Create a VBA macro in your Personal Macro Workbook that automatically enables iterative calculation every time Excel is launched.
Calculation options in Excel are application-level settings, meaning they can change depending on the first workbook you open during a session. By utilizing the PERSONAL.XLSB workbook, which opens silently in the background on startup, you can force the iterative calculation setting to remain active regardless of other files.
Launch Microsoft Excel and press 'ALT + F11' on your keyboard to open the Visual Basic for Applications (VBA) Editor.
In the Project Explorer pane on the left, look for 'VBAProject (PERSONAL.XLSB)'. If it does not exist, you will need to record a dummy macro and choose to save it in the 'Personal Macro Workbook' to generate this file.
Double-click on 'ThisWorkbook' under the PERSONAL.XLSB project. In the code window that appears, paste the following code: Private Sub Workbook_Open() Application.Iteration = True End Sub
Save your changes in the VBA editor, close it, and restart Excel. Ensure that your Trust Center settings allow macros to run, so the script can execute properly on startup.

How to Enable Iterative Calculation in WPS Spreadsheet
WPS Spreadsheet natively supports iterative calculations for complex formulas and circular references. You can easily manage and enable this feature directly within the application settings.
- 1. Access the Options Menu: Open WPS Spreadsheet, click on the 'Menu' button in the top-left corner, and select 'Options' from the drop-down list.
- 2. Navigate to Calculation Settings: In the Options dialog box, click on the 'Calculation' tab located in the left-hand navigation pane.
- 3. Enable Iteration: Check the box next to 'Iterative calculation'. You can optionally adjust the 'Maximum iterations' and 'Maximum change' limits based on your calculation requirements.
- 4. Apply Changes: Click 'OK' to save your settings. Your spreadsheet will now correctly process formulas involving circular references.

Frequently Asked Questions
What is iterative calculation used for in Excel?
Iterative calculation is primarily used to allow circular references, where a formula refers back to its own cell either directly or indirectly. This is common in complex financial modeling, engineering calculations, and solving complex mathematical equations.
Why does my iterative calculation setting turn off automatically?
Excel calculation options are application-level settings inherited from the first workbook opened. If you open a workbook that was saved with iterative calculation disabled, Excel adopts that setting for the entire application session until it is manually changed.
Can I enable iterative calculations temporarily without using VBA?
Yes, you can enable it manually for your current session by going to File > Options > Formulas and checking the 'Enable iterative calculation' box. However, you will need to repeat this process if a newly opened workbook overrides the setting.
What happens if I don't enable iterative calculation for a circular reference?
If iterative calculation is disabled and you create a circular reference, Excel will display a 'Circular Reference Warning' prompt. It will not calculate the formula correctly and will typically return a zero or an error state.




