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

Displaying fractions<br />

Excel supports quite a few built-in fraction number formats (select the Fraction category on the Number tab<br />

in the Format Cells dialog box). For example, to display the value .125 as a fraction with 8 as the denominator,<br />

select As Eighths (4/8) from the Type list (see Figure 24.2).<br />

FIGURE 24.2<br />

Selecting a number format to display a value as a fraction.<br />

You can use a custom format string to create other fractional formats. For example, the following format<br />

string displays a value in 50ths:<br />

# ??/50<br />

The following format string displays a value in terms of fractional dollars. For example, the value 154.87 is<br />

displayed as 154 and 87/100 Dollars.<br />

0 “and “??/100 “Dollars”<br />

The following example displays the value in sixteenths, with a quotation mark appended to the right. This<br />

format string is useful when you deal with inches (for example, 2/16”).<br />

# ??/16\”<br />

Displaying a negative sign on the right<br />

The following format string displays negative values with the negative sign to the right of the number.<br />

Positive values have an additional space on the right, so both positive and negative numbers align properly<br />

on the right.<br />

0.00_-;0.00-<br />

476

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

Saved successfully!

Ooh no, something went wrong!