18.11.2014 Views

Microsoft Office

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Introducing Formulas and Functions 11<br />

When you get the circular reference message after entering a formula, Excel gives you two options:<br />

n Click OK, and Excel displays a Help screen that tells you more about circular references.<br />

n Click Cancel to enter the formula as is.<br />

Regardless of which option you choose, Excel displays a message in the left side of the status bar to remind<br />

you that a circular reference exists.<br />

Excel won’t tell you about a circular reference if the Enable Interative Calculationsetting is in<br />

effect. You can check this setting in the Formulas section of the Excel Options dialog box. (To<br />

display this dialog box, select <strong>Office</strong> ➪ Excel Options.) If Enable Interative Calculation is turned on, Excel<br />

performs the circular calculation exactly the number of times specified in the Maximum Iterations field<br />

(or until the value changes by less than 0.001 or whatever value is in the Maximum Change field). In a few<br />

situations, you may use a circular reference intentionally. In these cases, the Enable Interative Calculation<br />

setting must be on. However, it’s best to keep this setting turned off so you’re warned of circular references.<br />

Usually a circular reference indicates an error that you must correct.<br />

WARNING<br />

Usually, a circular reference is quite obvious — easy to identify and correct. But when a circular reference is<br />

indirect — as when a formula refers to another formula that refers to yet another formula that refers back to<br />

the original formula — it may require a bit of detective work to get to the problem.<br />

ON the CD-ROM<br />

The companion CD-ROM contains a workbook that demonstrates an intentional circular reference.<br />

This file is named circular reference.xlsx.<br />

Intentional Circular References<br />

You can sometimes use a circular reference to your advantage. For example, suppose a company has a policy<br />

of contributing 5 percent of its net profit to charity. The contribution itself, however, is considered an<br />

expense — and is therefore subtracted from the net profit figure. This produces a circular reference (see the<br />

accompanying figure).<br />

The Contributions cell contains the following formula:<br />

=5%*Net_Profit<br />

The Net Profit cell contains the following formula:<br />

=Gross_Income-Expenses-Contributions<br />

These formulas produce a resolvable circular reference. If the Enable Iterative Calculation setting is on, Excel<br />

keeps calculating until the Contributions value is, indeed, 5 percent of Net Profit. In other words, the<br />

result becomes increasingly accurate until it converges on the final solution.<br />

197

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!