Using custom formats in Excel can significantly improve the presentation of your spreadsheets and financial models. In this tutorial we give you an overview of the main functionality and also look closer at some more advanced examples with conditional formatting.
Excel often formats numbers as it sees fit, for example, if the user types in 10%, Excel will automatically format this cell as a percentage and any future values entered into this cell will be formatted similarly.
There are some built in cell format in Excel which are accessible via Format -> Cells (The shortcut is Ctrl+1). In case none of the build in formats you’re your needs then go to Format -> Cells and click “Custom” in the Category.
The custom number format is entered under Type. Excel allows for four format sections:
0.00 ; (0.00) ; 0.00 ; “Text “@(Positive) (Negative) (Zero) (Text)
Each section need to be separated by a semi colon “;”. 0 represents where the numbers should appear, for example to display 2 d.p. “0.00” is used and for no d.p. “0” will suffice.
To use commas as separators “0,000” is required. Only the Positive section is mandatory by Excel. By omitting all of the other sections Excel will assume the positive format. If however the user wishes to customize the zero section, all sections prior, i.e. Positive and Negative sections must be specified or empty cells will be displayed for the value corresponding to the omitted section.
Type is written as: ‘0,000.00; (0,000.00); -‘
The format represents:
Type is written as: 0,000; (0,000); -
Here the format is quite similar to 2 d.p. but with “.00” removed to represent zero d.p.
Type is written as: For Op Qtr 1 – “Op Qtr” 0, and for 5.25 yrs – “0.00” yrs
To combine text and number the text portion must be enclosed by double apostrophes. Negative, Zero and Text sections are omitted.
Type is written as: 0.00“x”
This is another example of combining text and number however in this case there is no space between 0.00 and “x” as x should follow immediately after the number.
Type is written as: 0%; -0%; -
Since the zero section is customised, both Positive and Negative sections must be specified as well.
Type is written as: “Yes”; ; “No”
Because 1 is the only positive number the Positive and Zero sections need be defined. Any positive number will return “Yes” but if a negative value is entered the cell will remain empty as the Negative section is undefined.
Various types of dates could be written such as:
To demonstrate the custom number formats in the above examples, we have put in a sample workbook. To view the number formats in certain cell, click on the cell then go to Format „³ Cells „³ Number „³Custom.
For example, there are ten Portfolios (Portfolio A to J) and there are eight types of assets (Asset 1 to 8) that could be included in each Portfolio. Each Portfolio could be activated during Phase 1, Phase 2 or even Not Activated.
Type is written as: "Phase 1";"Phase 2";"Not Active” in format cells. We also need to enter data validation source as 1,-1, 0 (Data „³ Validation „³ Source)
The format represents:
Type is written as: "Include";;"Exclude". We also need to enter data validation source as 1, 0. To contrast the “Include” and “Exclude” cells we could conditional format the cell that equals to “0” by formatting it in lighter colour such as grey (Go to Format „³ Conditional Format)
Screenshot: Conditional Formatting
The screenshot for this example is shown in the next page. Please also note from the workbook that by custom formatting certain cells, the presentation is improved, and we could avoid the long Multiple IF formulas which are often used.
Screenshot: Advanced Example 1
How to use WingDings in Custom Formats to improve presentation?
Screenshot: Example of Scenario presentation
It is pretty simple! Format ”s” and “q” as “Wingdings 3” and they will appear as characters that could be applied for scenario presentation. “Red” conditional formatting could also be used as shown in this example.