How to Fix a Circular Reference Error in Excel – A Guideline

 

What is A Circular Reference?

A circular reference occurs when a formula, either directly or indirectly, refers back to its cell reference, resulting in an unending loop of computations.

Here’s an example :

The SUM Function is used in C16 to compute the total revenue. However, C5:C16 is declared as range in the SUM Function.

Circular Reference Error in Excel

It creates an endless loop and Excel will keep adding the new value to C16.

A circular reference warning is displayed:

Circular Reference Error in Excel

 


Use Iterative Calculations to Enable/Disable the Circular Reference Error

Enable/Disable Iterative Calculations

In the image below, a circular reference in C16 is indicated in the status bar. The result is zero (0) in C16. To enable Iterative calculations:

Apply Iterative Calculations

Steps:

  • Go to the File tab ⇨ Options Formulas.
  • Check Enable iterative calculation.
  • Press Enter.

Apply Iterative Calculations

This is the output.

Apply Iterative Calculations

Each cell related with the circular reference will be calculated.

Apply Iterative Calculations

Maximum Iterations & Maximum Change Parameters

 Iterative Calculations have two parameters:

Maximum Iterations

The loop is repeated when Excel calculates the final result. 

Maximum Change

The number that must be achieved in order that the iteration will continue. By default, the maximum change is set to 0.001.

Why Should Enabling Iterative Calculations be avoided?

When you enable iterative calculations, the deliberate usage of circular references uses resources and computing power and may result in unwanted or inaccurate consequences.


Finding a Circular Reference Error in Excel

1. Use the Error Checking Feature to Find a Circular Reference Error in Excel

Step 1:

  • Go to the Formulas tab
  • Click Error Checking.

Find Circular Reference Error in Excel

Step 2:

  • Select Circular References.

Excel will display all circular references in the worksheet.

Find Circular Reference Error in Excel

 

Read More: How to Find a Circular Reference in Excel


2. Use the Status Bar to Find a Circular Reference Error in Excel

If the worksheet has a circular reference, it is displayed in the status bar below the worksheet names.

Find Circular Reference Error in Excel

Note.

  • This feature is disabled when the Iterative Calculation option is enabled.
  • It only displays the most recent circular reference.

Read More: How to Allow Circular Reference in Excel


Fix a Circular Reference Error in Excel

Step 1:

  • Select the correct range to fix the error in C16.

Find Circular Reference Error in Excel

Step 2:

  • Press Enter in C16 to see the result.

Find Circular Reference Error in Excel

Read More: How to Remove Circular Reference in Excel 


Trace Relationships Between Formulas and Cells

The dataset below showcases the prospected revenue of Apple in 2022. To Sum the total revenue from 2011 to 2022, the following formula was used in D10.

Trace Relationships Between Formulas and Cells

As there is a circular reference in C16, there will be an error in D10.

Trace Precedents to Relate a Circular Reference Error in Excel

Steps:

  • Go to the Formulas tab.
  • Select Trace Precedents.

Trace PrecedentsYou will see arrows that indicate cells that affect the active ones.

Trace Precedents

Note. The shortcut to Trace Precedents is Alt+T U T


Trace Dependents to Relate a Circular Reference Error in Excel

Steps:

  • Go to the Formulas tab.
  • Select Trace Dependents.

Trace DependentsCells containing formulas that refer to the active cell are displayed.

Trace Dependents

Note. The shortcut to Trace Dependents is Alt+T U D


Download Practice Workbook

Download the practice workbook.


Related Article


<< Go Back to Circular ReferenceCell Reference in ExcelExcel Formulas | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Bhubon Costa
Bhubon Costa

Bhubon Costa, B.Sc. in Naval Architecture & Marine Engineering from Bangladesh University of Engineering & Technology, has worked with the ExcelDemy since 2021. Currently, he has been working as a reviewer. Notably, he has written over 90 articles and led several VBA content development teams. He has a great passion for the fields of data analytics and data science. His areas of expertise include Excel VBA, Power Query, Pivot Table, Power BI, MySQL, PostgreSQL, machine learning, and Python... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo