Вы находитесь на странице: 1из 11

2/7/2018 Monte Carlo Simulation Formula in Excel - Tutorial and Download - Excel TV

Share The LOVE = Share EXCELTweet


TRAINING COURSES
w Share XL POWER
ShareUSER

Excel Power User's


YOU ARE HERE: HOME » BLOG » EXCEL TIPS & TRICKS  » MONTE CARLO SIMULATION FORMULA IN EXCEL – TUTORIAL A

Quick Guides

by Szilvia Juhasz
FREE Download

"Laminate Worthy" Quick Guides for the Excel Power User.

MONTE CARLO SIMULATION FORMULA IN


Includes:

EXCEL – TUTORIAL AND DOWNLOAD


 Shortcuts & Timesavers for the Power User

 Quick Reference Guide for Lookups and Conditional Calculations


October 26, 2014 / Excel Tips & Tricks / By Rick Grantham / 10 COMMENTS

= q w -
Name

What is Monte Carlo Simulation?


Email

Monte Carlo Simulation is a process of using probability curves to determine the likelihood of an


YES,your
outcome.  You may scratch Send me
head the
here FREE
and say…Download
 “Hey Rick, a distribution curve has an array
values.  So how exactly do I determine the likelihood of an outcome?”  And better yet, how do I d
that in Microsoft Excel without any special add-ins

x
https://excel.tv/monte-carlo-simulation-excel-tutorial-download/ 1/11
2/7/2018 Monte Carlo Simulation Formula in Excel - Tutorial and Download - Excel TV
x
Thought you would never ask.
Share The LOVE = Share Tweet w Share Share

Excel Power User's


This is done by running the simulation thousands of times and analyzing the distribution of the
output.  This is particularly important when you are analyzing the output of several distribution

Quick Guides
curves that feed into one another.

Example:

» # of Units Sold may have a distribution curve


by Szilvia Juhasz
» multiplied
FREE by Market price, which may have another distribution curve
Download

» minus variable wages


"Laminate which
Worthy" have
Quick another
Guides forcurve
the Excel Power User.
Includes:
» etc., etc.
 Shortcuts & Timesavers for the Power User
Once all these distributions are intermingled, the output can be quite complex.  Running thousan
 Quick Reference Guide for Lookups and Conditional Calculations
of iterations (or simulations) of these curve may give you some insights.  This is particularly usef
in analyzing potential risk to a decision.

Describe
Name
Monte Carlo
When describing
Email Monte Carlo Simulation, I often refer to the 1980’s movie War Games, where a
young Mathew Broderick (before Ferris Bueller) is a hacker that uses his dial up modem to hack
the Pentagon computers and start World War 3.  Kind of.  He then had the Pentagon computers
YES,
many simulations of the Send
games meToe
Tic Tac thetoFREE
teach Download
the computer that no one will will a nuclear
– and save the world in the process.

Thanks Ferris. You’re a hero.


x
https://excel.tv/monte-carlo-simulation-excel-tutorial-download/ 2/11
2/7/2018 Monte Carlo Simulation Formula in Excel - Tutorial and Download - Excel TV
x
Here’s a glimpse of the movie to show you big time Monte Carlo in action.  I am assuming that y
will overlook the politics, theShare
awkward man hugging
The LOVE and of course,
= Share TweetDabney Coleman. Share
w Share

Excel Power User's


Wargames Ending

Quick Guides

THEbyMONTE
Szilvia Juhasz CARLO SIMULATION FORMUL
FREE Download

Distribution Curves
"Laminate Worthy" Quick Guides for the Excel Power User.
Includes:
There are various distribution curves you can use to set up your Monte Carlo simulation.  And th
curves may be interchanged based on the variable.  Microsoft doesn’t have a formula called “Do
 Shortcuts & Timesavers for the Power User
Monte Carlo Simulation” in the menu bar
 Quick Reference Guide for Lookups and Conditional Calculations

Uniform Distribution
In a uniform distribution, there is equal likelihood anywhere between the minimum and a
Name
maximum.  A uniform distribution looks like a rectangle.

Email

YES, Send me the FREE Download

x
https://excel.tv/monte-carlo-simulation-excel-tutorial-download/ 3/11
2/7/2018 Monte Carlo Simulation Formula in Excel - Tutorial and Download - Excel TV
x
Normal (Gaussian) Distribution
Share The LOVE = Share Tweet w Share Share

Excel Power User's


This is also your standard bell shaped curve.  This Monte Carlo Simulation Formula is characteriz
by being evenly distributed on each side (median and mean is the same – and no skewness).  Th
tails of the curve go on to infinity.  So this may not be the ideal curve for house prices, where a fe

