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

Excel 2007 contains five new functions:<br />

New Functions in Excel 2007<br />

n IFERROR — Used to check for an error, and display a message or perform a different calculation.<br />

n AVERAGEIF @md Used to calculate a conditional average (similar to SUMIF and COUNTIF).<br />

n AVERAGEIFS — Used to calculate a conditional average using multiple criteria.<br />

n SUMIFS — Used to calculate a conditional sum using multiple criteria.<br />

n COUNTIFS — Used to calculate a conditional COUNT using multiple criteria.<br />

In addition, worksheet functions that formerly required the Analysis ToolPak add-in (which is shipped with<br />

Excel) are now built into Excel. So you have access to dozens of additional functions without installing the<br />

add-in.<br />

These new functions are described in detail in the Excel Help, and I present examples in later chapters.<br />

Keep in mind that if you use any of these new functions, you will not be able to share your workbook with<br />

someone who uses an earlier version of Excel.<br />

One last example should convince you of the power of functions. Suppose you have a worksheet that calculates<br />

sales commissions. If the salesperson sold more than $100,000 of product, the commission rate is 7.5<br />

percent; otherwise the commission rate is 5.0 percent. Without using a function, you would have to create<br />

two different formulas and make sure that you used the correct formula for each sales amount. A better<br />

solution is to write a formula that uses the IF function to ensure that you calculate the correct commission,<br />

regardless of sales amount:<br />

=IF(A1

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

Saved successfully!

Ooh no, something went wrong!