Spreadsheet Model
Spreadsheet Model
SPREADSHEET MODELS
Introduction 2
Models
Building a Mathematical Model
Consider the cost of manufacturing the required units of the Viper
As the influence diagram shows, this cost is a function of the fixed
cost, the variable cost per unit, and the quantity required
Define notation for every node in the influence diagram:
q = quantity (number of units) required
FC = the fixed cost of manufacturing
VC = the per-unit variable cost of manufacturing
TMC(q) = total cost to manufacture q units
Building Good Spreadsheet 10
Models
The cost-volume model for producing q units is
TMC(q) = FC + (VC × q)
For the Viper, FC = $234,000 and VC = $2, so
TMC(q) = $234,000 + $2q
Mathematical model for purchasing q units is
TPC(q) = Pq
P = the per unit purchase cost
TPC(q) = the total cost to outsource or purchase q units
For the Viper, since P = $3.50, TPC(q) = 3.5q
Building Good Spreadsheet 11
Models
Mathematical model for the savings associated with
outsourcing
S(q) = TMC(q) – TPC(q)
S(q) = the savings due to outsourcing
Data Tables
Data Table: Excel tool which quantifies the impact of
changing the value of a specific input on an output of
interest
One-way data table: summarizes a single input’s
impact on the output
Two-way data table: summarizes two inputs’ impact
on the output
Figure 6.4: The Input for Constructing a 18
One-
Way Data Table for Nowlin Plastics
Figure 6.5 Results of One-Way Data
19
Table for Nowlin Plastics
20
Figure 6.6: The Input for Constructing a
Two-Way Data Table for Nowlin Plastics
Figure 6.7: Results of Two-Way Data Table
21
for Nowlin Plastics
What-If Analysis 22
Goal Seek
Goal Seek: Excel tool that allows the user to
determine the value of an input cell that will cause the
value of a related output cell to equal some specified
value (the goal)
In the case of Nowlin Plastics, suppose we want to
know the value of the quantity of Vipers where it
becomes more cost effective to manufacture rather
than outsource
Figure 6.8: Goal Seek Dialog Box
23
for Nowlin Plastics
24
Figure 6.9: Results from Goal Seek for
Nowlin Plastics
Some Useful Excel Functions
for Modeling
SUM AND SUMPRODUCT
IF AND COUNTIF
VLOOKUP
Some Useful Excel Functions for Modeling 26
VLOOKUP
This function allows the user to pull a subset of data from a
larger table of data based on some criterion
General form =VLOOKUP(value, table, index, range)
where,
value = the value to search for in the first column of the
table
table = the cell range containing the table
index = the column in the table containing the value to be
returned
range = TRUE if looking for the first approximate match of
value and FALSE if looking for an exact match of
value
Figure 6.12: Granite Insurance Bonus Model 31
Auditing Spreadsheet Models
TRACE PRECEDENTS AND DEPENDENTS
SHOW FORMULAS
EVALUATE FORMULAS
ERROR CHECKING
WATCH WINDOW
Auditing Spreadsheet Models 33
Show Formulas
To see the formulas in a worksheet, simply click on any cell in the
worksheet and then click on Show Formulas—you will see the
formulas residing in that worksheet
To revert to hiding the formulas, click again on the Show Formulas
button
Auditing Spreadsheet Models 39
Evaluate Formulas
The Evaluate Formulas button allows you to investigate the
calculations of a cell in great detail
Provides an excellent means of identifying the exact
location of an error in a formula
Figure 6.16: The Evaluate Formula Dialog Box
for Gambrell Manufacturing
Figure 6.17: The Evaluate Formula Dialog Box
41
for Gambrell Manufacturing Cell B17 after
Four Clicks of the Evaluate Button
Auditing Spreadsheet Models 42
Error Checking
The Error Checking button provides an automatic means of
checking for mathematical errors within formulas of a
worksheet
Clicking on the Error Checking button causes Excel to
check every formula in the sheet for calculation errors
If an error is found, the Error Checking dialog box appears
Figure 6.18: The Error Checking Dialog Box43
for a Division by Zero Error
Auditing Spreadsheet Models 44
Watch Window
The Watch Window, located in the Formula Auditing group,
allows the user to observe the values of cells included in the
Watch Window box list
Useful for large models when not all of the model is
observable on the screen or when multiple worksheets are
used
Figure 6.19: The Watch Window for Cell B17
45
of the Gambrell Manufacturing Model