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.

Part II<br />

Working with Formulas and Functions<br />

Specifying when formulas are calculated<br />

You’ve probably noticed that Excel calculates the formulas in your worksheet immediately. If you change<br />

any cells that the formula uses, Excel displays the formula’s new result with no effort on your part. All this<br />

happens when Excel’s Calculation mode is set to Automatic. In Automatic Calculation mode (which is the<br />

default mode), Excel follows these rules when it calculates your worksheet:<br />

n<br />

n<br />

When you make a change — enter or edit data or formulas, for example — Excel calculates immediately<br />

those formulas that depend on new or edited data.<br />

If Excel is in the middle of a lengthy calculation, it temporarily suspends the calculation when<br />

you need to perform other worksheet tasks; it resumes calculating when you’re finished with your<br />

other worksheet tasks.<br />

n Formulas are evaluated in a natural sequence. In other words, if a formula in cell D12 depends on<br />

the result of a formula in cell D11, Excel calculates cell D11 before calculating D12.<br />

Sometimes, however, you may want to control when Excel calculates formulas. For example, if you create a<br />

worksheet with thousands of complex formulas, you’ll find that processing can slow to a snail’s pace while<br />

Excel does its thing. In such a case, set Excel’s calculation mode to Manual — which you can do by choosing<br />

Formulas ➪ Calculation ➪ Calculation Options ➪ Manual (see Figure 11.15)<br />

FIGURE 11.15<br />

You can control when Excel calculates formulas.<br />

TIP<br />

If your worksheet uses any data tables (described in Chapter 36), you may want to select the<br />

option labeled Automatically Except For Data Tables. Large data tables calculate<br />

notoriously slowly. Note: A data table is not the same as a table created by choosing Insert ➪ Tables ➪<br />

Table.<br />

When you’re working in Manual Calculation mode, Excel displays Calculate in the status bar when you<br />

have any uncalculated formulas. You can use the following shortcut keys to recalculate the formulas:<br />

n<br />

n<br />

n<br />

NOTE<br />

F9: Calculates the formulas in all open workbooks.<br />

Shift+F9: Calculates only the formulas in the active worksheet. Other worksheets in the same<br />

workbook aren’t calculated.<br />

Ctrl+Alt+F9: Forces a complete recalculation of all formulas.<br />

Excel’s Calculation mode isn’t specific to a particular worksheet. When you change the<br />

Calculation mode, it affects all open workbooks, not just the active workbook.<br />

198

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

Saved successfully!

Ooh no, something went wrong!