0 | Integer placeholder or zero value. If a number has an integer value in this position relative to the decimal point, the integer is displayed. Otherwise, a zero is displayed. | Apply 0 to show 123 Apply 0.00 to show 123.45 |
* | Integer placeholder. If a number has an integer value in this position relative to the decimal point, the integer is displayed. Otherwise, nothing is displayed. | Apply #, ##0 to show 1,234 |
( ) | Formats with parenthesis options display negative values in parentheses. Otherwise, negative values display with a minus sign. | Apply (#,##0) to show (1, 234) |
; | Semicolon operates as a separator between two number formats. Typically, the semicolon separates a positive integer and a negative integer. | Apply #, ##0;(#,##0) to show 1, 234 or apply (1, 234) for a negative number |
$ % | Adds the respective character to numeric values in the same position relative to the decimal point. | Apply $#,##0.00 to show $1,234.56. Apply 0% to show 3% |
m d yy | Displays month, day and year in respective positions for date-coded information. | Apply mm dd yy to show 05 07 99 |
- / | Adds the respective character to date-coded values in the same position relative to variables. | Apply mm/dd/yy to show 06/23/99 |
HH MM SS | Displays hour, minute and second in respective positions for date-coded information. | Apply HH:MM:SS to show 05 01 |
: AM PM | Adds the respective character to time-coded values in the same position relative to variables. | Apply HH:MM:SS AM to show 17:45:10 AM |