Skip to content
Back to all articles

How to find a circular reference in Google Sheets quickly?

By Yurii Vasyliev6 min read
Magnifying glass over one chain link, representing tracing a circular reference

A circular reference is easier to fix than it looks once you know where to start. If you want to know how to find a circular reference in Google Sheets quickly, the short answer is this: click the error cell, follow its formula back through every cell it reads, and stop when you reach a cell that reads the one you started from. The steps below turn that into a few minutes of work instead of a long scroll through the whole sheet.

What Google Sheets is telling you

When a formula depends on its own result, Google Sheets shows a #REF! error in the cell, and hovering over it gives a message about a circular dependency. That flags the problem but not its location. A loop can take three shapes, as one Google Docs Editors Community answer on circular dependencies explains: a cell referring to itself, two cells referring to each other, or a chain of references that ends by pointing back at an earlier cell in the chain.

Errors also spread. Any cell that reads a looped cell shows an error too, so the first red cell you notice may be a bystander. A cell belongs to the loop only if you can follow its inputs all the way back to itself. Keep that test in mind, because everything below relies on it.

How to find a circular reference in Google Sheets quickly, step by step

Start at the error and follow the inputs

Double-click the cell with the error so it enters edit mode. Google Sheets outlines each cell or range the formula reads in a matching colour. Click into the first one, then repeat. Keep a short list as you go, such as D2, C2, D2. The moment a cell repeats, you have found the loop, and you can stop reading the rest of the sheet.

Break the loop on purpose to confirm it

If the chain is long, test it instead of reading it. Copy a suspect cell's formula somewhere safe, then type a plain number over it. When the errors disappear across the sheet, that cell sits in the loop. When nothing changes, press Ctrl+Z and try the next one. Start with the cells that feed your total rather than the total itself, since the total is usually the victim.

Use Find, but know its limit

Press Ctrl+F, tick the option to search within formulas, and look for the address of the error cell, such as D2. That lists every formula naming D2 directly. But cells inside a range will not turn up in a Find search, as the same community answer points out, so a formula like =SUM(D2:D10) stays invisible when you search for D5. Treat Find as a helper, not a verdict.

Worked example: two cells that read each other

Say B2 holds a subtotal of 200, C2 calculates tax, and D2 calculates the total. Someone enters these two formulas:

  • C2: =D2*0.1
  • D2: =B2+C2

Tax reads the total, and the total reads the tax, so neither can finish first. Clicking D2 highlights B2 and C2, clicking C2 highlights D2, and D2 repeats. The loop is C2 and D2. The fix is to calculate tax from the subtotal with =B2*0.1. Now C2 depends only on B2, and D2 depends on B2 and C2, with no path back.

Dominoes in a ring showing how to find a circular reference in Google Sheets quickly
Like a ring of dominoes, a circular reference has no first cell, so you have to follow it round to see where it closes.

Chains behave the same way but hide longer. If A1 reads B1, B1 reads C1 and C1 reads A1, no single formula looks wrong on its own. Write the cells down as you follow them: A1, B1, C1, A1. You only need to break one link, so pick the cell that should be a plain input, usually the one a person types, and let the others calculate from it.

The range that quietly includes its own cell

The most common loop in everyday sheets is the one Find misses. You add a total in B11 and write =SUM(B2:B11), with the range stretching one row too far. The cell now reads itself through the range. Nothing in the formula names B11 by address, so a search for B11 finds nothing.

To find a circular reference in Google Sheets quickly when the formula looks fine, check the last cell of every range and ask whether it holds the formula. The fix is to end the range one row short with =SUM(B2:B10). The same thing happens when you fill a formula down into rows that its own range already covers.

Why iterative calculation is the wrong first move

Google offers iterative calculation under File, Settings, Calculation, and many forum answers suggest it. It lets a formula repeat until its value settles, which suits a small set of deliberate cases. For an accidental loop it only hides the structural problem, and the community expert quoted above says plainly that turning it on will not resolve the issue. If you do have a deliberate loop, our guide to turning on iterative calculation in Google Sheets covers the settings. For the concept itself, read what circular dependency means in Google Sheets.

What changes in Excel

Excel gives you more tools. Its status bar reports a cell where it found the loop, and the Error Checking menu on the Formulas tab has a Circular References entry that lists cells. Trace Precedents also draws arrows from the cells a formula reads, and our walkthrough on reading trace dependents in Excel shows how to follow them. Sheets has no arrows, so colour highlighting and the isolation test do that job.

Habits that keep loops out

  • Keep each rate or threshold in one labelled input cell, and point every formula at it.
  • Calculate totals from the source rows, not from other totals that depend on them.
  • End ranges before the total row.
  • Check for #REF! after every edit, before you share the file.

Where the manual approach stops scaling

This routine works well on one sheet with a handful of formulas. Finding a circular reference in Google Sheets quickly gets harder in a workbook with long nested formulas across several tabs, because you must read each formula by hand and a single-line formula bar makes that tiring. A multi-line editor with syntax highlighting makes each reference easier to spot, and an AI explainer can describe what a formula reads. Formula Foundry adds both to Sheets and Excel, and its shared variables keep a rate in one place so formulas stop pointing at each other to get it. They speed up the reading, but you still decide which cell should be the input.

Action steps

  1. Read the error: Click the cell showing #REF! and hover over it to confirm the message mentions a circular dependency.
  2. Follow the inputs: Double-click the cell, note the highlighted cells it reads, and repeat until a cell appears twice.
  3. Test by overwriting: Type a plain number over a suspect cell. If the errors clear, that cell is in the loop. Undo if not.
  4. Check range ends: Look at the last cell of every range and make sure it is not the cell holding the formula.
  5. Break one link: Make one looped cell a plain input and have the other cells calculate from it, leaving iterative calculation off.

Frequently asked questions

Does Google Sheets show which cell causes a circular reference?

It flags the cell with a #REF! error and a circular dependency message, but the error can also appear in cells that only read the loop. Follow the formula's inputs to find the true loop.

Should I turn on iterative calculation to remove the error?

Not for an accidental loop. It is meant for deliberate repeated calculations, and a Google Docs Editors Community expert notes it will not resolve a structural error.

Why does Find not locate my circular reference?

Find matches addresses written in formulas, but cells inside a range will not turn up. A total like =SUM(B2:B11) placed in B11 reads itself without naming B11.

Can one cell cause a circular reference by itself?

Yes. A cell that refers to itself, directly or through a range that includes it, creates a loop with no other cells involved.

Share this article