How to Make Excel Retain the Highest Value from a Calculated Cell
Question details
The user wants to keep a continuous record of the absolute highest value ever reached by a live, dynamically calculated cell.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Tracking dynamic data changes such as live financial totals or scores, and maintaining a historical high score or maximum limit in a separate cell.
- Observed behavior
- The live cell updates dynamically, but there is no default formula setup to memorize previous higher states once the live value drops.
Before proceeding, note that enabling iterative calculation affects your entire workbook. Excel will stop warning you about accidental circular references in other sheets, so verify your formulas carefully before making this change.
Use Iterative Calculation to Maintain the Maximum Value
This method uses a built-in Excel setting to allow intentional circular references, enabling a cell to check its own value against a live cell and keep the highest number.
By default, Excel prevents a cell from referring to itself in a formula to avoid infinite calculation loops. By enabling 'Iterative calculation', you can safely use an intentional circular reference to store historical values.
Open your Excel workbook and go to File > Options. Click on the 'Formulas' category on the left sidebar, and check the box that says 'Enable iterative calculation'.
Ensure your dynamically changing value (the live calculated total) is set up in its designated cell, for example, cell B3.
Select the cell where you want to store the record high, such as cell B4. Type the formula =MAX(B3, B4) and press Enter. This tells cell B4 to always display the higher number between the live cell and its own current state.

Use VBA to Track the Record High Without Circular References
If you want to keep Excel's standard circular reference warnings active, you can use a VBA event macro to automatically update the maximum value.
Easily Track Maximum Values Using WPS Spreadsheet
WPS Office provides a highly compatible spreadsheet tool that seamlessly handles iterative calculations. You can retain maximum values exactly like in Microsoft Excel, but completely for free within a familiar, lightweight interface.
- 1. Open WPS Spreadsheet: Launch WPS Office and open your spreadsheet document.
- 2. Access Options: Click on the 'Menu' button located at the top left corner, then select 'Options' from the drop-down menu.
- 3. Enable Iterations: Navigate to the 'Calculation' tab in the options window and check the box for 'Enable iterative calculation'.
- 4. Apply the Formula: In your record cell (e.g., B4), input the formula =MAX(B3, B4) to automatically retain the highest value from your live cell.

Frequently Asked Questions
Will iterative calculation slow down my Excel workbook?
It generally has minimal impact on performance unless you have thousands of complex intentional circular references or you have set the 'Maximum Iterations' limit extremely high in your settings.
How do I reset the maximum value back to zero?
To reset the highest value, temporarily delete the =MAX(B3, B4) formula in the record cell, type 0 (or clear the cell), and then re-enter the formula.
Why does Excel normally warn about circular references?
Excel warns about circular references because a formula that refers to its own cell usually creates an endless loop, freezing the calculation process. Enabling 'Iterative calculation' tells Excel exactly how many times to repeat the loop before stopping, making intentional circular references safe.




