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

Using Advanced Excel Features<br />

Automatic number formatting<br />

Excel is smart enough to perform some formatting for you automatically. For example, if you enter 12.3%<br />

into a cell, Excel knows that you want to use a percentage format and applies it automatically. If you use<br />

commas to separate thousands (such as 123,456), Excel applies comma formatting for you. And if you precede<br />

your value with a currency symbol, Excel formats the cell for currency.<br />

You have an option when it comes to entering values into cells formatted as percentages. Access<br />

the Excel Options and click the Advanced tab. If the check box labeled Enable Automatic Percent<br />

Entry is checked (the default setting), you can simply enter a normal value into a cell formatted to display as a<br />

percent (for example, enter 12.5 for 12.5%). If this check box isn’t checked, you must enter the value as a decimal<br />

(for example, .125 for 12.5%).<br />

NOTE<br />

Excel automatically applies a built-in number format to a cell based on the following criteria:<br />

TIP<br />

n<br />

n<br />

n<br />

n<br />

If a number contains a slash (/), it may be converted to a date format or a fraction format.<br />

If a number contains a hyphen (-), it may be converted to a date format.<br />

If a number contains a colon (:) or is followed by a space and the letter A or P, it may be converted<br />

to a time format.<br />

If a number contains the letter E (in either uppercase or lowercase), it may be converted to scientific<br />

notation or exponential format.<br />

To avoid automatic number formatting when you enter a value, preformat the cell with the<br />

desired number format or precede your entry with an apostrophe. (The apostrophe makes the<br />

entry text, so number formatting is not applied to the cell.)<br />

Formatting numbers by using the Ribbon<br />

The Number group on the Home tab of the Ribbon contains several controls that enable you to apply common<br />

number formats quickly. The Number Format drop-down control gives you quick access to 11 common<br />

number formats. In addition, the Number group contains some buttons. When you click one of these<br />

buttons, the selected cells take on the specified number format. Table 24.1 summarizes the formats that<br />

these buttons perform in the U.S. English version of Excel.<br />

NOTE<br />

Some of these buttons actually apply predefined styles to the selected cells. Access Excel’s<br />

styles by using the style gallery, in the Styles group on the Home tab.<br />

TABLE 24.1<br />

Button Name<br />

Accounting<br />

Number Format<br />

Percent Style<br />

Comma Style<br />

decimal place.<br />

Increase Decimal<br />

Decrease Decimal<br />

Number-Formatting Buttons on the Ribbon<br />

Formatting Applied<br />

Adds a dollar sign to the left, separates thousands with a comma, and displays the value with<br />

two digits to the right of the decimal point. This is a drop-down control, so you can select other<br />

common currency symbols.<br />

Displays the value as a percentage, with no decimal places.<br />

Separates thousands with a comma and displays the value with two digits to the right of the<br />

Increases the number of digits to the right of the decimal point by one.<br />

Decreases the number of digits to the right of the decimal point by one.<br />

466

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

Saved successfully!

Ooh no, something went wrong!