Skip to content

Implementing Circular References in Excel

    Do you want to calculate a company’s tax liability and perhaps allocate a portion of the profit to charitable projects? The problem is that your calculation in Excel isn’t working because it’s reporting a circular reference. How can we fix this?

    This article will discuss a simple scenario based on a potentially real-world situation. We have a company with a certain amount of revenue and expenses, as well as a tax rate of 30%. We want to allocate 10% of what remains after taxes to charity. How can we solve this?

    Profit, taxes and charity table with a circular reference

    There’s a circular reference preventing us from getting the result we expect. The problem is that we need to calculate taxes while already including the value of the charitable donation, without knowing how much it will amount to, since the post-tax amount is clearly the last value in the table.

    To resolve this, we need to click File -> Options -> Formulas and check the box for iterative calculation, as shown in the image.

    Enable iterative calculation framed in the Formulas page of Excel Options

    By checking this box, Excel is able to calculate the file correctly, and we can see that the charity amount is €2,748. This type of calculation is very useful for modeling or resource allocation, as in this case.

    Charity amount of 2,748 euros calculated with iterations

    Conclusion

    A circular reference is not always an error: when a calculation really depends on its own result, as with taxes and charity donations, you can enable iterative calculation in Excel Options. Excel then repeats the calculation until the result is stable.

    Leave a Reply

    Your email address will not be published. Required fields are marked *