Quick Guides
top end houses increase the average (mean) well above the median, or in instances where there
hard minimum or maximum.  An example of this may be the minimum wage in your locale. Pleas
note that the name of the function varies depending on your version.

Lognormal Distribution
A distribution where the logarithm is normally distributed with the mean and standard deviation
by Szilvia Juhasz
So the setup is similar to the normal distribution, but please note that the mean and standard_
FREE Download
variables are meant to represent the logarithm.

"Laminate Worthy" Quick Guides for the Excel Power User.


Includes:

 Shortcuts & Timesavers for the Power User

 Quick Reference Guide for Lookups and Conditional Calculations

Name
Poisson Distribution
This is likely the most underutilized distribution.  By default, many people use a normal distribut
Email
curve when Poisson is a better fit for their models.  Poisson is best described when there is a lar
distribution near the very beginning that quickly dissipates to a long tail on one side.  An exampl
YES,where
this would be a call center, Sendnome callsthe
are FREE Download
answered before second ZERO.  Followed by the
majority of calls answered in the first 2 intervals (say 30 and 60 seconds) with a quick drop off in
volume and a long tail, with very few calls answered in 20 minutes (allegedly).

x
https://excel.tv/monte-carlo-simulation-excel-tutorial-download/ 4/11
2/7/2018 Monte Carlo Simulation Formula in Excel - Tutorial and Download - Excel TV
x

Share The LOVE = Share Tweet w Share Share

Excel Power User's


Quick Guides
The purpose here is not to show you every distribution possible in Excel, as that is outside the
scope of this article.  Rather to ensure that you know that there are many options available for y
Monte Carlo Simulation.  Do not fall into the trap of assuming that a normal distribution curve is
right fit for all your data modeling.  To find more curves, to go the Statistical Functions within yo
Excel workbook and investigate.  If you have questions, pose them in the comments section belo

Building The Model


For this set up we will assume a normal distribution and 1,000 iterations.

Input Variables
by Szilvia Juhasz
The
FREE setup assumes a normal distribution. A normal distribution requires three
Download
q -
variables; probability, mean and standard deviation.  We will tackle the mean and
standard"Laminate
deviation Worthy"
in our firstQuick
step. Guides
 I assume
fora the
finance forecasting
Excel problem that consists of
Power User.
Revenue, Variable and Fixed Expenses.  Where Revenue minus Variable Expenses minus Fixed
Includes:
Expenses equals Profit.  The Fixed expenses are sunk cost in plant and equipment, so no
Shortcuts
distributioncurve & Timesavers
is assumed. for the
 Distribution Powerare
curves User
assumed for Revenue and Variable Expen
 Quick Reference Guide for Lookups and Conditional Calculations

Name

Email

First Simulation
YES, Send me the FREE Download
The example below indicates the settings for Revenue.  The formula can be copy and
pasted to cell D6 for variable expenses.  For Revenue and expenses we you the funct
NORM.INV() where the parameters are:
x
https://excel.tv/monte-carlo-simulation-excel-tutorial-download/ 5/11
2/7/2018 Monte Carlo Simulation Formula in Excel - Tutorial and Download - Excel TV
x
» Probability = the function RAND() to elicit a random number based on the other criteria withi
the distribution. Share The LOVE = Share Tweet w Share Share

Excel Power User's


» Mean = The mean used in the Step 1.  For Revenue it is C3.

Quick Guides
» Standard Deviation = The Standard Deviation used in Step 1.  For Revenue it is C4

Since RAND() is used as the probability, a random probability is generated at refresh.  We will us
this to our advantage in the next step.

by Szilvia Juhasz
FREE1,000
DownloadSimulations
There are several ways to do 1,000 or more variations.  The simplest option is to tak
"Laminate Worthy"
the formula fromQuick Guides
step #2 for the
and make Excel Power
it absolute.  ThenUser.
copy and paste 1,000 times.
Includes:
That’s simple, but not very fancy.  And if Ferris Bueller can save the world by showing a new Tic
Toe game to a computer, then we can spice up this analysis as well. Let’s venture into the world
 Shortcuts & Timesavers for the Power User
tables.
 Quick Reference Guide for Lookups and Conditional Calculations

» First we want to create an outline for a table.  We do this by listing the numbers 1 to 1,000 in
rows.  In the example image below, the number list starts in B12.
Name
» in the next column, in cell C12, we will reference the first iteration.

Email

YES, Send me the FREE Download

