Module 3 - Pivots, Charts, and Macros
Module 3 - Pivots, Charts, and Macros
Pivots, Charts,
and Macros
Chapter 7:
Tools for Model
Display
Using Excel for Business and Financial Modelling,
3rd Edition by Danielle Stein Fairhurst, Wiley
Basic Formatting
5
Custom Formatting
Practical Exercise 7-2: Custom Currency Symbols
● Go to a blank sheet, and type 582504 into a cell. If you have not
defined any formatting on that cell yet, Excel will assign a
General format to it.
● Change the number to currency, preceded by your country’s
monetary symbol, by using the Currency category in the Format
Cells dialog box.
● Change the currency symbol to that of the Japanese Yen, or
some other commonly used currency.
● Change the currency symbol to that of a currency we’ve made
up—Elbonian Spree (EL).
6
Custom Formatting
Excel Number Formats
9
Custom Formatting
Excel Number Formats
● When only one format is provided, Excel will use that format for
all values.
● If you provide a number format with just two sections, the first
section is used for positive numbers and zeros, and the second
section is used for negative numbers.
● To skip a section, include a semi-colon in the proper location,
but don't specify a format code.
10
Custom Formatting
Placeholders
Character Purpose
. Decimal point
, Thousands separator
_ Add space
12
Conditional Formatting
14
Conditional Formatting
15
Conditional Formatting
Data Bars
16
Conditional Formatting
Practical Exercise 7-4: Data Bars
17
Conditional Formatting
Icon Sets and Color Scales
18
Conditional Formatting
Practical Exercise 7-5: Icon Sets
19
Conditional Formatting
Practical Exercise 7-6: Color Scales
20
Conditional Formatting
Edit Formatting Rule to Hide Icons
21
Conditional Formatting
Mixed Formatting
22
Sparklines
You can also make the work area of the sheet much smaller so that
users cannot enter data in cells you don’t intend them to
1. Highlight the first column you don’t want to see (for example,
column I) and press Control+Shift+Right Arrow. Now right-click
and select Hide.
2. Highlight the first row you don’t want to see (for example, row
9) and press Control+Shift+Down Arrow. Now right-click and
select Hide.
● Using data validation will allow you to control the data that is
typed into your model and avoid errors.
● Instead of restricting where data can be entered, Data
Validation can also restrict what can be entered into the cell.
● In the Data Validation dialog box, you can also enter your
own, customized error message on the Error Alert tab
● This lets you display a message to the user when the
value entered into a cell is invalid.
● The message will be activated when the user presses
Enter or when the try to select a different cell.
Customizing the Display Settings
Practical Exercise 7-12: Error Alert Tab
31
Validations as Drop Down List
Practical Exercise 7-13: Using Validations to Create a Drop-Down List
○ United Kingdom
○ Germany
○ India
○ Australasia
○ France
○ United States
2. Select the cell that should contain the drop-down list. 32
Validations as Drop Down List
Practical Exercise 7-13: Using Validations to Create a Drop-Down List
○ On the Data tab from the Data Tools group, click on the
Data Validation button.
4. In the Allow section, change Any Value to List
5. In the Source field, enter the range that contains the data you
want to appear in the drop-down list. Leave “In-cell dropdown”
selected.
33
Form Controls can be found in "Developer Tab"
1. Click on the File menu in the top left-hand corner of your screen.
2. Click Preferences.
37
Form Controls
Practical Exercise 7-14: Creating Checkboxes
● Create a checkboxes for each of the given
regions in the list
● Based on the Boolean status, design the
financial model to pick the respective region
● Calculate for the total values for regions within
Europe
38
Form Controls
Option Button
● You can edit the properties of the button using Format Control.
● In the Format Control dialog box, you can select the default
value of the Option button (unchecked or checked) and the cell
to which you want to link the Option button status
● You can add multiple Option buttons corresponding to the
items in the list. Based on the item number selected, you can
design your financial model to carry out the necessary analysis.
40
Form Controls
Practical Exercise 7-15: Creating Option Buttons
41
Chapter 8:
Tools for Financial
Modelling
Using Excel for Business and Financial Modelling,
3rd Edition by Danielle Stein Fairhurst, Wiley
Hiding Sections of a Model
How to Hide a Column or Row
43
Hiding Sections of a Model
How to Hide a Sheet
44
Hiding Sections of a Model
How to Hide a Sheet
46
Grouping
● Using the grouping tool can make hidden data more obvious
and avoid its being overlooked.
47
Grouping
Practical Exercise 8-2: Grouping
48