How to Allow Circular Reference in Excel (With 2 Suitable Uses)

“Allow Circular Reference in Excel” is an easy way to insert self-reference a cell in Excel. By Microsoft’s definition, Circular Reference occurs when an Excel formula refers back to its own cell, either directly or indirectly. For example, if we want to add two entries (i.e., B2 and C2) but display the result in one of the entries (i.e., B2), then we create a circular reference. After hitting ENTER for the first time Excel shows a warning that there are one or more circular references in the formula only.

circular reference-Allow Circular Reference Excel

Circular reference calculates formula results in iterations. As a result, it can create a loop if the maximum iteration time is set too much.

In this article, we discuss Circular Reference, its issues, and its usage.


Download Excel Workbook


How to Find Circular Reference is Enabled or Not?

From the previous sections, we know what circular reference is and how to deal with it. Though the most relevant question is how to find whether an Excel worksheet has circular reference Enabled or Disabled?

The most natural way is that if we enter references by ourselves, Excel shows a warning for the first time as shown in the following image. If Excel displays the warning, we are pretty sure that the worksheet has circular reference disabled. Otherwise, the formula returns the correct result for maximum iterative number 1.

circular reference-Allow Circular Reference Excel

After entering cell references in formulas, you see Excel returns zero (0) without any obvious reasons. You check the text to the right side of Ready status at the bottom of any worksheet. If it shows Circular Reference: cell, the circular reference option is disabled for the worksheet.

circular reference show

We can go to Formulas Tab > Select Error Checking (in the Formula Auditing section) > Select Circular References (from the Error Checking options). It shows where the error of the circular reference takes place.

Showing Circular reference-Allow Circular Reference Excel

Read More: How to Find a Circular Reference in Excel (2 Easy Tricks)


Allow Circular Reference in Excel Using the File Ribbon

Allowing circular reference is one kind of ignoring a reference error in formulas. Nevertheless, allowing circular reference enables formulas to overcome reference error and returns the correct resultant value.

In order to allow circular reference, Follow the below sequences,

Go to the File Ribbon of any worksheet.

allowing circular reference-Allow Circular Reference Excel

Select Options from the File menu options (the Excel Options window appears) > Select Formulas (in the right side of the window) > Tick the Enable iterative calculation option (entering your needed Maximum iterations number and Maximum change).

Click OK.

allowing circular referenceExecuting these sequences, you can allow formulas to return resultant values with existing Circular References.


Issues with Maximum Iterations

When a circular reference occurs in Excel, Excel returns a warning for the first time as shown in the below screenshot.

Issue with maximum iterations-Allow Circular Reference Excel

However, later on, Excel doesn’t show the warning, and users are stuck on calculations wondering what goes wrong as resultant values return zero (0) irrespective of formula types.

circular reference-Allow Circular Reference Excel

To solve this calculation issue, we have to check the Enable iterative calculation option. Go to the File Tab option as instructed in the following image.Enabling iterative calculations-Allow Circular Reference Excel

After clicking on File Ribbon, Select Options (the Excel Options window appears) > Choose Formulas (in the left section of the Excel Options window) > Tick the Enable iterative calculation. Then click OK.

Allowing Circular Reference ExcelNow, we can use circular references in formulas. But if you enter 1 (as we entered) in the Maximum iterations box the formula (i.e., =B2+C2) returns 20 (which is correct as B2 is empty and C2 has a value of 20) as depicted in the below image.

Result

However, if we enter 5 in the Maximum iterations option box, as we are displaying in the following screenshot.

Allowing Circular Reference Excel

The formula returns 100 as it iterates the same calculation 5 times. It’s the most disturbing miscalculation in Excel.

Maximum iterations 5 result


Uses of Circular Reference in Excel

Circular Reference is quite useful in certain areas. Some incidents need Circular Reference to represent values more effectively. In this article, we discuss two of the most used Circular Reference instances.

Example 1: Allow Circular Reference in Excel to Insert Static Timestamp

Let’s say we have some Products with Order Dates and Delivery status. And we want to insert a Timestamp in cells whatever the Products are delivered. We show Delivery Status in Yes or No’s.

So, if the Delivery Status is Yes then the Timestamp displays the then Time and Date.

Paste the following formula in any blank cell (i.e., E5) where you want to display the Timestamp.

=IF(D5="Yes",IF(E5="",NOW(),E5),"")

The formula runs a logical_test to match Yes with entries in column D. Then it displays the current time in cells that return TRUE or keep the cell blank otherwise.

Timestamp-Allow Circular Reference Excel

Press ENTER then Drag the Fill Handle to insert the Timestamp to all delivered products.

Timestamp result

Since Circular Reference poses a self-cell reference issue, sometimes it seems the formula might not work properly. In that case, rewrite the Delivery Status or conditions then apply any formulas. And you may need to change the cell format to get the date-time format.


Example 2: Allow Circular Reference in Excel for Iterative Calculation

Sometimes, we need to perform iterative calculations. In an iterative calculation, we get the direct iterative value without performing the whole calculation.

Suppose in a scenario, we invest an initial cash amount (i.e., $1500) and we want monthly installments from the asset. We can calculate the installment amounts for the 1st month using the below formula.

=$C$4*(1+$C$5)

Then refer to the previous installment amount to calculate the next installment amounts as shown in the following picture.

iteration calculation

However, if we use circular reference, we can get the nth installment amount just by entering the installment number as the Maximum iterations number. For the correct result, we enter 5 as Maximum iterations and the 1th of 1000 allowable changes as shown in the image below.

Iteration calculationWe enter the maximum iterations number 5 because we have to calculate the 6th installment. And we allow the changeable amount to vary 1th of 1000 portions.

After allowing Circular Reference, Type =F6 in cell F4 to fetch the calculated value after 5th iterations in cell F6 (creating Circular Reference) applying =F4*(1+F5) formula.

Iteration calculation

The formula in the F6 cell calculates the 6th installment in the second and enduring less hassle.

Iteration calculation result


Conclusion

In this article, we discuss one of Excel’s most annoying incidents, Circular Reference. Also, we look after issues created by the Maximum iterations option. We demonstrate the common usage of Circular Reference and tricks to use it in suitable calculations. Hope this article clarifies your concept regarding Circular Reference and helps you to handle it more effectively. Comment if you have further queries or anything to add. See you in my next article.


Related Articles

Maruf Islam

Maruf Islam

My self, Maruf Islam, an engineer and Excel & VBA Content developer on Exceldemy. I enjoy solving problems, finding workable solutions, and most of the part I really like to take on challenges. On Exceldemy I write articles discussing various way outs of Microsoft Excel's stuck ons.

We will be happy to hear your thoughts

Leave a reply

5 Excel Hacks You Never Knew

Genius tips to help you unlock Excel's hidden features

FREE EMAIL BONUS

ExcelDemy
Logo