11.08.2013 Views

Excel's Formula - sisman

Excel's Formula - sisman

Excel's Formula - sisman

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Appendix B: Using Custom Number Formats 743<br />

A variation of this format string follows. A value with this number appears as if it’s divided by<br />

1,000,000 and rounded to two decimal places.<br />

#,###.00,,<br />

Another variation follows. This adds the letter M to the end of the value.<br />

#,###,,”M”<br />

The following format string is a bit more complex. It adds the letter M to the end of the value —<br />

and also displays negative values in parentheses as well as displaying zeros.<br />

#,###.0,,”M”_);(#,###.0,,”M)”;0.0”M”_)<br />

Table B-7 shows examples of these format strings.<br />

Table B-7: Examples of Displaying Values in Millions<br />

Value Number Format Display<br />

123456789 #,###,, 123<br />

1.23457E+11 #,###,, 123,457<br />

1000000 #,###,, 1<br />

5000000 #,###,, 5<br />

–5000000 #,###,, –5<br />

0 #,###,, (blank)<br />

123456789 #,###.00,, 123.46<br />

1.23457E+11 #,###.00,, 123,457.00<br />

1000000 #,###.00,, 1.00<br />

5000000 #,###.00,, 5.00<br />

–5000000 #,###.00,, –5.00<br />

0 #,###.00,, .00<br />

123456789 #,###,,”M” 123M<br />

1.23457E+11 #,###,,”M” 123,457M<br />

1000000 #,###,,”M” 1M<br />

5000000 #,###,,”M” 5M<br />

–5000000 #,###,,”M” –5M<br />

0 #,###,,”M” M<br />

123456789 #,###.0,,”M”_);(#,###.0,,”M)”;0.0”M”_) 123.5M<br />

continued

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

Saved successfully!

Ooh no, something went wrong!