Financial Modelling in Excel
Financial Modelling in Excel
Ltd
Contents
Examining Excel Environment
Exploring the Fundamentals
1.
2.
Building Worksheets
Planning Your Worksheet Design
How to Utilize a Worksheet & Workbook
Importing Data
Validating Data
Security & Protection for worksheet and file
Formatting & Editing Worksheets
Worksheet editing techniques
Worksheet formatting techniques
Conditional Formatting
Creating Charts
Introducing Charts in Excel
Basic Chart Techniques
Charting Beyond the ribbon
Customizing Charts
PERMITS
Introduction to Monte Carlo Simulations
Sensitivity Analysis with Data Tables
The Goal Seek command - Overview of optimization and targeting
Using Scenario Manager for Sensitivity Analysis
Introduction to optimization with Excel Solver
Workbook vs Sheets
A workbook refers to an Excel document. You will
2007/2010
This creates a new workbook.
STARTING EXCEL
The first screen that you will see a new blank worksheet that contains
grid of cells. This grid is the most important part of the Excel window.
It's where you'll perform all your work, such as entering data, writing
formulas, and reviewing the results.
10
11
Excel Window
MS Office Button
Quick Access Toolbar
Tab Bar
Ribbon
Worksheet Area
Sheet Tabs
Status Bar
Help: F1
12
Office button: When clicked, this button opens the Office menu, from which you can
open, save, print, and exit as well as the Excel Options button that enables you to
change Excel's default settings.
Quick Access Toolbar: A small toolbar next to the Office button contains shortcuts for
some of the most common commands such as Save, Undo, and Redo buttons. You
also can customize quick access toolbar.
Ribbon: A combination of old versions menu bar and toolbar, arranged into a series of
tabs ranging from Home through View. Each tab contains buttons, lists, and
commands.
Name box: Displays the address of the current active cell where you work in the
worksheet.
Formula bar: Displays the address of the active cell on the left edge, and it also shows
you the current cell's contents.
Worksheet area: This area contains all the cells of the current worksheet identified by
column headings, using letters along the top, and row headings, using numbers along
the left edge with tabs for selecting new worksheets.
Sheet tabs: Excel 2007 contains 3 blank worksheet tabs by default. Click on the
intended tab will go to the particular worksheet.
Status bar: Reports information about the worksheet and provides shortcuts for
changing the view and the zoom.
Zoom control: Use to zoom the Excel screen in or out by dragging the slider.
13
Ribbon
Excel 2007/2010's user interface is based on the ribbon,
14
15
spreadsheet.
Insert: Use this tab when adding particular elements (including
graphics, PivotTables, charts, hyperlinks, and headers and footers) to
a spreadsheet.
Page Layout: Use this tab when preparing a spreadsheet for printing
or reordering graphics on the sheet.
Formulas: Use this tab when adding formulas and functions to a
spreadsheet or checking a worksheet for formula errors.
Data: Use this tab when importing, querying, outlining, and
subtotaling the data placed into a worksheet's data list.
Review: Use this tab when proofing, protecting, and marking up a
spreadsheet for review by others.
View: Use this tab when changing the display of the Worksheet area
and the data it contains.
16
STATUS BAR
Excel 2007 status bar provides you with additional information
when you select a range of cells. This information includes the status
of the Num Lock, Caps Lock, and Scroll Lock keys on your keyboard.
This bar keeps you informed of the program's current mode and any
special keys you engage, and enables you to select a new worksheet
view and to zoom in and out on the worksheet.
However, you also can customize the status bar!
Customize the status bar in Excel 2007 and make the overlooked
status bar keep you up to date on the status of certain items within
your Excel spreadsheet.
17
menu.
18
item displayed.
When finished, click anywhere on the spreadsheet to close the menu.
REMOVE OPTIONS
Right-click on the Excel status bar and click on any option that you wish to
remove from the status bar.
The menu's options are enabled (selected) when a check mark appears next to
them and vice-versa.
19
20
Ribbon
Font
grouping
Paragraph
grouping
Styles
grouping
21
The Workbook
The workbook is comprised of:
Rows (labeled numerically)
Columns (labeled
alphabetically)
Cells
A cell is labeled with both a
22
23
A New Workbook
You have a blank workbook when you open Excel.
Or click on Office Button and select New.
Click on Create button.
24
Save a Workbook
Click on Office Button and select Save or
Save As.
Save: save the workbook as .xlsx. This
format is Excel 2007 compatible. It
cannot be opened in previous version of
Excel unless you have an Office 2007
converter installed.
Save As:
Excel Workbook - .xlsx
Excel 97 2003 Workbook - .xls
Other Formats - .CSV and others.
25
26
Excel Prerequisites
Navigating around a worksheet and between worksheets
in a workbook
Entering text, entering data and choosing the format of
these entries
Editing the contents of a cell
Inserting and deleting rows or columns and entire
worksheets
Other necessary skills include inserting and deleting rows
or columns and entire worksheets; cutting, copying and
pasting; printing; and drawing charts.
Skillful use of formulas and functions separates the novice
spreadsheet user from the advanced user.
27
Navigation
There are several ways to move the display from one
Selecting Cells
Selecting all cells in a worksheet
Selecting a column or a row
Selecting rectangular ranges
Selecting noncontiguous ranges
29
Editing Cells
Formula bar
Double-click
Function Wizard
Absolute and relative cell references
30
Formatting
31
Basic Formulas
With very few exceptions, well-written formulas contain no
32
Select the cell in which you want to enter the date or time.
Type in the date or time. Separate the date with either hyphens (-) or
slashes (/).
Press Enter.
To enter the current date, press Ctrl+;
To enter the current time, press Ctrl+:
You may utilize the keyboard to help you speed up the data entry
process. Below is a list of keys that you can use when you want to
quickly enter your data.
33
34
SAVING
You can either save the workbook in your computer hard drive or
35
36
Workbook.
Enter a name in the File name: text box.
Click on the Save button.
Note: By default, Excel saves a copy of your work automatically every
ten minutes. To adjust this setting (or turn if off), use the Save tab of
the Excel Options dialog box (Office Button - Excel Options).
37
To close a file
From the Office Button, click Close.
You will be asked if you wish to save any changes you have made to
the file.
Click Yes to save the workbook
click No to ignore (without saving) the changes
click Cancel to cancel the operation
To conclude, you have two choices for saving a spreadsheet file:
Save As - this choice allows you to save your spreadsheet file with a
new name and choose the location to save the file.
Save - this option updates the spreadsheet file with your most recent
changes. If you use Save on a new file that hasn't been saved before,
it has the same effect as Save As.
38
39
summary Coverage
Keyboard shortcuts
Controls
Cell comments
Naming cells and ranges
Advanced formulas and functions
Recording macros and using Visual Basic for Applications
40
42
43
Shift + F11
Alt + F8
Alt + F11
Ctrl + PgDn
Ctrl + PgUp
Ctrl + S
Ctrl + N
Ctrl + O
Shift + F5 or Ctrl + F
Ctrl + H
Miscellaneous
Save an active workbook
Open new workbook
Open an existing workbook
Display the Find dialog box
Display the Replace dialog box
Note: In most cases, these shortcuts are not case sensitive (that is, both s and S will work the same).
Source: Sengupta, C. 2004. Financial Modeling Using Excel and VBA. Hoboken, N.J.:
John Wiley.
44
45
another:
Tab - To the right one cell.
Shift + Tab - To the left one cell.
Enter - One cell down.
Shift + Enter - One cell up.
To move between worksheet tabs using the keyboard
To move one tab to the left, press Ctrl+Page Up.
To move one tab to the right, press Ctrl+Page Down
46
47
B5.
From the Home tab, in the Font group, point to the Fill Color icon.
Click the arrow just to the right of the Fill Color icon. You'll see some
colors appear:
48
Move your mouse over any of the colors and the cells will change
automatically. You can then see what the new color looks like.
Click with the left mouse button to set the color you want. If you don't
like any of the colors displayed, click on More Colors option.
From the Colors dialog box displayed, choose a color and click OK.
49
50
in the range of cells you select: formatting, formulas, text, and other
values you enter.
How about the paste special? Paste Special allows you to specify
that only the entries be copied (without the formatting) or that just the
formatting be copied (without the entries).
This page is going to explain the Excel 2007 paste special options.
51
OR press Ctrl+C.
Click the cell where you want to paste the range.
On the Home tab, in the Clipboard group, click the down arrow of the
Paste icon and click the Paste Special option.
From the Paste Special dialog box displayed, select the necessary
option from the Paste section:
52
53
54
OR press Ctrl+C.
Click the cell where you want to place the range.
On the Home tab, in the Clipboard group, click the down arrow of the
Paste icon and click Transpose.
55
56
57
58
The various ranges of help topics are displayed. You can click on any
topic to get help. As an example, click on the What's new link. You
will see the following.
59
You can click on any link topics and continue reading the particular
topic.
When you have finished experimenting, close the Excel Help
window.
60
the help you need within the text box near the top of the window.
For instance, to display help about printing, type in the word 'print'.
Click on the Search button next to the text input box. You will see a
range of topics related to printing.
Clicking on any of these topics will display more information about
Excel printing.
61
62
Click on the Table of Contents icon (the one with book icon). You will
now see a Table of Contents displayed down the left side of the Excel
Help window.
63
64
THE RIBBON
65
Key Tips
The Ribbon
68
the Format Painter. This group replaces the cut, copy and
paste options on the Standard Toolbar and in the Edit Menu
in Excel 2003
Additional Paste Functions are activated by clicking on the arrow.
protect) worksheets
Hide or unhide cells, columns, and
worksheets
All of these options were found under the
Clear, Sort & Filter, plus Find & Select data. These functions
were located on the Edit and Data Menus, as well as the
standard Toolbar in Excel 2003.
AutoSum: Adds, Averages and counts a column or row of numbers
Copy Formatting: Copies cell data and formatting into adjacent cells
Clear: Removes data and formatting from a cell or group of cells
Sort & Filter: Functions to sort and filter cell, column or row data
77
78
Table Tools
Functions needed to edit & format table data. This is a New Feature.
The Properties Group: Table name and options to enlarge the table
area
The Tools Group: Options to convert table data to Pivot Table, remove
Duplicate Data, and Convert table to a standard worksheet
80
Table Tools
2003.
Chart Wizard)
The Data Group: Options to change data relationships (Step 2)
The Chart Layout Group: Options to change the Chart layout
(Step 3)
The Chart Styles Group: (Options to edit the colors on a Chart
(Step 3)
The Location Group: Options to place the chart in the
workbook (step 4)
86
and gridlines
The Background Group: Sets characteristics for
editing the chart background and Gridlines
The Analysis Group: Options for analyzing charts.
The Properties Group: Options for naming a chart
88
89
90
91
including:
Text Boxes
Headers and Footers
WordArt
Signature Lines
Objects
Symbols
2003
92
93
95
96
97
in Excel 2003
99
102
104
108
109
110
114
116
117
Menu of frequently
used formatting tools
that appears when text
is highlighted in a
Excel Workbook.
This is a New Feature.
118
119
Data Entry
Place your mouse in a cell and click once. This will allow
120
Cells (bottom).
121
Types of Data
You can enter numerical or text data in a cell.
Enter numbers in cells. You may need to change the cell format to
numbers.
Highlight number cells in the practice file, go to Format and select Cell Format.
If you see ######, you need to expand your column so the data fits.
Double click on the line between the two column headings to auto-fit.
Drag the border between two columns.
To enter fractions, leave a space between the whole number and the
122
Insert a Row/Column
Insert a row:
Select the row you would like to insert above
Clicking on the row number tab.
Insert a column:
Select the column you would like to insert next to it
Clicking on the column letter tab such as L.
123
column width.
Adjust column width for a group of columns
Highlight the columns you want to adjust their width.
In Home tab, go to Format and select Column Width...
Enter a number of characters for column width. Click on OK.
Row Height
Drag the border between two rows to adjust a row width.
One point=.035 cm
124
Format a Worksheet
or group of cells.
Select the cells youd like to change. Then select a
formatting tool.
To show cell borders, highlight the cells and select a
border.
125
126
Click on Go to Footer icon. Click on File Name icon to insert the file name in the
Footer box.
To go back to the Normal view of the spreadsheet, click on View tab and select
Normal.
127
Conditional Formatting
Format cells based on a condition
Red font for expenses that exceed $100.
Highlight the cells you would like to apply a conditional formatting rule.
In Home tab, select Conditional Formatting. Select Highlight Cell Rules
128
Conditional Formatting
Explore more conditions
Top/Bottom Rules: Top 10, Above Average
Data columns
Formatting Styles
Color Scale
Data Set
129
use.
Total
Click on the Cell that displays a total.
In Home tab, click on the sum function icon.
Highlight the cells included in the total and hit Enter key.
Average
Click on the cell that displays an average.
In Home tab, click on the little down arrow in the sum
130
Addition: +
Subtraction:Multiplication:*
Division:/
131
Copy a Formula
You may copy the same formula onto a series of
cells.
Example, a total expense in each of all 12 months.
Select the total cell for January.
Drag the bottom right corner of the cell to expand to the December
total cell.
The total expense is then calculated for all 12 months.
Practice
Total for each of the
categories
132
133
the table.
Click on Page Layout tab.
Click on Page Setup group.
Click on Sheet tab.
Check Gridlines. Click on OK.
you selected.
Highlight the cells you want to have borders.
In Home tab, click on the down arrow next to the border
icon and select a choice of borders.
You have flexibility of selecting a variety of borders.
134
Page Layout
Orientation
The vertical dotted line specifies the right border of a page
in a spreadsheet.
You may change the page orientation from Portrait to
Landscape. Go to Page Layout tab, click on the
Orientation icon and select Landscape.
You may adjust the width of columns to fit the columns into
a page.
Margins
To adjust the margins of a page, in Page Layout tab, click
on Margins icon and select Custom Margins. Change
margins and click on OK.
Sheet Name
To give a name of a sheet, double-click on the sheet tab
135
136
137
138
Orientation icon. You will see a drop down menu allowing you
to format the cell orientation.
Select any one of the command. Experiment with applying
some of the other orientation effects.
139
C5 and press Enter. The entry will appear as one long line that
does not 'fit' into the cell.
Select the cell C5 and then on the Home tab, in the Alignment
group, click the Wrap Text icon. The text will wrap as follow:
140
icon.
141
142
From the Format Cells dialog box displayed, click on the Alignment
tab.
Under the Text control section, tick the Shrink to fit check box and
click on OK.
Note: You can also use this right-click method to do the wrap text and
merge cells.
143
FORMAT NUMBERS
Number Formats help you to change the appearance of numbers or
values in a cell in the Excel spreadsheet. They are not difficult, and
can be achieve with a few clicks.
Formatting is done to improve the appearance of the spreadsheet
and to make the numbers easier to read and understand. Commonly
used number formats include adding commas ( , ), percent symbols
( % ), decimal places, and dollar signs( $ ).
In Excel 2007, the basic number formatting options are located on the
Home tab, Number group as shown here.
144
145
146
menu.
147
From the Format Cells dialog box displayed, select the Number tab.
Under the Category: section, select Currency.
Select the number of decimal places you require by using the
148
menu.
From the Format Cells dialog box displayed, select the Number tab.
Under the Category: section, select Percentage.
Select the number of decimal places you require by using the
Decimal places: spin box arrows.
Click OK.
149
decimal places.
To increase a decimal place, click on the Increase Decimal icon on
the Home tab, Number group. You can continue to click to increase
the decimals as required.
To reduce a decimal place, click on the Decrease Decimal icon on
the Home tab, Number group. You can continue to click to reduce the
decimals as required.
150
menu.
From the Format Cells dialog box displayed, select the Number tab.
In the Category: section, select Number.
Select the number of decimal places you require by using the
Decimal places spin box arrows.
Click OK.
151
152
153
The Excel header and footer are lines of text that print at the top
154
155
Choose where you want the text to be, left, center or right aligned. In
156
157
Layout icon.
Edit or change the elements in the header or footer as you wish.
When finish, just press the Esc key and save your work.
158
159
160
161
162
163
Center icon.
Click the down arrow to see the following options:
Click on Merge & Center. The three cells will then become one - B2,
to be exact!
164
165
printing
Print Preview shows you exactly how the worksheet data will be
paged when printed and you can make last minute changes to the
page settings or even the spreadsheet contents before sending it to
the printer when everything looks okay.
Note: The keyboard shortcut for Print Preview: Ctrl + F2.
166
Preview command.
Excel displays the first page of the report in a separate window with
its own Print Preview contextual tab.
When finished previewing, click Close Print Preview.
167
168
Print - Opens the Print dialog box. Clicking this icon while in
169
(actual size) or
Click once on the previewed page with the magnifying-glass mouse
pointer.
Press the keyboard PgUp and PgDn keys to scroll up or down the
page, respectively
Press Ctrl + PgUp and Ctrl + PgDn to scroll left and right,
respectively.
170
default print settings to print all the cells in the current worksheet.
If you already add the Quick Print button to the
Quick Access toolbar (by clicking Customize Quick Access
Toolbar button and then clicking Quick Print on its drop-down
menu), then just click on the button will print out the worksheets.
This fast method of printing will print a single copy of all the
information in the current worksheet, including any charts and
graphics but not comments you add to cells. If you want more copies,
or just a cell selection within a particular worksheet, then you need to
print using the normal way - the Print dialog box.
171
shortcut: Ctrl + P.
172
From the Print dialog box displayed, there are several options:
All - Selecting this option will print all the pages in the
document.
Page(s) - Allow you to choose range of pages to print. To
reprint a single page, enter its page number in both the From
and To text boxes (same).
Selection - Print the cells that are currently selected in the
workbook.
Active Sheet(s) - If you select to print multiple worksheets, use
this option.
Entire Workbook - Print all the data in each of the worksheets
in your workbook.
Table - Print only the data range that is formatted as a table.
Number of Copies - enter the number of copies you want to
print in this box.
173
174
176
tab.
177
The areas you selected in the first step are shown in the Print
area: column.
Click and drag the columns or rows you want to repeat or type
the range.
Click the Print Preview button.
The Print Preview window shows the first page of the printout
containing an area you selected in the first step.
Click the Next Page or Previous Page icons to view
subsequent or previous pages.
The Print Preview window shows the next or previous page of
the printout containing an area you selected in the first step
above.
Click Print icon when you are satisfied with the layout.
Excel prints the selected multiple areas of a workbook.
Click Close Print Preview icon to finish.
Note: The above steps assume that you already installed the
printer driver and printer is working fine and turn on.
178
Print Area icon in the Page Layout group and then click Add to
Print Area option from the menu appears.
In the Page Setup group, click Print Area icon and from the menu
appears click the Clear Print Area. Print Areas stay in effect until you
clear them.
179
180
Sheet 1 and Sheet 3). You can click Chart tabs, Sheet tabs,
and tabs you have renamed.
Release the Ctrl key. You will notices that the selected tabs
appear white.
From the Page Layout tab, click the Page Setup group
launcher.
181
From the Page Setup dialog box displayed, select the Sheet
182
183
184
Check the Gridlines option will print the worksheet gridlines. Black
and white option will turn your colorful page to the black and white.
Check the Row and column headings option enable you to print row
numbers and column letters on every page.
To print comments, select an option in the Comments field. You can
print comments adjacent to their cells or gather them at the end of the
report.
185
186
To ungroup sheets
187
MULTIPLE WORKBOOKS
188
Linking Workbooks
A link is a connection between files that allows data to be
189
Linking Workbooks
To use information from a source file, an external reference
contain spaces.
190
Linking Workbooks
If the source file is located in a different directory than the
191
192
Arranging Workbooks
All button
Select the desired option for arranging the workbook:
Tiled, Horizontal, Vertical, or Cascade
When arranging multiple workbooks, uncheck the
Windows of active workbook option
Used when arranging worksheets within one workbook
193
destination workbook
Can repair using Change Source button
Go to Data tab Connections group
Click on Edit Links button
Click on Change Source
Navigate to new source file
194
195
196
closed
You can choose whether to update to the current values
MULTIPLE WORKSHEETS
MOVE & COPY
3D FORMULAS
198
Objectives
Grouping and ungrouping worksheets
Applying formulas and formatting to multiple
worksheets
Referencing cells and ranges in other worksheets
199
200
201
Grouping Worksheets
A worksheet group is a collection of two or
202
Grouping Worksheets
To select an adjacent group
Click the sheet tab of the first worksheet in the group
Press and hold the Shift key
Click the sheet tab of the last worksheet in the group
203
Grouping Worksheets
To select a nonadjacent group
Click the sheet tab of one worksheet in the group
Press and hold the <Ctrl key>
Then left click the sheet tabs of the remaining worksheets to place
in the group.
204
Grouping Worksheets
To ungroup the worksheets
Click the sheet tab of a worksheet not in the group
Or
Right-click the sheet tab of any worksheet in the group, then click
205
Copying Worksheets
within a Workbook
Select the sheet tabs of the worksheets you want to copy
Press and hold the <Ctrl key>
Drag the worksheet tab in front of, or behind, the desired
tab
Rename the new copy
206
Copying Worksheets
to Another Workbook
Select the sheet tabs of the
207
Copying Worksheets
to Another Workbook
To create copies of the worksheets, click the Create a
208
= sign)
reference
When the formula is complete, press the
<Enter key>
209
210
=sum(
worksheet range
press and hold the <Shift key>
click the tab for the last worksheet in the
worksheet range
Select the cell or range to reference, and then
press the <Enter key>
211
212
Functions
Excel 2007 Functions are built-in, special commands that are incorporated
cells contents.
COLUMNS: Used to return the number of columns within a
reference.
COUNT: Used to count how many numbers are in the list.
MAX: Used to return the maximum number from a list.
MIN: Used to return the minimum number from a list.
ROUND: Used to round off numbers to a specified number of decimal
points.
SUM: Used to add the contents of selected cells.
214
215
216
FORMULAS
A formula is an equation that performs operations on
Precedence
In Microsoft Excel 2007, operators are executed in this order:
218
To enter a formula
Place the cursor in the cell where the formula will appear, i.e.E5.
Enter an = sign. All Excel formulas start with the 'equal' sign.
Enter the expression that will produce the result you want. This can
219
common mistakes:
220
221
222
223
dialog box. You will see the =NOW( ) displayed in the cell C5
as well as in the formula bar.
Click OK.
The current time and date should appear in cell C5.
When you click on cell C5 the complete function =NOW( )
appears in the formula bar.
224
PRODUCT FUNCTION
The Excel 2007 PRODUCT function provides a quick way to multiply
225
displayed.
Click on the Excel 2007 Formulas tab.
Choose Math & Trig from the ribbon to open the function drop
down list.
226
227
228
229
230
Let say the student scores are based on the following: A If the student scores
85 or above
B If the student scores 70 to 84
C If the student scores 55 to 69
D If the student scores 40 to 54
FAIL If the student scores below 40
Now, click on cell C3 - the location where one of the results will be displayed.
Click on the Formulas tab and choose Logical function from the ribbon to
open the drop down list.
Click on IF in the list to bring up the function's dialog box.
231
icon with red color pointing upwards behind the Logical test.
232
Then, type in the following formula and click on the red color icon
233
Max function
The Excel MAX function, one of Excel's statistical functions, is used
234
235
displayed.
From the Formulas tab, in the Function Library group, click
the More Functions icon and point to Statistical to open the
function drop down list.
236
type C1:C6 or you can drag the mouse from cell C1 to C6.
237
238
240
From the Function Library group, click the More Functions icon,
then point to Information and click on CELL in the list to bring up that
function's dialog box.
241
On
Date functions
The Excel 2007 Date function allows us to display the current date
243
244
& Time icon and from the drop down menu, click the TODAY
command.
245
will appear. The following day, month and year functions are based on
this date.
246
=DAY(B3)
Press the Enter key. You will notice that the current day of the month
is displayed on the cell B4.
247
=MONTH(B3)
Press the Enter key. You will notice that the current day of the month
is displayed on the cell B5.
248
=YEAR(B3)
Press the Enter key. You will notice that the current day of the month
is displayed on the cell B6.
Here are the results:
249
The Excel 2007 DATE function is a quick and easy way to insert a
250
Count function
Excel Count function is to calculate the number of entries in a range
251
252
Functions icon and point to Statistical from the drop down menu,
click the COUNT command.
253
254
255
representation of numeric values. Displaying data in a wellconceived chart can make your numbers more
understandable.
The Excel 2007/2010 charts have a great new look. That is
why today Excel is one of the most commonly used application
for creating charts.
Before you can create a chart, you must have some numbers
(data) that stored in the cells in an Excel worksheet. Normally,
the data that a chart uses can reside in a single worksheet, or
use data that's stored in other worksheets.
256
257
To create a chart
Click on any cell within the data containing the information that you
wish to display as a chart, or highlight the exact data area that you
wish to display as a chart.
On the Insert menu, in the Charts group, click the chart type you
require. A gallery of thumbnail images for the related chart subtypes
will appear.
258
Click the required chart subtype to create the chart, or click All Chart
Types to open the Insert Chart dialog box and choose from all
available chart types.
When you have selected a subtype, a chart will be created as an
object in the worksheet and Chart Tools will appear on the Ribbon
incorporating Design, Layout, and Format tabs.
For example, when choose the '3-D Clustered Column' subtype, the
chart created as follow:
259
open the Insert Chart dialog box and see all the available
chart types.
260
You can also change the default chart type in the Insert Chart dialog
box by selecting a chart type and clicking the Set as Default Chart
button.
Note: To quickly create a chart of the selected data (based on the
default chart type) as an object in the current worksheet, press
Alt+F1. To create a chart of the selected data as a new sheet, press
F11.
261
different worksheet. The source data can even come from a separate
open workbook.
To create a chart using data from a different worksheet, do the
following:
262
displayed in.
From the Insert menu, in the Charts group, click the chart type and
subtype you require.
Select the Design tab under Chart Tools on the Ribbon and click
Select Data in the Data group.
263
From the Select Data Source dialog box displayed, enter the data
range that you want to use for the chart in the Chart data range: box
by clicking the Collapse Dialog icon to the right of the Chart data
range: box and selecting the workbook and/or worksheet and then
the cell range that you want to use for the data source.
264
Click the Expand Dialog icon to the right of the Select Data Source
Chart title
The Excel 2007 chart title is text that typically appears above or
overlapping the chart that indicates what the chart represents. It's one
of the important elements in a chart.
The Excel 2007 Chart (also known as graph) is a visual
representation of numeric values. Displaying data in a well-conceived
chart can make your numbers more understandable.
266
Title icon and select one of the option from the drop-down list.
You will notice that the Chart Title text box inserted into the chart.
Click to change the chart title (just type as you wish).
267
268
Chart Axis
A chart axis title is text that defines the category or the unit of
269
270
For the horizontal axis title, the options are simple: either None or
271
it bigger or smaller.
272
icon and choose the option where you want to position the chart
legend.
273
274
formatting options.
Click the OK button.
275
Create a Histogram
With Excel 2007, you can make a histogram to group a list of
276
To create a histogram
Type the values that define the bins ordered from lowest to highest
278
Histogram.
Click OK.
279
section:
Click on Input Range:, then click and drag the range of
numbers to categorize (cells B2 to B13 in our case).
Click on Bin Range:, then click and drag the range of bins
(cells D6 to D9 in our case).
Under the Output options section, click or select options as
needed:
Click on Output Range: and select the cell where you want
the results to start, or type the cell address (such as cell F2).
Pareto (sorted histogram) - sorts data from highest to lowest.
Cumulative Percentage - shows cumulative percentage.
Chart Output - check this to displays a chart in the worksheet.
Click OK. If you see some pop-up, just click OK.
280
281
CUSTOMIZE YOUR
CHART
282
283
284
285
Click the Page Layout tab, and then click Colors in the
Themes group.
When you rest the pointer over a color scheme, the
colors are shown in a temporary preview on the chart.
Click the one you like to apply it to the chart.
286
287
Format titles
If youd like to make the chart or
axis titles stand out more, thats
also easy to do.
288
Format titles
To use a text fill, first click in a
title area to select it.
Format titles
To make font changes, such as
making the font larger or
smalleror to change the font
faceclick Home, and then go
to the Font group.
290
291
292
293
294
295
296
AUDITING AND
DOCUMENTATION
297
Model Checks
Simple checks can go a long way to limit errors
Always keep the operating margin
(EBITDA/Sales) in sight
If the ROIC exceeds WACC, then the market
value should be more than book value
Steady state growth should occur when the
terminal period is reached
Check valuation with the multiples
298
Documentation of Models
299
Auditing Suggestions
Mechanical Checks
Compute Comparative Ratios
Test Extreme Values
Perform Sensitivity Analysis
Compare Forecasts to History
Do not be afraid to re-do models
300
Mechanical Checks
Balance Sheet Balances
Use abs() function
Check in each year
Finance
Positive Dividends
Ending debt and asset balance
Source and use statement balance
Corporate Model
Historic Income Reconciles
Historic Balance Sheet Ties
301
Comparative Ratios
There is no magic formula
Compute and Graph
Interest/Debt
Depreciation/Gross Plant
EBITDA/Sales
Dividend Payout Ratio
Return on Investment
Return on Equity
Put in very simple cases
302
303
Auditing
Keep Inputs from Formulas in the same sheet
Use Sensitivity Analysis
Try Model with Extreme Values
Check Balance Sheet, Sources, Total Construction,
304
305
Model Transparency
Transparency is not a precise concept, but in
model
306
Controls
Excel controls allow the user to change the contents or
307
Standard Controls
The eleven standard controls are:
Check Box
Text Box
Command Button
Option Button
List Box
Combo Box
Toggle Button
Spin Button
Scroll Bar
Label
Image
308
Advanced Functions
AND and OR
SUMIF and COUNTIF
VLOOKUP and HLOOKUP
INDEX, SMALL and MATCH
Text and date functions
ROUND, CEILING, FLOOR, and INT
RAND and RANDBETWEEN
Financial functions
309
310
Spreadsheet Design
An efficient process minimizes time spent.
An effective process yields results that meet users
requirements.
Good design helps analysts spend the majority of their
effort improving decisions, rather than building and fixing
models.
311
312
Influence Chart
5 - 313
313
Designing a Spreadsheet
Plan
Modularize
Start small
Parameterize
Design for use
Keep it simple
Design for communication
Document important data and formulas
314
Plan
Measure twice, cut once
Will decrease time spent correcting mistakes
Turn computer off and think before beginning
Begin with a sketch
Physical layout of major elements
Rough indication of calculation flow
Anticipate models ultimate uses
315
Modularize
Group like items and separate unlike items.
Separate
Data
Decision variables
Outcome measures
Detailed calculations
Influence diagrams aid with this design.
Formulas should generally reference cells above
316
Start Small
Sketch full design but do not build all at once.
Isolate one module then build and test that module.
Local mistakes are much easier to detect than when they
317
Parameterize
Place parameters in a single location away from
calculations.
Formulas should only contain cell references, not
numerical values.
Assists in:
Identifying parameters
Sensitivity analysis
Documentation
318
319
Keep It Simple
Complex spreadsheets:
Require more time and effort to build
Are much more difficult to debug
Keep formulas short.
Decompose complex calculations into intermediate steps.
320
321
Document Important
Data and Formulas
parameters.
Explain important formulas.
Use Cell Comments to describe cell
contents.
Consider a separate module to list
assumptions.
322
Cell Comments
Insert Comment to add documentation to a cell
Tools Options View gives different display
options
Comment & indicator permanently display comment
Indicator red triangle indicates comment, display
323
Workbook Design
Use separate sheets to group similar kinds of information.
Design workbooks for ease of navigation.
Protect workbooks from unwanted changes during use.
324
326
Outlining
327
328
329
Locking Cells
To lock all cells:
Select entire worksheet
Select Format Cells Protection and check the box for locked
To unlock variable cells:
Select desired cells
Select Format Cells Protection and uncheck the box for locked
330
331
Protecting Worksheets
Tools Protection Protect Sheet
At top of Protect Sheet window check box for
Protect worksheet
If check only Select Unlocked Cells
cells.
332
333
Data Validation
Controls input values
Highlight cells then click Data Validation
Three tabs
Settings: Restrict inputs (e.g., range of cell values)
Input Message: Create message when cursor on cell
Error Alert: Alert for invalid entry
334
335
336
Building a Workbook
Follow a plan.
Build one module at a time.
Predict the outcome of each formula.
Copy and paste formulas carefully.
Use relative and absolute addressing to simplify
copying.
Use the Function Wizard to ensure correct
syntax.
Use range names to make formulas easy to read.
Choose input data to make errors stand out.
337
typographical errors.
Copying can also be a source of bugs.
e.g., wrong range copied
338
339
Function Wizard
The button fx brings up the function wizard.
Contains a complete list of all Excel functions
Selecting a function will bring up a window showing
needed inputs.
Function value will be shown in window automatically
340
Range Names
Any cell or range of cells may be named.
Name or cell reference may be used in formulas.
Names easier to debug and use
Require extra work to enter and maintain
Select Insert Name Define to assign a name.
Pull-down window at top left of spreadsheet.
Shows all named cells for workbook
Can be used to enter individual cell names
341
Testing a Spreadsheet
Check that numerical results look plausible.
Check that formulas are correct.
Test that model performance is plausible.
342
343
344
345
346
347
Trace Dependents
Colored arrows to successors
348
Error Checking
Tab under Tools Options
Available in Excel 2002 and later versions
Equivalent of grammar checking in word processing
Cells with possible errors are flagged with colored triangle
349
350
351
spreadsheets.
These add-ins typically provide a set of tools for detecting
errors and displaying model structure graphically.
We describe one such tool, Spreadsheet Professional, in
section 6.
352
inputs
The user should be content with trends in output based on
varying inputs.
Sensitivity testing (Chapter 6) is an important tool to test
plausibility.
353
ANALYSIS USING
SPREADSHEETS
354
Five Categories of
Spreadsheet Analysis
Base-case analysis
What-if analysis
Breakeven analysis
Optimization analysis
Risk analysis
A detailed analysis may include all of the above
steps.
355
year?
How many items do we expect to sell next week?
356
What-if Analysis
Analyzes how key outputs change with changes in one or
insight.
357
Varying a Parameter
Asking what if given information were different
Tests numerical assumptions of model
e.g., how much will profit change if our product costs turn
358
359
variables
e.g., how does profit change if we change our linear
model of price and demand to a non-linear one?
360
Benchmarking
Record base-case to compare to results of what-if
analysis
Base case can be recorded by:
Edit Copy result cell
Edit Paste Special with Paste Values option selected
361
Scenarios
Sets of parameter values often go together.
A scenario is a set of parameter values that are internally
consistent.
Adding scenarios
362
363
CHOOSE Function
When scenarios involve a large number of
364
365
Data Sensitivity
Tabulates output based on varying inputs
Found in Sensitivity Toolkit add-in
Steps
Select Sensitivity Toolkit Data Sensitivity
Choose table type One-Way or Two-Way
Enter output to tabulate in result cell
Click Next
366
One-Way Tables
Cell to Vary is (single) input to vary
Input Type: Begin, End, Increment
Will vary input from first value to last value in steps of size
increment
Input Type: Begin, End, Num Obs
Will vary input from first value to last value using N steps
367
368
Two-Way Tables
Allows two inputs to be varied
Will output a two-dimensional table that displays the
369
Breakeven Analysis
Analyzes where a particular point of interest occurs
Answers questions such as:
How high does our market share need to be before we turn a
profit?
How high would the discount rate have to be in order for this
project to have a NPV of zero?
Excel Goal Seek is a useful tool.
370
Goal Seek
Used for a single output and a single input
Input to vary
371
Optimization Analysis
Finds set of decision variables that achieves best
372
EXCEL 2010
TRAINING
373
374
375
376
377
Get started
Heres how to get
started with a
PivotTable report.
You use the Create
PivotTable dialog box,
shown here.
1.
2.
On the Insert tab, in the Tables group, click PivotTable, and then
click PivotTable again. The Create PivotTable dialog box opens.
378
Get started
Heres how to get
started with a
PivotTable report.
You use the Create
PivotTable dialog box,
shown here.
3.
The Select a table or range option is already selected for you. The
Table/Range box shows the range of the selected data, which you
can change if you want.
4.
Click OK.
379
On one side is the layout area ready for the PivotTable report.
On the other side is the PivotTable Field List. This list shows the
column titles from the source data. As mentioned earlier, each title is a
field: Country, Salesperson, and so on.
380
To do this, either select the check box next to the field name, or rightclick a field name and then select a location to move the field to.
381
382
383
384
385
386
So another question you might ask is: What are the sales amounts for
each salesperson by country?
To get the answer, you can add the Country field to the PivotTable
report as a report filter. You use a report filter to focus on a subset of
data in the report, often a product line, a time span, or a geographic
region.
387
388
389
390
This means you can find the sales by date for each salesperson.
To find out, youll add the Order Date field to your report and then use
the Grouping dialog box to group the date data and create a more
manageable view.
391
392
So you can pivot the report to get a different view thats easier to read.
When you pivot a report, you transpose the vertical or horizontal view of
a field, moving rows to the column area or moving columns to the row
area. Its easy to do.
393
394
There are four boxes at the bottom of the PivotTable Field List:
Report Filter, Row Labels, Column Labels, and Values. You can
drag fields to these boxes to designate how the fields are used in the
report.
The picture shows how you can drag the Order Amount field from the
Column Labels to the Values box to add that field to the Values area
of the report.
395
396
397
Objectives
Evaluate a single condition using the IF function
Evaluate multiple conditions using the AND function
Calculate different series of outcomes by nesting IF
functions
Test whether one or more conditions are true with the OR
function
Return values from a table with the VLOOKUP function
Check for duplicate values using conditional formatting
397
398
Objectives
Check for data entry errors using the IFERROR function
Summarize data using the COUNTIF, SUMIF, and
AVERAGEIF functions
Review the COUNTIFS, SUMIFS, and AVERAGEIFS
functions
Use advanced filters
Summarize data using Database functions
398
399
Structured References
You can replace the specific cell or range address with a
structured reference, the actual table name or column header
=SUM(Employee[Annual Salary])
399
400
400
401
401
402
402
403
404
404
405
405
406
duplicates
In the Styles group on the Home tab, click the
Conditional Formatting button, point to Highlight
Cells Rules, and then click Duplicate Values
Click the values with arrow, then click Custom
Format
In the Format Cells dialog box, set the formatting
you want to use
Click the OK button in each dialog box
406
407
407
408
408
409
409
410
410
411
411
412
412
413
multiple criteria
COUNTIFS(criteria_range1,criteria1[,criteria_range2,
criteria2...])
The SUMIFS function adds values in a range that meet multiple criteria
SUMIFS(sum_range,criteria_range1,criteria1[,criteria_
range2, criteria2...])
The AVERAGEIFS function calculates the average of values within a range
of cells that meet multiple conditions
AVERAGEIFS(average_range,criteria_range1,criteria1
[,criteria_range2, criteria2...])
413
414
414
415
415
416
416
417
417
418
418
419
419
420
Objectives
Track changes
Enable simultaneous changes by multiple users
Save workbooks in different formats
Copy data to Word and PowerPoint
Finalize documents
Prepare workbooks for distribution
Understand Excel Options
Work with the Quick Access Toolbar
Add add-ins
421
Track Changes
Collaboration involves group editing of the same
workbook
422
Track Changes
Workbook sharing occurs when several people
423
Track Changes
When a cell is edited or changed with Track
the change, the date and time the change was made, and
the type of change made
424
Track Changes
If you turn off Track Changes:
The workbook is no longer shared
The history of changes made is lost
Other users who are sharing the workbook will not be
able to save the changes they made
Each time you close the workbook and reopen,
425
Track Changes
426
Track Changes
The change log lists particular types of changes
427
Track Changes
Reviewing and deleting comments is a matter of
428
429
431
Finds information that you may not want to share with others
432
changing anything
433
changed
The Excel Options dialog box is a centralized area
where you can change the look, behavior, and
calculation options in Excel
The Excel Options window is accessed by clicking
the Office Button and clicking Excel Options
434
Ribbon
435
Add Add-ins
Add-ins provide new worksheet functionality
Interface seamlessly with the original Excel program
Seven primary add-ins are included with Excel 2007
Must be installed before you can use them
Add-ins are listed and installed in the
436
437
Objectives
Work with existing templates, themes, and
styles
Create and apply custom styles for advanced
formatting
Create and use a template
Create a Web page
Create Web queries
Create a macro with the Macro Recorder
Create macro buttons
Work with macro security
Understand the basics of VBA
438
440
441
442
worksheet data
A style is a set of formatting options applied to cells
443
Excel workbooks
Base it on the formatting already in an existing cell
The custom style you create will appear in the
Custom section of the Cell Styles palette
To modify a style, right-click it in the Custom section
of the Cell Styles palette, and select Modify
To delete a style, right-click on the Style in the
Custom section of the Cell Styles palette and select
Delete
444
445