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.

Using Custom Number Formats 24<br />

Using shortcut keys to format numbers<br />

Another way to apply number formatting is to use shortcut keys. Table 24.2 summarizes the shortcut key<br />

combinations that you can use to apply common number formatting to the selected cells or range.<br />

TABLE 24.2<br />

Number-Formatting Keyboard Shortcuts<br />

Key Combination<br />

Ctrl+Shift+~<br />

Ctrl+Shift+$<br />

Ctrl+Shift+%<br />

Ctrl+Shift+^<br />

Ctrl+Shift+#<br />

Ctrl+Shift+@<br />

Ctrl+Shift+!<br />

Formatting Applied<br />

General number format (that is, unformatted values).<br />

Currency format with two decimal places. (Negative numbers appear in parentheses.)<br />

Percentage format with no decimal places.<br />

Scientific notation number format with two decimal places.<br />

Date format with the day, month, and year.<br />

Time format with the hour, minute, and AM or PM.<br />

Two decimal places, thousands separator, and a hyphen for negative values.<br />

Using the Format Cells dialog box to format numbers<br />

For maximum control of number formatting, use the Number tab in the Format Cells dialog box. You can<br />

access this dialog box in any of several ways:<br />

n Click the dialog box selector in the Home ➪ Number group<br />

n Choose Home ➪ Number ➪ Number Format ➪ More Number Formats<br />

n Press Ctrl+1<br />

The Number tab in the Format Cells dialog box contains 12 categories of number formats from which to<br />

choose. When you select a category from the list box, the right side of the dialog box changes to display<br />

appropriate options.<br />

Following is a list of the number-format categories along with some general comments:<br />

n<br />

n<br />

n<br />

n<br />

n<br />

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

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

Number: Enables you to specify the number of decimal places, whether to use your system<br />

thousands separator (for example, a comma) to separate thousands, and how to display negative<br />

numbers.<br />

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

and to display negative numbers. This format always uses the system thousands separator symbol<br />

(for example, a comma) to separate thousands.<br />

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

regardless of the number of digits displayed in the value.<br />

Date: Enables you to choose from a variety of date formats and select the locale for your date<br />

formats.<br />

467

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

Saved successfully!

Ooh no, something went wrong!