Custom Number Formats

Each cell in Excel has a format which is divided into four Sections
from left to right:
- Positive numbers
- Negative Numbers
- Zero Values
- Text values
... each separated by a semi colon (;).
To create a custom number format it is not necessary to specify all four sections, e.g. if you included only two sections, the first section would be used for both positive numbers and zero values, while the second section would be used for negative numbers. Since Text uses the last section it is only affected by custom formats when we use all four sections. Whatever the format of the cell is, its value remains intact.
Download attached Excel file to see other formatting codes as well.

| Attachment | Size |
|---|---|
| CustomNumberFormat.xls | 24 KB |
- Vishesh's blog
- Add new comment
- 1409 reads

Recent comments
5 hours 14 min ago
8 hours 37 min ago
9 hours 20 sec ago
15 hours 3 min ago
15 hours 54 min ago
1 day 6 hours ago
1 day 6 hours ago
1 day 10 hours ago
1 day 18 hours ago
2 days 13 hours ago