Excel Circular Reference (Table of Contents)
- Circular Reference in Excel
- How to Use Circular Reference in Excel?
- Find Circular Reference in Excel
Circular Reference in Excel
Circular Reference in Excel is a kind of alert message that we can see when we are selecting the values in the form of Circle in any formula. Rectifying circular references is very important; otherwise, our applied formula will definitely end up giving us the incorrect value. For example, if we are summing the value of 5 cells into the 6th cell and we mistakenly considered the range of 6 cells, including the cell where we will be seeing the output, then although we would get the output, it will definitely be an incorrect value. We can enable or disable Circular reference from Excel Options’ Formulas section.
How to Use Circular Reference in Excel?
Using It is very simple and easy. Let’s understand the situation of the Circular Reference error with some examples.
- Now, as we can see, Cell A4 and A5 have some value, and in Cell A6, we have to add those values, including the value in Cell A6 itself.
- So we enter the formula like the below screenshot.
- When we hit the enter key, it will display an error message, as shown below.
- Here if you click on OK or close the window by clicking on the cross button, Excel will take it as Zero value or the last calculated value in the cell.
- If you click on Help, you can get more information.
- Now, we have clicked on OK, and it will display 0 in cell A6. ( Refer to below screenshot )
You might be surprised that in some cases, excel will complete the formula with the last calculation having a Circular reference condition without displaying an error message and returns the value in the cell.
In some conditions, we might require to create a circular reference while calculating. Let’s take an example to create that scenario where circular reference is required to include.
Suppose you go to a restaurant and have lunch. You get the bill which you have to pay before leaving. The GST ( Goods and Service Tax ) on total expense is 10%, so we have to calculate the total bill.
Here, we will apply the formula like the below screenshot.
Here we will sum up all the Item prices and calculate the 10% on that amount. Then will add this tax amount to the total item’s price. It will give you the total expenses.
But here, Circular reference is a part of the formula; it won’t calculate the total bill. So in this situation, we need to make some changes in Excel settings for further calculation.
This scenario will display an error message as shown in the above Example 1 ( Figure 3 ).
Find Circular Reference in Excel
Follow the below steps :
- Go to the FILE tab.
- Click on Options in the left pane window. Then, refer to the below screenshot.
- It will open a dialog box for Excel options.
- Click on the Formulas tab.
- Tick on the checkbox “Enable iterative calculation”, as shown in the below screenshot.
- Click on OK.
- It will calculate the Total Bill in Cell B15. Refer to the below screenshot.
By enabling this Iterative calculation option, it will repeat the re-calculation until a specific numeric condition is met.
There are two ways to turn on this option.
We can see there are two options available under the Enable iterative calculation section, as shown in the below screenshot.
- Maximum Iterations: As we can see here, the default value is 100. This means Excel will repeat the calculations 100 times and will try to solve this.
- Maximum Change: Excel will try to repeat the calculation 100 times and stops when it finds the difference is not more than 0.001 between iterations.
Things to Remember
- We should avoid Circular reference, the reason being, it leaves an impact on the performance and displayed a warning message every time at the time of opening the workbook.
- It can also be the reason for other issues that are not immediately visible.
This has been a guide to Circular Reference in Excel. Here we discuss how to find and use a circular reference in excel along with practical examples and a downloadable excel template. You can also go through our other suggested articles –