What a circular reference is and why Excel warns you

A circular reference happens when a formula refers back to its own cell, either directly or through a chain of other cells. For example, if cell A1 contains the formula =A1+5, that is a direct circular reference — the cell is trying to use its own value to calculate itself. If A1 contains =B1, B1 contains =C1, and C1 contains =A1, that is an indirect circular reference — the chain loops back.

Excel cannot solve a circular reference because there is no starting point for the calculation. When you create one, Excel shows a warning dialog and will not let the formula calculate properly. The cell displays 0 or the last calculated value, but the formula does not work. Finding and removing the circular reference is the only way to fix it.

Key Takeaways

  • Excel shows a warning dialog when you enter a formula that creates a circular reference, and the formula will not calculate.
  • Use the Error Checking tool under the Formulas tab to find all circular references in your spreadsheet at once.
  • Trace the formula chain by clicking on cells to see which formulas reference which other cells, then remove the loop.
  • If you intentionally need a circular reference (rare), you can enable iterative calculation in Excel Options, but this is not a standard fix.

How to find circular references using the Error Checking tool

The fastest way to locate a circular reference is through Excel's built-in Error Checking feature. Open your spreadsheet, then go to the Formulas tab at the top. In the Formula Auditing group, click Error Checking and select Circular References from the dropdown menu. Excel will show you a list of every cell that contains or is part of a circular reference.

If the list is long, start with the first cell. Click on it and Excel will take you to that cell in the spreadsheet. Look at the formula bar to see what the formula is trying to calculate. Then check whether that formula refers back to its own cell or to another cell that eventually leads back to it. Once you understand the loop, you can decide which formula needs to change.

If the Error Checking dropdown does not show Circular References as an option, go to File > Options > Formulas and make sure the box next to "Enable background error checking" is checked. This turns on the feature that finds these errors.

Using the Trace Precedents and Trace Dependents tools

Once you have found a cell with a circular reference, the Trace tools help you see the chain of formulas that create the loop. These tools are also in the Formulas tab under Formula Auditing. Click on the cell with the circular reference, then click Trace Precedents. Excel draws blue arrows showing which cells this formula pulls data from.

Follow the arrows to see where the formula gets its values. If one of those cells also has a formula, click on it and click Trace Precedents again. Keep following the chain until you see an arrow pointing back to your original cell — that is where the loop closes. Once you see the loop, you know which formula to change to break it.

Alternatively, click Trace Dependents to see which cells use the current cell in their formulas. This shows you the opposite direction of the chain and can help you understand the full picture of how the formulas connect. When you are done tracing, click Remove Arrows to clear the diagram.

Breaking the circular reference by editing the formula

Once you have identified the loop, you need to change one of the formulas in the chain so it no longer refers back to itself. Click on the cell with the circular reference and look at the formula bar. Change the formula so it references a different cell, or remove the self-reference entirely.

For example, if A1 contains =A1+5, change it to =B1+5 or to a fixed number like =5. If the loop is indirect — say A1 references B1, B1 references C1, and C1 references A1 — you might change C1 to reference D1 instead, or remove the reference to A1 altogether. The key is breaking the chain so no cell refers back to itself through any path.

After you edit the formula, press Enter. If the circular reference is gone, Excel will recalculate the spreadsheet normally and the warning will disappear. If you still see the warning, there may be another circular reference elsewhere in the spreadsheet — run Error Checking again to find it.

Preventing circular references when building formulas

The easiest way to handle circular references is to avoid creating them in the first place. When you write a formula, think about what cells it references. If the formula is in cell A1, make sure it does not reference A1 itself. If you are building a chain of formulas, trace the path mentally to confirm it does not loop back.

A common mistake is copying a formula to a new cell and forgetting to update the cell references. For example, if you copy a formula from A1 to B1, the references shift automatically — but if the original formula was meant to always reference A1, the copy might create an unintended loop. Check your formulas after copying them, especially if you are working with relative references.

Another common source is totaling a column that includes the total cell itself. If you put a SUM formula in cell A10 that sums A1:A10, that creates a circular reference because A10 is summing itself. Instead, sum only the cells above: A1:A9. This is a small detail but it catches many people.

When iterative calculation might be the answer (and when it is not)

Excel has a setting called iterative calculation that allows circular references to calculate by repeating the formula a set number of times until the result stabilizes. This is rarely the right solution, but it exists for specialized cases like financial models that use circular logic intentionally.

To enable it, go to File > Options > Formulas and check the box for "Enable iterative calculation." You can also set the maximum number of iterations and the maximum change allowed between iterations. However, this is a workaround, not a fix. Most spreadsheets should not need this setting, and turning it on can hide real errors in your formulas.

If you find yourself considering iterative calculation, first ask whether the circular reference is actually a mistake. In most cases, it is — you have simply referenced the wrong cell or forgotten to break a chain. Fix the formula instead of enabling iteration.

Frequently Asked Questions

Does Excel automatically fix circular references?

No. Excel warns you that a circular reference exists, but it does not fix it automatically. You must edit the formula to break the loop. The cell will show 0 or a previous value, but the formula will not calculate correctly until you remove the circular reference.

Can I have a circular reference that Excel does not warn me about?

If iterative calculation is enabled in your Excel Options, Excel will allow circular references to calculate and may not show a warning. Check your Formulas settings under File > Options to see whether iterative calculation is turned on. If it is and you did not intentionally enable it, turn it off.

What if I cannot find the circular reference even after using Error Checking?

Make sure you are looking at all sheets in the workbook — a circular reference can span multiple sheets. Also check that background error checking is enabled in your Formulas options. If you still cannot find it, try using Trace Precedents on cells that reference other sheets, as the loop may not be obvious.

Is a circular reference always a mistake?

Almost always. Circular references are intentional only in specialized financial or engineering models that use iterative calculation. For normal spreadsheets — budgets, inventories, reports — a circular reference means you have referenced the wrong cell or created an unintended loop. Fix the formula rather than enabling iteration.