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 />

If a function uses more than one argument, you must separate each argument with a comma. The examples<br />

at the beginning of the chapter used cell references for arguments. Excel is quite flexible when it comes to<br />

function arguments, however. An argument can consist of a cell reference, literal values, literal text strings,<br />

expressions, and even other functions.<br />

A comma is the list-separator character for the U.S. version of Excel. Some other versions<br />

may use a semicolon. The list separator is a Windows setting, which can be adjusted in the<br />

Windows Control Panel (the Regional and Language Options dialog box).<br />

NOTE<br />

More about functions<br />

All told, Excel includes 340 functions. And if that’s not enough, you can purchase additional specialized<br />

functions from third-party suppliers — and even create your own custom functions (by using VBA) if you’re<br />

so inclined.<br />

Some users feel a bit overwhelmed by the sheer number of functions, but you’ll probably find that you use<br />

only a dozen or so on a regular basis. And as you’ll see, Excel’s Insert Function dialog box (described later<br />

in this chapter) makes it easy to locate and insert a function, even if it’s not one that you use frequently.<br />

You’ll find many examples of Excel’s built-in functions in Chapters 12 through 18. Appendix A<br />

contains a complete listing of Excel’s worksheet functions, with a brief description of each.<br />

Chapter 40 covers the basics of creating custom functions with VBA.<br />

CROSS-REF<br />

Entering Formulas into Your Worksheets<br />

As I mentioned earlier, a formula must begin with an equal sign to inform Excel that the cell contains a formula<br />

rather than text. Excel provides two ways to enter a formula into a cell: manually or by pointing to cell<br />

references. The following sections discuss each way in detail.<br />

Excel 2007 provides additional assistance when you create formulas by displaying a dropdown<br />

list that contains function names and range names. The items displayed in the list are<br />

determined by what you’ve already typed. For example, if you’re entering a formula and type the letter T,<br />

you’ll see the drop-down list shown in Figure 11.2. If you type an additional letter, the list is shortened to<br />

show only the matching functions. To have Excel autocomplete an entry in that list, use the arrow keys to<br />

highlight the entry, and then press Tab. Notice that highlighting a function in the list also displays a brief<br />

description of the function. See the sidebar “Using Formula Autocomplete” for an example of how this new<br />

feature works.<br />

NEW FEATURE<br />

FIGURE 11.2<br />

Excel 2007 displays a drop-down list when you enter a formula.<br />

181

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

Saved successfully!

Ooh no, something went wrong!