Operis Analysis Kit
  • Applications
    • Spreadsheet Modelling
    • Spreadsheet Review
  • Features
    • Mapping a Model
    • Comparing Model Versions
    • Summarizing a Model
    • Using Named Ranges
    • Review Issues
    • Formula Explorer
      • Trace Dependents
      • Trace Precedents
    • Compliance with Best Practices
    • Excel Utilities
    • Excel Shortcuts on OAK
  • Pricing
  • Support
    • FAQ
    • Documentation
  • Blog
  • About OAK
  • Get in touch
Operis Analysis Kit
  • Applications
    • Spreadsheet Modelling
    • Spreadsheet Review
  • Features
    • Mapping a Model
    • Comparing Model Versions
    • Summarizing a Model
    • Using Named Ranges
    • Review Issues
    • Formula Explorer
      • Trace Dependents
      • Trace Precedents
    • Compliance with Best Practices
    • Excel Utilities
    • Excel Shortcuts on OAK
  • Pricing
  • Support
    • FAQ
    • Documentation
  • Blog
  • About OAK
  • Get in touch

Try OAK!     Buy Now!

Blog

How To Find Circular References In Excel 14 Aug 2024

Share now

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

  1. 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.
  2. 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 search for circular references in excel

 

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.

OAK-formula

 

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

check for circular references in excelThe model might still contain circular paths that are inactive under current assumptions. Due to the use of decision structures and functions (such as IF statements), these circular references only become active and detectable when specific conditions are met.

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!


Share now

Categories

  • Discover OAK
  • Modelling Insights
  • OAK Releases

Archive

Companies who decipher complex spreadsheets with OAK

ofgem-logo
Barclays_logo
BDO logo
CIBC-Logo
engie-energy-and-services-logo
hochtief logo
HSBC
Investec Bank logo
national audit office logo
Sonnedix logo

Pricing

Reduce the time and cost associated with interpreting a spreadsheet model using OAK. See what’s included in the price.

Blog

Discover how OAK helps solve a myriad of Excel issues on our blog.

Support

We’re here to help. Get answers to questions about installation, licensing and new releases.

OAK review

Everything you need to build, analyze and audit a spreadsheet. And make better decisions

Try OAK for free
Made for
Made for Microsoft
Made for Microsoft Excel

Start your 30 day Free Trial

  • This field is for validation purposes and should be left unchanged.

Privacy Policy
OAK
  • Features
  • Pricing
  • About OAK
  • Support
Legal
  • Privacy Notice
  • Cookie Policy
  • Legal disclaimers
  • Licence Agreement
OAK Applications
  • Spreadsheet Modelling
  • Spreadsheet Review
Financial Modelling Training
  • Financial Modelling for Solar Energy Projects
  • Financial Modelling for US P3 Projects
  • Financial Model Assessment and Review
  • Spreadsheet Modelling for Public Sector
  • Aligning Contracts and Financial Models for Lawyers
  • Excel VBA for Project Finance Models
Contact us
  • 110 Cannon Street
    London
    EC4N 6EU
  • +44 (0)20 7562 0400
  • [javascript protected email address]
Winners of the 2020 Financial Modelling Innovation Awards

©2026 Operis Analysis Kit. All Rights Reserved.

Powered by FL1 Digital