How do you test a financial model for hidden circularity?
Trace the dependency path from key outputs back to inputs and look for a formula that ultimately depends on itself. For an accidental loop, repair the relationship. For intentional feedback, document the equations and solve them transparently where possible, then test convergence, residuals, and sensitivity instead of treating a stable displayed number as proof.
The short answer
Trace the dependency path from key outputs back to inputs and look for a formula that ultimately depends on itself. For an accidental loop, repair the relationship. For intentional feedback, document the equations and solve them transparently where possible, then test convergence, residuals, and sensitivity instead of treating a stable displayed number as proof.
Key takeaways
- Circularity can span several worksheets or workbooks.
- Enabling iteration can hide an accidental dependency without correcting it.
- A closed-form solution can provide an independent check for a simple loop.
- Convergence verifies a numerical process, not the economic assumptions behind the model.
A financial model displays a plausible cash balance and no visible error, yet changing the order in which workbooks are opened changes the result. Somewhere, a formula depends on a number that eventually depends on that same formula. Iterative calculation may be producing a value without making the relationship clear.
Circularity is not always a mistake. Some models intentionally describe feedback, such as borrowing that must also fund its own interest. The review task is to distinguish intended equations from accidental loops and then test the solution. This guide supports financial model review without assuming that a stable spreadsheet is economically correct.
Trace dependencies from a material output
Start with the outputs that drive the decision: funding need, cash balance, debt, tax estimate, valuation, or another material result. Follow each formula to its inputs and continue until the path reaches an independent assumption or source value.
A direct circular reference points back to its own cell. An indirect loop travels through other cells, sheets, named ranges, or linked workbooks before returning. A formula can therefore look reasonable in isolation while participating in an invalid dependency.
Microsoft's circular-reference guidance describes direct and indirect loops, tracing precedents and dependents, and intentional iterative calculation. Use the tools available in the actual spreadsheet environment, but keep a separate explanation of the business relationships being tested.
Record the intended direction of the model
Write a small dependency map in plain language. For example: operating activity determines costs; costs and receipts determine the funding gap; borrowing covers that gap; interest depends on borrowing; interest may itself increase the funding gap.
The final relationship is the potential loop. Ask whether it is intended under the financing assumptions or whether the model should use a prior-period balance, an average balance, or another independently determined base. Do not choose a formula merely because it removes the warning.
Use the input and formula separation method to distinguish assumptions, source data, calculations, and outputs. Hidden constants and copied values can disguise a loop or make it appear to disappear without correcting the model.
Work through an intentional borrowing loop
Assume a simplified funding gap of 100 currency units before interest. All borrowing occurs at the start of the period, interest is 10% of that full borrowing amount, and the same borrowing must fund the interest. Ignore fees, compounding within the period, taxes, and other cash flows.
Let borrowing be D. Interest is 0.10 × D, so the funding equation is D = 100 + 0.10 × D. Rearranging gives 0.90 × D = 100, or D = 100 ÷ 0.90 = approximately 111.1111. Interest is approximately 11.1111.
The equations form an intentional loop, but this simple case has a transparent algebraic solution. That solution is a useful independent check on a spreadsheet's iterative result. It also exposes the assumptions that a hidden calculation setting would not explain.
| Step | Calculation | Borrowing estimate |
|---|---|---|
| Initial estimate | Funding gap only | 100 |
| First update | 100 + 10% × 100 | 110 |
| Second update | 100 + 10% × 110 | 111 |
| Third update | 100 + 10% × 111 | 111.1 |
| Algebraic solution | 100 ÷ (1 − 10%) | Approximately 111.1111 |
Check the residual, not only the displayed answer
A residual substitutes the proposed result back into the original equation. Here it is D − (100 + 0.10 × D). A true solution has a zero residual before rounding.
If the model reports borrowing of 112, the residual is 112 − 111.2 = 0.8. The number may look close, but it does not solve the stated equation. Whether an approximation is acceptable depends on the model's scale and decision, and the tolerance should be defined rather than assumed.
Rounding the algebraic result to 111.11 creates a residual of approximately negative 0.001. Preserve adequate internal precision and round for presentation where appropriate. Rounding inside a feedback loop can change its behaviour, so test the actual implementation rather than only the displayed cell.
Test whether the economic assumption is right
The 111.1111 result is correct for the stated full-period interest assumption. It is not automatically correct for a real borrowing arrangement. Suppose instead that the model deliberately uses interest on half the closing borrowing balance. The equation becomes D = 100 + 0.10 × D ÷ 2, giving D = 100 ÷ 0.95, or about 105.2632.
Both equations can converge. They describe different timing assumptions. The loan terms and cash-flow model determine which, if either, is appropriate. A convergence test cannot resolve that commercial question.
Record the interest base, timing, rate period, fees, and other material conditions in an assumption register. Use the financial assumption worksheet to identify the owner and supporting evidence.
Investigate accidental loops before enabling iteration
Common mistakes include a total that includes its own cell, a forecast input linked to a calculated output that already uses the input, or a closing balance feeding a formula that should use an opening balance. Repair the intended relationship and rerun the dependent outputs.
Do not replace a troublesome formula with its last displayed value merely to remove the warning. That creates a stale input and can break sensitivity analysis. Likewise, enabling iteration can allow the workbook to calculate while leaving the accidental relationship intact.
Work on a review copy when changing calculation settings. Record the original settings and any external workbook dependencies. A calculation mode or unavailable linked file can affect what a reviewer sees, even when the visible formula text is unchanged.
Stress the intentional solution
Try different starting estimates and reasonable input changes, then compare results and residuals. A model that reaches different values from different starts needs investigation. A model that stops because it reaches an iteration limit is not necessarily converged.
Check boundary conditions too. In the simplified equation, a rate of 100% makes the rearranged denominator zero and leaves no finite solution for the positive funding gap. An algebraic result outside a valid economic range should be flagged rather than accepted because the formula returns a number.
More complex models can contain discontinuities, caps, minimums, and alternative branches. A simple iterative method may oscillate, diverge, or settle on a result that is inappropriate for the intended decision. Obtain a suitably rigorous solution method when the model's complexity requires it.
Document the review before using the result
Retain the dependency map, intended equations, calculation settings, test inputs, residual checks, and unresolved assumptions. Recalculate downstream measures such as net present value after repairing a loop; a small funding change can propagate through several outputs.
Use the executive editor to present the model review and its decision implications. The record should show both that the equations were solved consistently and that their underlying business assumptions were separately assessed.
Sources & further reading
- Microsoft Support: Remove or allow a circular reference in Excel
Microsoft explains direct and indirect circular references, formula tracing, warnings, and intentional iterative calculation. The borrowing equations and review protocol are original illustrations.