Professional Documents
Culture Documents
2021-2022
Spreadsheet Models
Spreadsheet models - mathematical and logic-based models
- provide easy-to-use, sophisticated mathematical and logical functions, allowing for easy
instantaneous recalculation for a change in model input
- often referred to as what-if models
Fixed cost – is the portion of the total cost that does not depend on the production quantity;
this cost remains the same no matter how much is produced.
Variable cost – is the portion of the total cost that is dependent on and varies with the
production quantity.
Illustrative Example:
MmC Plastics produces a line of cell phone covers. MmC’s best-selling cover is its Viper model, a slim but very
durable black and gray plastic cover.
The annual fixed cost for the Viper cover is Php 234,000.00. This fixed cost includes management time,
advertising, and other costs that are incurred regardless of the number of units eventually produced. In
addition, the total variable cost, including labor and material costs, is Php 20.00 for each unit produced.
MmC is considering outsourcing the production of some products for next year, including the Viper. MmC has
a bid from an outside firm to produce the Viper for Php 35.00 per unit. Although it is more expensive per unit
to outsource the Viper (Php 35.00 versus Php 20.00), the fixed cost can be avoided if MmC purchases rather
than manufactures the product.
The exact demand for Viper for next year is not yet known. MmC would like to compare the costs of
manufacturing the Viper in-house to those of outsourcing its production to another firm, and management
would like to do that for various production quantities.
Influence Diagrams
It is often useful to begin the modeling process with a conceptual model that shows the
relationships between the various parts of the problem being modeled. The conceptual model
helps in organizing the data requirements and provides a road map for eventually constructing
a mathematical model. A conceptual model also provides a clear way to communicate the
model to others.
Influence Diagram - a visual representation that shows which entities influence others in a
model. Parts of the model are represented by circular or oval symbols called nodes, and
arrows connecting the nodes show influence.
Figure 5.1 shows an influence diagram for MmC’s total cost of production for the Viper.
2
Business Analytics 2nd Semester SY. 2021-2022
Figure 5.2
An Influence
Diagram for
Comparing
Manufacturing
Versus
Outsourcing Cost
for MmC Plastics
The cost-volume model for producing q units of the Viper can then be written as follows:
TMC(q) = FC + (VC x q)
3
Business Analytics 2nd Semester SY. 2021-2022
Equation 5.1
For the Viper, FC = Php 234,000.00 and VC = Php 20.00 , so that equation (5.1) becomes
TMC(q) =Php 234,000.00 + 20q
Once a quantity required (q) is established, equation (5.1), now populated with the data for
the Viper, can be used to compute the total manufacturing cost .
For example, the decision to produce q = 10,000 units would result in a total cost of:
TMC(10,000) = 234,000 + 20(10,000)
= 434,000.00
Equation 5.2
TPC(q) = Pq
Let S(q) = the savings due to outsourcing, that is, the difference between the total
cost of manufacturing q units and the total cost of buying q units.
4
Business Analytics 2nd Semester SY. 2021-2022
Equation 5.3
• Several points are in order. Some of these components are a function of other
components (TMC, TPC, and S), and some are not (q, FC, VC, and P).
• TMC, TPC, and S will be formulas involving other cells in the spreadsheet model,
whereas q, FC, VC, and P will just be entries in the spreadsheet.
• In our analysis, we seek the value of q, such that S(q) > 0; that is, the savings
associated with outsourcing is positive.
• The number of Vipers to make or buy for next year is really a decision MmC gets to
make. So, we will treat q somewhat differently than we will FC, VC, and P in the
spreadsheet model, and we refer to the quantity q as a decision variable.
• FC, VC, and P, are measurable factors that define characteristics of the process we
are modelling and so are uncontrollable inputs to the model, which we refer to as
parameters of the model.
5
Business Analytics 2nd Semester SY. 2021-2022
WHAT-IF ANALYSIS
DATA TABLES
An Excel Data Table quantifies the impact of changing the value of a specific input on
an output of interest. Excel can generate either one of the following:
a. one-way data table – summarizes a single input’s impact on the output, or
b. two-way data table – summarizes two inputs’ impact on the output
Let us consider how savings due to outsourcing changes as the quantity of Vipers
required changes. This should help us answer the question,
6
Business Analytics 2nd Semester SY. 2021-2022
A one-way data table changing the value of quantity and reporting savings due to
outsourcing would be very useful.
We will use the previously developed MmC spreadsheet for this analysis.
• The first step in creating a one-way data table is to construct a sorted list of the values
you would like to consider for the input.
• Let us investigate the quantity q over a range from 0 to 300,000 in increments of 25,000
units. Figure 5.4 shows we have entered these data in cells D4 through D16, with a
column label in D3.
Figure 5.4 The Input for Constructing A One-Way Data Table For MmC Plastics
• This column of data is the set of values that Excel will use as inputs for q. Since the output
of interest is savings due to outsourcing (located in cell B12), we have entered the formula
=B12 in cell E3.
• In general, set the cell to the right of the label to the cell location of the output variable of
interest.
• Once the basic structure is in place, we invoke the Data Table tool using the following
steps:
7
Business Analytics 2nd Semester SY. 2021-2022
• As shown in Figure 5.5, the table will be populated with the value of savings due to
outsourcing for each value of quantity of Vipers in the table.
Figure 5.5 Results of One-Way Data Table for MmC Plastics
• Suppose that MmC has now received five different bids on the per-unit cost for outsourcing
the production of the Viper.
• The five current bids are Php 28.90, Php 30.00, Php 31.30, Php 35.40, and Php 35.90.
• We may use the Excel Data Table to construct a two-way data table with quantity as a column
and the five bids as a row, as shown in Figure 5.6.
8
Business Analytics 2nd Semester SY. 2021-2022
Figure 7.6 The Input for Constructing A Two-Way Data Table for MmC Plastics
• In Figure 5.6, we have entered various quantities in cells D4 through D16, as in the
one-way table.
These correspond to cell B9 in our model.
• In cells E3 through I3, we have entered the bids.
These correspond to B6, the outsourcing cost per unit.
• In cell D3, above the column input values and to the left of the row input values, we
have entered the formula =B12, the location of the output of interest, in this case,
savings due to outsourcing.
• Once the table inputs have been entered into the spreadsheet, we perform the
following steps to construct the two-way Data Table.
9
Business Analytics 2nd Semester SY. 2021-2022
GOAL SEEK
Excel’s Goal Seek tool 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 MmC Plastics, suppose we want to know the value of the quantity of
Vipers where it becomes more cost effective to manufacture rather than outsource.
• For example, we see from the table in Figure 5.7 that, for a bid price of Php 28.90 and
some quantity between 25,000 units and 50,000 units, savings due to outsourcing
goes from positive to negative.
• Somewhere in this range of quantity, the savings due to outsourcing is zero, and that
is the point where MmC would be indifferent to manufacturing and outsourcing.
• We may use Goal Seek to find the quantity of Vipers that satisfies the goal of zero
savings due to outsourcing for a bid price of Php 28.90.
• The following steps describe how to use Goal Seek to find this point.
10
Business Analytics 2nd Semester SY. 2021-2022
11
Business Analytics 2nd Semester SY. 2021-2022
SUMPRODUCT matches all instances of Item Y/Size M and sums them, so for this
example 21 plus 41 equals 62.
IF AND COUNT IF
If Function
• The IF function is one of the most popular functions in Excel, and it allows you to make
logical comparisons between a value and what you expect.
12
Business Analytics 2nd Semester SY. 2021-2022
• So, an IF statement can have two results. The first result is if your comparison is True,
the second if your comparison is False.
Example 1:
=IF(C2=”Yes”,1,2)
The formula says: IF(C2 = Yes, then return a 1, otherwise return a 2)
Example 2:
=IF(C2=1,”Yes”,”No”)
In this example, the formula in cell D2 says: IF(C2 = 1, then return Yes, otherwise return No)
Example 3:
13
Business Analytics 2nd Semester SY. 2021-2022
In the above example, the IF function in D2 is saying IF(C2 Is Greater Than B2, then return
“Over Budget”, otherwise return “Within Budget”)
Example 4:
=IF(C2>B2,C2-B2,0)
In the above illustration, instead of returning a text result, we are going to return a mathematical
calculation. So, the formula in E2 is saying IF(Actual is Greater than Budgeted, then Subtract
the Budgeted amount from the Actual amount, otherwise return nothing).
Count If Function
• COUNTIF is an Excel function to count cells in a range that meet a single condition.
• COUNTIF can be used to count cells that contain dates, numbers, and text.
• The criteria used in COUNTIF supports logical operators (>,<,<>,=) and wildcards (*,?)
for partial matching.
In the worksheet shown above, the following formulas are used in cells G5, G6, and G7:
14
Business Analytics 2nd Semester SY. 2021-2022
V-LOOKUP
• VLOOKUP is an Excel function to look up data in a table organized vertically.
• Lookup values must appear in the first column of the table passed into VLOOKUP.
• VLOOKUP supports approximate and exact matching, and wildcards (* ?) for partial
matches.
V is for vertical
The purpose of VLOOKUP is to get information from a table organized like this:
Using the Order number in column B as a lookup value, VLOOKUP can get the Customer ID,
Amount, Name, and State for any order.
For example, to get the customer name for order 1004, the formula is:
=VLOOKUP(1004,B5:F9,4,FALSE) // returns "Sue Martin"
15
Business Analytics 2nd Semester SY. 2021-2022
SHOW FORMULAS
• The Show Formulas button does exactly that.
• 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.
• The use of Show Formulas allows you to inspect each formula in detail in its cell location.
16
Business Analytics 2nd Semester SY. 2021-2022
EVALUATE FORMULAS
• The Evaluate Formula button allows you to investigate the calculations of a cell in
great detail.
• The Evaluate Formula tool provides an excellent means of identifying the exact
location
of an error in a formula.
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.
• The Error Checking procedure is particularly helpful for large models where not all cells
of the model are visible.
17
Business Analytics 2nd Semester SY. 2021-2022
From the box, the formula can be edited, the calculation steps can be observed (as in
the previous section on Evaluate Formulas), or help can be obtained through the Excel help
function.
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.
• This is useful for large models when not all of the model is observable on the screen or
when multiple worksheets are used.
• The user can monitor how the listed cells change with a change in the model without
searching through the worksheet or changing from one worksheet to another.
18
Business Analytics 2nd Semester SY. 2021-2022
• As shown above, the list gives the workbook name, worksheet name, cell name (if used),
cell location, cell value, and cell formula.
• To delete a cell from the watch list, click on the entry from the list, and then click on the
Delete Watch button that appears in the upper part of the Watch Window.
• The Watch Window allows the user to monitor the value of the selected cell as changes
are made elsewhere in the worksheet.
• If there are other worksheets in the workbook, changes on the selected cell can be
monitored even from the other worksheets.
19