Documente Academic
Documente Profesional
Documente Cultură
Chapter 9
In these spreadsheets, you will learn how to use the following Excel fun
Naming cells
Scenario Manager
One-way Data Table
Goal Seek
RAND
Frequency distribution
Frequency distribution charts
Shapes and lines
NOTE: For this workbook, any changes in input values will not change t
alues will not change the output unless you hit the F9 key.
Chapter 9 - Section 2
Sensitivity Analysis, Scenario Analysis, and Break-Even Analysis
Scenario Analysis
Scenario analysis is used to determine the range of possible outcomes for a project. Typically, the base case, best (op
when doing scenario analysis. Because of the repetitive nature of the calculations, spreadsheets are an excellent too
Corporation solar-powered jet engine project presented in the example in the textbook:
Base case
Unit sales: 10,000
Price per unit $ 2,200,000
Variable costs per unit: $ 800,000
Fixed costs per year: $ 1,741,000,000
With these values, we need to calculate the base case, best case, and worst case NPVs and IRRs. First, we want to ca
OCF $ 8,158,940,000
NPV $ 26,350,032,315
Notice, in this case we calculated the NPV using the PV function rather than the NPV function. When the cash flows
To calculate the best case and worst case, we will use Scenario Manager, which is described below. The values for th
Scenario Manager is a powerful tool that allows you to evaluate different scenarios and is useful in cases such as this
we will be changing, in this case cells D9 through D12, and D14. Next, go to the Data tab, click What-If Analysis, Scen
When you click on Add, another box comes up that will allow you to enter the scenario name. After entering the nam
Notice that the values are changed to the best case values. This is because the image was captured after we had cha
simply clicked Add, then added the worst case scenario. When the values for both scenarios are entered, click OK. Th
have already added.
Now that all the scenarios are entered, we can click on Summary, which brings up the final box. This box allows us to
(NPV) as the final result we wanted Scenario Manager to calculate, then clicked OK. The results are shown on the ne
Sensitivity Analysis
In contrast to scenario analysis, sensitivity analysis holds all variables except one constant. This allows us to see how
we will perform sensitivity analysis using fixed costs, although all other variables could be similarly examined. Using
way data table. Below, you will see a table with the NPV for different levels of fixed costs:
Graphically, the relationship between fixed costs and NPV looks like this:
$25,500,000,000
$25,000,000,000
$24,500,000,000
$24,000,000,000
0 0 0 0 0 0 0 0 0 0 0 0
,0 ,0 ,0 ,0 ,0 ,0
0 00 0 00 0 00 0 00 0 00 0 00
1, 1, 1, 1, 1, 1, 1
29 39 49 59 69 79 89
1, 1, 1, 1, 1, 1, 1,
$25,500,000,000
Net Present
$25,000,000,000
$24,500,000,000
$24,000,000,000
0 0 0 0 0 0 0 0 0 0 0 0
,0 ,0 ,0 ,0 ,0 ,0
0 00 0 00 0 00 0 00 0 00 0 00
1, 1, 1, 1, 1, 1, 1
29 39 49 59 69 79 ,8
9
$ 1, $ 1, $ 1, $ 1, $ 1, $ 1, $1
Fixed Costs
As you can see, there is a negative relationship between fixed costs and project NPV. We would expect this: As costs
To set up a one-way data table, we need to first enter the inputs we want to use in the calculations in a column (or ro
one cell above where the input values begin, we need to make the cell equal to the final value we want the data tab
table, this cell is C126. However, to make the data table look better, we have hidden this row. To unhide this row, sele
This first step is to highlight the entire column with the numbers we want used in the calculation, as well as the final
the "Data" tab, then "What-If Analysis," and "Data Table." Finally, enter the original cell that contains the variable we
D12 for fixed costs.
We should note that when you create a data table, you can change the input cells in which you entered the new valu
data table.
Of course, in our sensitivity analysis, we could be interested in how the NPV changes when two input variables chan
be related since a higher cost would likely result in fewer units sold. In this case, we can use a two-way data table to
way data tables were introduced in Chapter 4.) The sensitivity analysis for price and units sold looks like this:
Price per
$ 1,700,000 $ 1,800,000 $ 1,900,000
2,750 $ 851,864,562 $ 1,460,280,713 $ 2,068,696,863
2,800 $ 951,423,569 $ 1,570,901,831 $ 2,190,380,093
2,850 $ 1,050,982,575 $ 1,681,522,949 $ 2,312,063,323
2,900 $ 1,150,541,582 $ 1,792,144,067 $ 2,433,746,553
Units Sold
As you can see, when the price drops below $1,800,000, the project has a negative NPV for nearly all units sold exam
In the end, we are ultimately concerned with how sensitive the NPV is to changes in the inputs to the project. One w
to the same percentage change in the inputs. Below, we have constructed one-way data tables for each of the inputs
base case values as inputs in these tables. The reason is that if we reference the original cells (D9 to D12), the calcula
% Change from
Base Case Units sales NPV
$ 26,350,032,315
-30% 2,100 $ 1,880,640,962
-20% 2,400 $ 2,809,858,355
-10% 2,700 $ 3,739,075,748
0% 3,000 $ 4,668,293,141
10% 3,300 $ 5,597,510,535
20% 3,600 $ 6,526,727,928
30% 3,900 $ 7,455,945,321
To compare changes in each of the variables, we will graph the NPV for each of the sensitivity tables. Since the colum
columns, hold down the CTRL and ALT keys, then use the cursor to select the four columns. The sensitivity of the NP
$35,000,000,000
$30,000,000,000
$25,000,000,000
t Value
$35,000,000,000
$30,000,000,000
$25,000,000,000
$15,000,000,000
$10,000,000,000
$5,000,000,000
$-
-30% -20% -10% 0% 10% 20%
As you can see, the line with the steepest slope is the price per unit, followed closely by the variable cost per unit an
price per unit, we should concentrate our efforts in determining whether or not our estimate for this variable is accu
Break-Even Analysis
In looking at break-even analysis, we can start with revenues, costs, and NPVs under different sales assumptions, wh
Investment $ 1,000,000,000
As with many other sets of data, a graph can help us better exam exactly what is happening. Given that, we will set u
$18,000,000,000
$16,000,000,000
$14,000,000,000
$12,000,000,000
$10,000,000,000
$8,000,000,000
$6,000,000,000
$4,000,000,000
$2,000,000,000
$-
- 2,000 4,000 6,000
Although we could set up and equation to find the accounting break-even sales level, we will use Goal Seek instead.
The financial breakeven is the point at which the NPV of the project is zero. Again, we used Goal Seek. Try it on your
2,315 engines (2,314.44 to be more exact).
the base case, best (optimistic) case, and worst (pessimistic) case values are calculated
ets are an excellent tool for doing the analysis. Consider the Sonar Electronics
Rs. First, we want to calculate the NPV and IRR with the base case projections, which are:
When the cash flows are the same for each year, we find this calculation easier.
lick on the input cell for the units sold (D9), and look to the left of the Formula bar in
to name the input in this cell. Whenever we want to use the input from this cell later, we
t the sales calculation below, you will see that the formula we used in this cell is
In addition, Excel does not allow spaces in the variable name, so we used an underscore
elow. The values for the pessimistic, expected or best, and worst cases are:
ul in cases such as this. To use Scenario Manager, we first need to select the cells that
What-If Analysis, Scenario Manager. This will bring up a box that looks like this:
After entering the name, hit Add and another box will come up that looks like this:
tured after we had changed the values. After we entered the values for the best case, we
re entered, click OK. This brings us to another box with the scenario names which we
x. This box allows us to save the results in a separate spreadsheet. We entered cell C32
s are shown on the next tab.
s allows us to see how changes in one variable affects the NPV of a project. In this case,
ilarly examined. Using Excel, sensitivity analysis is most easily completed using a one-
0 0 0 0 0 0 0 0
00 ,0
0
,0
0
,0
0
,0
0
,0
0
,0
0
,0
0
0, 00 00 00 00 00 00 00
0 0 0 0 0 0 0
1, 1, 1, 1, 1, 1, 1,
69 79 89 99 09 19 29
1, 1, 1, 1, 2, 2, 2,
0 0 0 0 0 0 0 0
00 ,0
0
,0
0
,0
0
,0
0
,0
0
,0
0
,0
0
0, 00 00 00 00 00 00 00
0 0 0 0 0 0 0
1, 1, 1, 1, 1, 1, 1,
69 79 89 99 09 19 29
$ 1, $ 1, $ 1, $ 1, $ 2, $ 2, $ 2,
Fixed Costs
d expect this: As costs increase, the value of the project should decrease.
tions in a column (or row). Since we have used a column here, one cell to the right and
e we want the data table to calculate, or in this case, the NPV. Notice that in our data
To unhide this row, select both rows 125 and 127, right click, and then select "Unhide."
on, as well as the final calculation cell at the top of the adjacent column. Next, select
ontains the variable we want to use to calculate the values in the data table, which is cell
u entered the new values to analyze, but you cannot change the size or layout of the
o input variables change. Price and quantity sold are two variables that would seem to
two-way data table to compute the NPV for changes in both of these variables. (Two-
looks like this:
s to the project. One way we can examine this is to determine how sensitive the NPV is
s for each of the inputs to our project that we believe will vary. Notice that we have the
(D9 to D12), the calculation of the ranges will create a loop.
% Change from
Base Case Price per unit NPV
$ 26,350,032,315
-30% $ 1,400,000 $ 8,650,653,398
-20% $ 1,600,000 $ 13,075,498,127
-10% $ 1,800,000 $ 17,500,342,857
0% $ 2,000,000 $ 21,925,187,586
10% $ 2,200,000 $ 26,350,032,315
20% $ 2,400,000 $ 30,774,877,045
30% $ 2,600,000 $ 35,199,721,774
tables. Since the columns we wish to graph are separated, to select the four NPV
e sensitivity of the NPV to percentage changes in the base case values looks like this:
hanges in Inputs
Unit sales
Price per unit
Unit sales
Price per unit
Variable cost per unit
Fixed costs
ariable cost per unit and unit sales. Since the NPV is most sensitive to changes in the
for this variable is accurate.
iven that, we will set up the following table for our graph:
Accounting Numbers
Annual revenues
Variable costs
Fixed costs
(incl. dep.)
Total costs
use Goal Seek instead. Remember, at the accounting break-even, net income is zero.
net income cell. Go to the Data tab, click on What-If Analysis, Goal Seek. The Goal Seek
its per year. Once you have entered these values into Goal Seek, simply click OK and
oal Seek and Solver can be used interchangeably. Goal Seek tends to be a little quicker
results. Notice, we could have used any of the income statements we set up for this
oal Seek. Try it on your own and see if you don't agree that the financial break-even is
Scenario Summary
Current Values: Best Case Worst Case
Changing Cells:
Unit_sales 3,000 10,000 1,000
Price $ 2,000,000 $ 2,200,000 $ 1,900,000
Variable_cost_per_unit $ 1,000,000 $ 800,000 $ 1,200,000
Fixed_costs $ 1,791,000,000 $ 1,741,000,000 $ 1,891,000,000
Investment $ 1,500,000,000 $ 1,000,000,000 $ 1,900,000,000
Result Cells:
NPV $ 1,516,738,459 $ 26,350,032,315 $ (4,101,896,598)
Notes: Current Values column represents values of changing cells at
time Scenario Summary Report was created. Changing cells for each
scenario are highlighted in gray.
Chapter 9 - Section 3
Monte Carlo Simulation
Excel will allow you to create a Monte Carlo simulation. In the following Monte Carlo simulation, we will use the assu
Barbeques, Inc. (BBI). The probabilities for the different inputs are:
We did not follow the textbook assumption of different market sizes and market shares for each succeeding year of
calculations become more cumbersome, and therefore more difficult to follow. Also, the example in the textbook is
investment, variable cost per unit, fixed costs, the project life, corporate tax rate, and required return. Below you wil
assumed these inputs are constant, each input could also have its own probability distribution.
To create a number to assign for each probability, we will use the function RAND. The RAND function generates a ran
less than one.
For the compressed hydrogen grill project, we need three random numbers, one for the industry sales, one for BBI's
(+/- $3). While we could generate one random number and use it for all three inputs, this will result in only 30 differ
we should create three random numbers. Below you will a set of random numbers and the resulting outputs for thes
You will note that if you changed an input cell in this worksheet, the resulting values did not change. If you go to the
see that Manual is checked. The default setting for Excel is Automatic. We changed the setting in this workbook beca
RAND function, the random number is changed. As you will see below, we use the RAND function a lot in further cal
spreadsheet. If you want to refresh numbers in this worksheet, hit the F9 key, or change the setting on the Calculatio
Once the random numbers are set up, we can calculate the NPV for the project for each set of random numbers. Bel
While we could certainly have done more than 500 simulations, this is enough for our purposes here. To better exam
S134 to X169 and have a frequency distribution chart below.
Below, you can see the function arguments we used to create this frequency distribution.
Notice that beside the frequency distribution, we created another frequency distribution with ranges. We created th
we could graph a frequency distribution using the bins, the legend will not be as descriptive. We will use the ranges
below. If you look at the frequency distribution graph and hit F9, the graph will change with each new set of random
see if there is anything odd. (Hint: There is never an NPV in the ranges from -$10 million to $10 million, $30 million t
$130 million.)
80
70
60
50
Number of Observations
40
30
20
10
0
$-50 to $-40
$-30 to $-20
$-20 to $-10
$90 to $100
$120 to $130
$140 to $150
$-40 to $-30
$-10 to $0
$0 to $10
$10 to $20
$30 to $40
$60 to $70
$100 to $110
$110 to $120
$130 to $140
$150 to $160
$160 to $170
$20 to $30
$40 to $50
$50 to $60
$70 to $80
$80 to $90
To create this frequency distribution, we selected the data we wanted to graph (X134:X169) and went to the Insert ta
the data for the horizontal axis and input the legends as normal. Generally, when Excel draws a frequency distributio
between the columns. You can change this width by right clicking on a column and selecting Format Data Series. In t
will allow you to change the gap between the columns.
To change the color of the bars, click on any bar, go to the Format tab, select Shape Fill, and change the color of the b
done with the bars representing negative NPVs, click twice on the bar you want to have a different the color. After yo
select the Format tab, select Shape Fill, and change the color. Double clicking on the same bar will allow you to chan
histogram.
So how do we interpret the Monte Carlo simulation? One way is to do a cumulative probability graph that shows the
have a positive NPV or a negative NPV. In cells Y134:Y169 we have calculated this probability. The cumulative density
calculations (F9), the probability of a positive NPV for this project ranges from about 75 percent to 85 percent.
90%
80%
70%
Probability of Equaling or Exceeding NPV
60%
50%
40%
30%
20%
10%
0%
4 0 3 0 2 0 1 0 $ 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 0 0 10 2 0 3 0 4 0 5 0 60 7
$- $- $- $- to to $ to $ to $ to $ to $ to $ to $ to $ to $ $1 $1 $1 $1 $1 $1 $1 $1
to to to to 0 o o o o o o o o
5 0 4 0 3 0 2 0 $- 1 $0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 0 t 0 t 0 t 0 t 0 t 0 t 0 t 0 t 0
$ - $ - $- $- $ $ $ $ $ $ $ $ $9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7
$ $ $ $ $ $ $ $
25% 10% 5%
4% 5% 8%
ares for each succeeding year of the project. While we certainly could do this, the resulting
, the example in the textbook is missing several major assumptions including the initial
d required return. Below you will find the assumptions we made for these inputs. While we
istribution.
he RAND function generates a random number between greater than or equal to zero and
unction is simply RAND(). This will return a random number greater than or equal to zero and
r the industry sales, one for BBI's market share, and one for the randomness in the sales price
s, this will result in only 30 different NPVs. Since all of the random variables are independent,
and the resulting outputs for these three variables.
s did not change. If you go to the Formulas tab and select the Calculations Options, you will
the setting in this workbook because every time a change is made in a worksheet with the
RAND function a lot in further calculations. The resulting recalculation slows down the
ange the setting on the Calculation Options back to Automatic.
each set of random numbers. Below, in rows 134 to 633, we have done just this 500 times.
ur purposes here. To better examine the output, we have created frequency table in cells
use the FREQUENCY function is somewhat complicated, we will walk through the process
ution.
ution with ranges. We created the ranges by concatenating the bins we created earlier. While
scriptive. We will use the ranges for graphing the frequency distribution, which you will see
nge with each new set of random numbers. Do this a couple of times and watch the graph to
llion to $10 million, $30 million to $50 million, $80 million to $90 million, and $120 million to
$120 to $130
$140 to $150
$170 to $180
$190 to $200
$200 to $210
$220 to $230
$230 to $240
$250 to $260
$280 to $290
$100 to $110
$110 to $120
$130 to $140
$150 to $160
$160 to $170
$180 to $190
$210 to $220
$240 to $250
$260 to $270
$270 to $280
$290 to $300
4:X169) and went to the Insert tab, Column chart, 2-D, Clustered Column. We then selected
cel draws a frequency distribution as we have done here, there is a large amount of space
selecting Format Data Series. In the box this brings up, there is a Series Option selection that
Fill, and change the color of the bar. To highlight a specific bar, or certain bars as we have
ave a different the color. After you click on the bar twice, use the same procedure, that is,
e same bar will allow you to change a specific bar without changing the other bars in the
probability graph that shows the probability that the compressed hydrogen grill project will
obability. The cumulative density function for the project is shown below. If you refresh the
t 75 percent to 85 percent.
0 0 1 10 1 2 0 1 3 0 1 4 0 1 5 0 1 60 1 70 1 8 0 1 9 0 2 0 0 2 1 0 2 20 2 30 2 4 0 2 5 0 2 6 0 2 7 0 2 80 2 90 3 0 0
$1 $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $
to to to to to to to to to to to to to to to to to to to to
0 0 10 20 30 40 5 0 6 0 70 80 90 00 1 0 2 0 30 40 50 60 7 0 8 0 90
$1 $ 1 $ 1 $1 $1 $1 $1 $ 1 $ 1 $1 $2 $2 $2 $ 2 $ 2 $2 $2 $2 $2 $ 2
0.00%
0.00%
8.00%
9.80%
9.80%
90.20%
80.60%
68.80%
68.80%
68.80%
53.40%
42.80%
40.40%
40.40%
38.00%
19.00%
16.40%
16.40%
15.40%
10.00%
6.20%
6.20%
6.20%
6.20%
6.20%
6.20%
6.20%
6.20%
6.20%
5.40%
5.40%
3.20%
3.20%
0.80%
0.80%
Chapter 9 - Section 5
Decision Trees
We can use Excel to draw decision trees and calculate the value of a project. Consider the following project:
75%
Test results
revealed
Test
Failure
25%
No Test
NPV = $1,517
Invest
Success
75%
Do not invest
NPV = $0
NPV = ($3,611)
Invest
Failure
NPV = $0
and select "Text Box." Text boxes allow you to enter text that is "linked" to
his case allow the text to go across multiple rows and/or columns, which can
ater. To copy and/or move a text box, click on the box. This will bring up a
u would like to copy the Text Box, right click again, and select Paste. To draw
s shapes and lines available on this menu.
Chapter 9 - Master it!
Dahlia Simmons, CFO of Ulrich Enterprises, is analyzing a new project to sell solar powered batteries for cell phones.
for the variables in the project:
The unit price depends on the industry demand since a greater demand will result in a higher price. Dahlia determin
The random "+/-$2" term represents a increase or decrease in price according to the following distribution:
The length of the project, tax rate, and required return are:
Create a Monte Carlo simulation for the project with at least 500 iterations of the calculation. Calculate the IRR
a. an error if the IRR of the project is too low. For example, what is the IRR if both the initial cash flow and the ope
percent. This is not a problem when you are calculating the IRR one time since you can see the IRR is too low, b
problem trying to summarize the results. Because of this, you should create an IF statement that tests if the op
investment is less than 0.1. If this is the case, the cell will return an IRR of -49.99 percent, else the cell will calcu
b. Create a graph of the distribution of the IRRs from the Monte Carlo simulation for different ranges of IRR.
c. Create a graph for the cumulative probability function for the IRR distribution.
wered batteries for cell phones. Dahlia has estimated the following probability distributions
20% 10%
5% 6%
a higher price. Dahlia determines that the price per unit will be given by the equation:
following distribution:
e calculation. Calculate the IRR for each iteration. NOTE: The IRR function in Excel will return
he initial cash flow and the operating cash flows are negative? The IRR is less than -100
ou can see the IRR is too low, but when you are running 500 or more iterations it can create a
F statement that tests if the operating cash flow divided by the absolute value of the initial
percent, else the cell will calculate the IRR.
or different ranges of IRR.
Master it! Solution