11.08.2013 Views

Excel's Formula - sisman

Excel's Formula - sisman

Excel's Formula - sisman

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4: Introducing Worksheet Functions 117<br />

Other function categories<br />

In addition to the function categories described previously, Excel includes four other categories<br />

that may not appear in the Paste Function dialog box: Commands, Customizing, Macro Control,<br />

and DDE/External. These categories appear to be holdovers from older versions of Excel. If you<br />

create a custom function, you can assign it to one of these categories. In addition, you may see<br />

other function categories created by macros.<br />

See Chapter 23 for information about assigning your custom functions to a function<br />

category.<br />

Volatile functions<br />

Some Excel functions belong to a special class of functions called volatile. Excel recalculates a<br />

volatile function whenever it recalculates the workbook — even if the formula that contains the<br />

function is not involved in the recalculation.<br />

The RAND function represents an example of a volatile function because it generates a new random<br />

number every time Excel calculates the worksheet. Other volatile functions include<br />

● CELL<br />

● INDIRECT<br />

● INFO<br />

● NOW<br />

● OFFSET<br />

● TODAY<br />

As a side effect of using these volatile functions, Excel always prompts you to save the workbook<br />

when you close it — even if you made no changes to it. For example, if you open a workbook<br />

that contains any of these volatile functions, scroll around a bit (but don’t change<br />

anything), and then close the file. Excel asks whether you want to save the workbook.<br />

You can circumvent this behavior by using the Manual Recalculation mode, with the Recalculate<br />

Before Save option turned off. Change the recalculation mode in the Calculate section of the<br />

<strong>Formula</strong>s tab in the Excel Options dialog box (choose File➜Options).

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

Saved successfully!

Ooh no, something went wrong!