18.11.2014 Views

Microsoft Office

Create successful ePaper yourself

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

Part I<br />

Getting Started with Excel<br />

When Numbers Appear to Add Up Incorrectly<br />

Applying a number format to a cell doesn’t change the value — only how the value appears in the worksheet.<br />

For example, if a cell contains 0.874543, you may format it to appear as 87%. If that cell is used in<br />

a formula, the formula uses the full value (0.874543), not the displayed value (87%).<br />

In some situations, formatting may cause Excel to display calculation results that appear incorrect, such as<br />

when totaling numbers with decimal places. For example, if values are formatted to display two decimal<br />

places, you may not see the actual numbers used in the calculations. But because Excel uses the full precision<br />

of the values in its formula, the sum of the two values may appear to be incorrect.<br />

Several solutions to this problem are available. You can format the cells to display more decimal places. You<br />

can use the ROUND function on individual numbers and specify the number of decimal places Excel should<br />

round to. Or you can instruct Excel to change the worksheet values to match their displayed format. To do so,<br />

access the Excel Options dialog box and click the Advanced tab. Check the Set Precision As Displayed check<br />

box (which is located in the section named When Calculating This Workbook).<br />

The top of the tab displays a sample of how the active cell will appear with the selected number format (visible<br />

only if a cell with a value is selected). After you make your choices, click OK to apply the number format<br />

to all the selected cells.<br />

Selecting the Precision As Displayed option changes the numbers in your worksheets to permanently<br />

match their appearance onscreen. This setting applies to all sheets in the active workbook.<br />

Most of the time, this option is not what you want. Make sure that you understand the consequences<br />

of using the Set Precision As Displayed option.<br />

CAUTION<br />

CROSS-REF<br />

Chapter 11 discusses ROUND and other built-in functions.<br />

The following are the number-format categories, along with some general comments:<br />

n<br />

n<br />

n<br />

n<br />

n<br />

n<br />

n<br />

General: The default format; it displays numbers as integers, as decimals, or in scientific notation<br />

if the value is too wide to fit in the cell.<br />

Number: Enables you to specify the number of decimal places, whether to use a comma to separate<br />

thousands, and how to display negative numbers (with a minus sign, in red, in parentheses,<br />

or in red and in parentheses).<br />

Currency: Enables you to specify the number of decimal places, whether to use a currency symbol,<br />

and how to display negative numbers (with a minus sign, in red, in parentheses, or in red<br />

and in parentheses). This format always uses a comma to separate thousands.<br />

Accounting: Differs from the Currency format in that the currency symbols always line up<br />

vertically.<br />

Date: Enables you to choose from several different date formats.<br />

Time: Enables you to choose from several different time formats.<br />

Percentage: Enables you to choose the number of decimal places and always displays a percent<br />

sign.<br />

50

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

Saved successfully!

Ooh no, something went wrong!