In this Excel tutorial, you will learn how to remove the circular references in an Excel file.
What is a circular reference?
Let us understand what circular reference is. A circular reference happens when a formula directly or indirectly refers to its own cell. This causes the formula to use the result in the calculation and it runs in a loop, causing an error. When there are circular reference errors, Excel cannot do the other formula calculations automatically.
If you leave them in, Excel calculates each cell involved in the circular reference by using the results of the previous iteration. An iteration is a repeated recalculation until a specific numerical condition is met. By default, Excel stops calculating after 100 iterations or after all values in the circular reference change by less than 0.001 between iterations, unless you change the Excel option.
A circular reference can cause an infinite loop in the spreadsheet.
Let’s create a circular reference now to look at it:
I wrote a value in cell A3, which is 10.
In cell B3 I wrote a formula: = A3+B3.
We are already putting a formula in B3 and using the same in the formula.
On clicking enter/tab, it gives the following error:
On clicking ok it gives the wrong results = 0 and at the bottom it keeps showing a warning:
How to find the circular reference?
Circular references occur in Excel when a formula refers to itself either directly or indirectly. This can lead to incorrect or unpredictable results, and it’s important to resolve them.
Here are some steps to help you get rid of circular references in Excel:
- Identify the cells that are causing the circular reference. Excel will usually display a warning message when a circular reference is detected, which can help you identify the cells involved.
- Review the formulas in the cells identified in step 1 to determine if they are causing the circular reference. Check if any of the cells are referencing themselves or if there are any circular references involving other cells.
- Correct the formula(s) causing the circular reference. You can do this by editing the formula(s) in the affected cells to remove the reference to itself or to break the circular reference chain.
- If you’re having trouble identifying the cells causing the circular reference, you can use Excel’s Trace Dependents and Trace Precedents features to help you. These features will show you which cells are dependent on or precede the selected cell.
- If you need to use circular references in your Excel model, you can enable iterative calculations in Excel. This feature allows Excel to calculate a formula multiple times until it reaches a specified result or limit.
Once you’ve corrected the circular reference, save your workbook to ensure that the changes are retained.
By following these steps, you can effectively get rid of circular references in Excel and ensure that your formulas are working correctly.
1. Go to the Formulas tab.
2.Click on error checking:
In error checking, click on circular references:
It shows the cells that have the issue, and we can correct them.
If you cannot figure out if the cell is the cause of the circular reference, click the next cell in the Circular References submenu, if available.
Continue to review and correct the circular reference until the status bar no longer displays the word “Circular”.