How To Find Circular References In Excel 14 Aug 2024
Locating and Rectifying Errors
Circular references can cause significant issues in financial modelling. Unfortunately, these errors can be relatively easy to make but they can have detrimental consequences. Circular references disrupt essential model logic and are notoriously difficult to detect. As a result, modellers frequently spend hours troubleshooting these issues, sometimes having to restructure significantly to resolve them.
How to search for circular references in Excel
- Manually checking cell references – not practical but it is a possible solution
Follow this process to manually check cell references:- Start with a formula in a cell and follow the cell references in that formula to the cells they reference.
- Repeat the process for each cell reference until you have followed all the cell references in the formula.
- If you find that a cell reference refers back to the original cell, then you have a circular reference.
- Using the error-checking function
Excel has an inbuilt error-checking function that will detect and flag circularities issues. To use this function:- Select the cell with the circular reference.
- Go to the “Formulas” tab in the ribbon.
- Click on “Error Checking” in the “Formula Auditing” group.
- Select “Circular Reference” from the drop-down menu.
- Excel will display a list of all circular references in your workbook, along with the cells involved in each circular reference.
Although this search function is helpful, it is not always accurate at finding every error and will often only locate one at a time. It is recommended that a manual search also be conducted.

How to fix circular references
Once you have located the circular references, it is essential you fix them to prevent further issues from occurring. There are three methods you can use to make these amendments. These are:
- breaking the circular reference
- using iterative calculation
- creating a Copy & Paste macro.
Breaking the circular reference
One approac to resolving a circular reference is to break the chain of cell references by altering the formula in one of the involved cells. Achieve this by substituting a cell reference with a constant value or a different formula that does not depend on the original cell. By doing so, you effectively remove the circular dependency, ensuring that the calculations can proceed without looping back on themselves. This method simplifies the logic and also stabilizes the model.
Using iterative calculation
Another way to fix circular references in Excel is by turning on iterative calculation. This feature lets Excel recalculate the worksheet multiple times until the circular reference is fixed. However, this method can be risky. Excel will try to fix all circular references in the model, even those the user might not know about. This can lead to unexpected results, as hidden circularities might be addressed in ways that change the model’s accuracy and reliability.
To mitigate the risk mentioned above, it’s advisable to link all circular formulas to a manual Boolean input, commonly referred to as a “switch.” Enclose all circular formulas within an IF statement that activates the circular formula or returns 0 depending on the switch’s value. This technique (also known as a circuit-breaker) enables the modeller to turn off all known circular references while still receiving alerts from Excel when a new circular reference appears.
To enable iterative calculation, follow these steps:
- Go to “File” > “Options” > “Formulas.”
- Check the box next to “Enable iterative calculation.”
- Set the maximum number of iterations and the maximum change value.
- Click “OK” to save your changes.
- Once iterative calculation is enabled, Excel will automatically recalculate your workbook until the circular reference is resolved.
Creating a Copy & Paste macro
This method is commonly used in financial models, especially for interest and debt sculpting calculations, where circular references are frequent but Excel’s iterative calculation feature is not permitted. Calculate the circular formula by using a cell reference that contains a pasted value. This value is copied from another formula that is not related to the original circular reference.

Method:
Sub DebtSculpting()
'Shortcut Ctrl+Shift+S
Application.ScreenUpdating = False
Range("OptionRepaymentSculpted").ClearContents
Do Until Range("FlagSeniorRepaid") = True
Range("SeniorRepaymentSculpted").Copy
Range("OptionRepaymentSculpted").PasteSpecial xlPasteValues
Loop
Application.CutCopyMode = False
Application.ScreenUpdating = True
End Sub
Potential dilemmas

A new, efficient method
Operis Analysis Kit (OAK) is proud to release the new ‘Search for Circularities’ feature. This has been a heavily requested feature for some time, and we are very excited to announce that it is now available as part of our industry-leading add-in software.
What can OAK’s feature do?
Our new search circularities feature leverages OAK’s distinct proprietary capability to help you effectively check for circular references in Excel.
The search circularities feature:
- Efficiently scans an entire workbook and builds up a complete dependency tree, representing the entirety of formula dependency in a workbook.
- It then parses the active paths in each individual formula, for example determining which branch is active in IF statement, to build up the complete logic chain for how each value in each cell is calculated.
- Finally, it applies advanced network algorithms to identify circular logic and reports the offending ranges to the user.
Try it for yourself
Try out OAK’s impressive features with a free 30 day trial, we are confident you will quickly see the many benefits our add-in will have upon your efficiency.
Get in touch
Don’t hesitate to get in touch with our expert team with any questions you may have. Contact us now!






