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.

Making Your Worksheets Error-Free 32<br />

NEW FEATURE<br />

The IFERROR function is new to Excel 2007. For compatibility with previous versions, use this<br />

formula:<br />

=IF(ISERROR((C2-B2)/C2),””,(C2-B2)/C2)<br />

#N/A errors<br />

The #N/A error occurs if any cell referenced by a formula displays #N/A.<br />

FIGURE 32.1<br />

#DIV/0! errors occur when the data in column C is missing.<br />

NOTE<br />

Some users like to enter =NA() or #N/A explicitly for missing data. This method makes it perfectly<br />

clear that the data is not available and hasn’t been deleted accidentally.<br />

The #N/A error also occurs when a LOOKUP function (HLOOKUP, LOOKUP, MATCH, or VLOOKUP) can’t find<br />

a match.<br />

#NAME? errors<br />

The #NAME? error occurs under these conditions:<br />

n<br />

n<br />

n<br />

The formula contains an undefined range or cell name.<br />

The formula contains text that Excel interprets as an undefined name. A misspelled function<br />

name, for example, generates a #NAME? error.<br />

The formula uses a worksheet function that’s defined in an add-in, and the add-in is not installed.<br />

Excel has a bit of a problem with range names. If you delete a name for a cell or range and the<br />

name is used in a formula, the formula continues to use the name, even though it’s no longer<br />

defined. As a result, the formula displays #NAME?. You may expect Excel to automatically convert the names<br />

to their corresponding cell references, but this doesn’t happen.<br />

NOTE<br />

#NULL! errors<br />

The #NULL! error occurs when a formula attempts to use an intersection of two ranges that don’t actually<br />

intersect. Excel’s intersection operator is a space. The following formula, for example, returns #NULL!<br />

because the two ranges don’t intersect.<br />

=SUM(B5:B14 A16:F16)<br />

555

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

Saved successfully!

Ooh no, something went wrong!