x
https://excel.tv/monte-carlo-simulation-excel-tutorial-download/ 6/11
2/7/2018 Monte Carlo Simulation Formula in Excel - Tutorial and Download - Excel TV
x

Share The LOVE = Share Tweet w Share Share

Excel Power User's


Quick Guides

» Next highlight the area where we want to house the 1,000 iterations

» Select Data > Data Tables


by Szilvia Juhasz
» For Column input cell: Select a blank cell.  In the download file, cell D11 is selected
FREE Download

» Select OK
"Laminate Worthy" Quick Guides for the Excel Power User.
Includes:

 Shortcuts & Timesavers for the Power User

 Quick Reference Guide for Lookups and Conditional Calculations

Name

Email

YES, Send me the FREE Download

x
https://excel.tv/monte-carlo-simulation-excel-tutorial-download/ 7/11
2/7/2018 Monte Carlo Simulation Formula in Excel - Tutorial and Download - Excel TV
x

Share The LOVE = Share Tweet w Share Share

Excel Power User's


Quick Guides

by Szilvia Juhasz
FREE Download
» Once OK is selected from the previous step, a table is inserted that autopopulates the 1,000
simulations
"Laminate Worthy" Quick Guides for the Excel Power User.
Includes:

 Shortcuts & Timesavers for the Power User

 Quick Reference Guide for Lookups and Conditional Calculations

Name

Email

YES, Send me the FREE Download

x
https://excel.tv/monte-carlo-simulation-excel-tutorial-download/ 8/11
2/7/2018 Monte Carlo Simulation Formula in Excel - Tutorial and Download - Excel TV
x

Share The LOVE = Share Tweet w Share Share

Excel Power User's


Quick Guides

by Szilvia Juhasz
FREE Download

"Laminate Worthy" Quick Guides for the Excel Power User.


Includes:

Summary Statistics
 Shortcuts & Timesavers for the Power User

Once theReference
Quick simulations are for
Guide run,Lookups
it is timeand
to gather summary
Conditional statistics.  This can be do
Calculations
a number of ways.  In this example I used the COUNTIF() function to determine the
percentage of simulations that are unprofitable, and the likelihood of a profit greater than $1
Million.  As expected, the likelihood of greater than $1M hovers around 50%.  This is because we
used normalNamedistribution curves that are evenly distributed around the mean, which was $1M.  T
likelihood of losing money is 4.8%.  This was gathered by using the COUNTIF() function to count t
Email
simulations that were less than zero, and dividing by the 1,000 total iterations.

YES, Send me the FREE Download

x
https://excel.tv/monte-carlo-simulation-excel-tutorial-download/ 9/11
2/7/2018 Monte Carlo Simulation Formula in Excel - Tutorial and Download - Excel TV
x

Share The LOVE = Share Tweet w Share Share

Excel Power User's


Quick Guides

by Szilvia Juhasz
FREE Download
Monte Carlo Simulation Formula
"Laminate Worthy" Quick Guides for the Excel Power User.

Download
Includes:

 Shortcuts & Timesavers for the Power User

 Quick Reference Guide for


Download Lookups
The Monteand Conditional
Carlo Calculations
Simulation FIle

NowName
What?
In the video above, Oz asks about the various uses for Monte Carlo Simulation.  What have you
used it for?  Are there any specific examples that you can share with the group?  If so, leave a no
Email
below in the comments section.  Also, feel free to sign up for our newsletter, so that you can sta
up to date as new Excel.TV shows are announced.  Leave me a message below to stay in contact
YES, Send me the FREE Download

Bloggers Love Comments


x
https://excel.tv/monte-carlo-simulation-excel-tutorial-download/ 10/11
2/7/2018 Monte Carlo Simulation Formula in Excel - Tutorial and Download - Excel TV
x
Leave A Comment
Share The LOVE = Share Tweet w Share Share

Excel Power User's


Related Posts

31 May, 2017
Quick Guides
UNPIVOT WITH POWER QUERY

04 Apr, 2017
Using the Immediate Window – Excel VBA Tips

22 Feb, 2017
How to Create Dynamic Drop Down Lists Using Excel Tables

by Szilvia Juhasz
FREE Download

"Laminate Worthy" Quick Guides for the Excel Power User.


Includes:

 Shortcuts & Timesavers for the Power User

 Quick Reference Guide for Lookups and Conditional Calculations


Copyright 2016 by Excel TV Media Group LLC. Connect With M

Name

Email

YES, Send me the FREE Download

https://excel.tv/monte-carlo-simulation-excel-tutorial-download/ 11/11

Вам также может понравиться