Excel Financial Modeling | Sensitivity & Scenario Analysis - YouTube

Channel: Kenji Explains

[0]
what's up everyone it's kenji here and in this聽 video we're going to create sensitivity tables聽聽
[4]
to see how different price changes affect our聽 business scenario analysis to see how different聽聽
[9]
forecasts affect our bottom line and lastly goal聽 seek and solver to see how much we need to sell聽聽
[15]
to reach our financial goals and to apply these聽 concepts we'll be using our latest startup idea聽聽
[20]
a lemonade stand and you can download聽 the file i'll be working with for free聽聽
[23]
as i'll leave it in the description below so let's聽 get into it starting off with goal seek and this聽聽
[28]
formula is useful when you know the result that聽 you want but you don't really know what inputs to聽聽
[32]
put in it to get that result for example maybe we聽 say that for the lemonade stand we want to make a聽聽
[36]
hundred thousand in net income but we don't really聽 know how much we need to sell to reach that number聽聽
[41]
let's take a look at the excel file over here聽 and we've got the different assumptions on one聽聽
[45]
side and the income statement on the other and聽 so the assumptions here we've got the units sold聽聽
[49]
so the quantity of lemonade sold the price聽 for that lemonade the cost for us to make it聽聽
[54]
the gna has to do with general and administrative聽 so these are usually things like the the office聽聽
[59]
rent the salaries and other things like that聽 that are fixed in nature and then we've got聽聽
[63]
the tax rate and so what we want to reach is the聽 net income figure over here of a hundred thousand聽聽
[69]
now to do that firstly let's fill in the different聽 income statement lines so we'll go equals for the聽聽
[74]
revenue it's just the price times the quantity聽 so the unit sold times the price per unit聽聽
[79]
for the cogs this is going to be the cost of聽 goods sold so that's equals to the units sold聽聽
[84]
times we'll make it a negative here because it's聽 a cost the cost per unit press enter for a gross聽聽
[89]
profit you can just press the alt equals that's聽 a shortcut for that press enter the reason um聽聽
[95]
this this over here is a sum is because this one's聽 already a negative so we don't have to do another聽聽
[99]
minus to it for gna equals negative the gna here聽 the earnings before tax is just the equal sum聽聽
[107]
press the tab key and we'll select these two here聽 and then for the taxes this gets a bit more tricky聽聽
[112]
that's because if you have a negative earnings聽 or if you didn't earn any money there's obviously聽聽
[116]
nothing for there to be taxed and so let's put an聽 if statement that's going to give us a condition聽聽
[121]
so we'll go equals if press the tab key so the聽 logical test is that this figure is going to be聽聽
[128]
less than zero and if that's the case if the value聽 if true then we actually don't want it anything so聽聽
[133]
we're just going to put a zero there in quotations聽 press the comma key again and the value if false聽聽
[138]
so if there is an actual profit here on earnings聽 in this case what we want to do is tax them right聽聽
[143]
so we'll go get this number here and multiply聽 by that 21 we actually have to make a negative聽聽
[149]
again so we'll go do that press enter and so in聽 this case because we do have earnings before tax聽聽
[155]
we will have a tax rate to that then lastly we'll聽 sum these equal sum press the tab key and select聽聽
[160]
this tool so we've got 988 in net income and we聽 want to get that to boost all the way to 100 000聽聽
[167]
one way that we can do that is by changing聽 the quantity sold so you can either do that聽聽
[170]
manually say we put 10 000 see what kind of an聽 effect that has i'll try again with say 50 000聽聽
[177]
or in the other way the faster more efficient聽 way to go about it is using goal seek聽聽
[181]
so for that firstly let's put a set of constraints聽 here and so what we want to put is essentially聽聽
[187]
first merge this so it looks just like this聽 one here so alt hmc and then ctrl b and then聽聽
[193]
alt h and that's going to give us the blue border聽 here let's go ahead and select that one i have it聽聽
[198]
on the recent and then we'll do alt h fc and we'll聽 put a white background sorry white color here聽聽
[205]
and the first control constraint is the net income聽 which we actually want it to be a hundred thousand聽聽
[210]
press enter and now to get to the actual solver聽 we'll just go to data what-if analysis and we'll聽聽
[217]
select goal seek so we want to set this cell here聽 which is the net income cell 2 the value is going聽聽
[223]
to be 100 000. by changing cell this is the the聽 input that we actually want to change which in聽聽
[229]
our case is the unit sold so we'll press ok and聽 now you can see that we've reached 100 000 in net聽聽
[235]
income press the ok key here and that's because聽 we've actually increased the unit sold to over聽聽
[240]
60 000 here but that's 60 000 units all that聽 seems like quite a lot of work for us and we聽聽
[246]
want to try to limit that to say around 25 000 as聽 anything more is probably just not worth it for us聽聽
[251]
now the other variable that we could tweak聽 here has to do with the price maybe we can聽聽
[255]
increase the price and so we'll also reach the聽 net income figure faster that way now to do so聽聽
[260]
unfortunately if we go back to gold seek over聽 here you'll notice that it only has one specific聽聽
[265]
variable that you can change so it says to set聽 one cell it doesn't let you set multiple cells聽聽
[270]
and that's when something like solver is going聽 to come handy now as you can see i have solver聽聽
[274]
up here but by default it's usually not on excel聽 so to find it you can go to file you can go under聽聽
[279]
options down here and then you're gonna go to聽 add-ins under add-ins you're gonna go to go here聽聽
[287]
and the one that you want to tick is the solver聽 add-in over here press ok when you have it and聽聽
[292]
then it should pop up up here so firstly let's聽 put the different constraints that we mentioned聽聽
[296]
firstly we want to put that the unit sold is聽 going to have a highest of 25 000 because we聽聽
[303]
said anything above that is really not worth it聽 for us and let's also put a price here so price聽聽
[308]
constraint basically puts something like 9.99 as聽 we don't really think that anyone's going to be聽聽
[314]
willing to buy a lemonade lemonade for more than聽 a 10 dollars say so once we have these constraints聽聽
[319]
we can go up here over to the solver tab and聽 the set objective like we mentioned earlier聽聽
[324]
is just a net income figure and we want to聽 set this to a value of a hundred thousand
[332]
by changing cells these are the different聽 variables that we want to change in our case it's聽聽
[336]
the unit sold as well as the price and then here聽 subject to the constraints these are the different聽聽
[342]
constraints that we want to put so let's go ahead聽 and add the first constraint is that we want to聽聽
[347]
have the units sold over here to be less than or聽 equals to the 25 000 press the add and a second聽聽
[354]
constraint is that we want the price per unit here聽 to be less than or equals to 9.99 press press the聽聽
[361]
add key and then you can close that so now we've聽 got the different constraints over here and you聽聽
[366]
can just press the solve key press the ok key here聽 and now you can see that we've got 25 000 units聽聽
[373]
we've also got the 100 000 in net income and聽 we've managed to do this by tweaking the price聽聽
[379]
over here to 8.21 per lemonade so that's聽 the general idea with goal seek and solver聽聽
[386]
next up we've got the sensitivity analysis or聽 table and one of the limiting factors with goal聽聽
[391]
seek as well as with solver is that we really聽 only had one final output so we had one price聽聽
[396]
per unit as well as one quantity sold but now聽 it'd be nice to have a whole range so what if聽聽
[400]
the price increased by one what if it decreased聽 by one then what would happen to our net income聽聽
[405]
so all these things we can do using the聽 sensitivity analysis for that go to control聽聽
[410]
page down and you can find it over here on聽 the table so this is what we want to fill in聽聽
[415]
so over here on the left hand side we have the聽 exact same assumptions that we did previously聽聽
[419]
let's go ahead and get started with this so price聽 per unit is going to be this price over here聽聽
[423]
pressing ctrl c then you can paste it all to hvv聽 that's going just going to just paste the values聽聽
[430]
so it's not going to change the formatting and聽 same thing over here we're going to select it聽聽
[433]
for the unit sold ctrl c and we'll paste it聽 over here alt hv all right from there we want聽聽
[440]
to have different ranges so for the quantity聽 say by 5000 so equals this one minus 5000聽聽
[447]
then copy and paste that across same thing聽 over here so 25 000 plus 5000 and paste it聽聽
[455]
across as well and for the price per unit same聽 kind of concept let's go up and down one dollar聽聽
[460]
so we'll go equals this one minus one and just聽 paste it across same thing on this side plus one
[469]
and there you go now once we have this we want to聽 dynamically link it so we're gonna go up to this聽聽
[473]
cell over here and go to equals and we're gonna聽 select the net income from here press enter the聽聽
[479]
reason we want to select it is so that the whole聽 table is now dynamic from there we'll go select聽聽
[483]
everything so ctrl shift down arrow ctrl shift聽 right arrow then we'll go to the data tab under聽聽
[488]
what-if analysis again but this time we'll go聽 for the data table it's going to ask us for a row聽聽
[494]
input cell that's going to be the 25000 over here聽 because that's a row and the column input cell is聽聽
[499]
going to be the 8.21 over here it's important聽 that you select it from here and not from the聽聽
[504]
table itself or else it's not going to work press聽 ok and then that's going to auto populate for us聽聽
[510]
and now we can see that hey if we sold at six聽 dollars and we sold 15 000 here's how much we'd聽聽
[515]
be making and all the way across the whole range聽 right so it's good to know this and from there we聽聽
[520]
can format it a bit better by doing the shift up聽 arrow shift right arrow here and usually i like to聽聽
[526]
make it something of a light blue see so we'll聽 go to alt h h and from there we'll select say聽聽
[533]
this light blue here and just for the middle聽 value which is the current one that we're聽聽
[537]
at from here and here so we'll go ahead and alt聽 h and we'll make that a darker blue say over聽聽
[543]
here press enter and that's a general idea with聽 the sensitivity analysis it's also quite common聽聽
[549]
to do sensitivity analysis like these ones over聽 here for finance especially to do with the share聽聽
[554]
price movement and how that might be affected by聽 different growth rates different discount rates聽聽
[558]
and other things like that as you can see over聽 here lastly we've got the scenario analysis and聽聽
[564]
this is most useful for forecasting in our case聽 for example we're a lemonade stand we're quite new聽聽
[569]
so we don't really know what our revenues are聽 going to look like in the future same thing with聽聽
[573]
our costs will they go up if so by how much all聽 of these are questions that we can solve using聽聽
[578]
scenario analysis so we'll have three different聽 scenarios a best case a base case and a worst case聽聽
[584]
so let's go ahead and look at the excel sheet for聽 that over here down on the bottom on the gray area聽聽
[589]
we've got the best case which is obviously the聽 highest revenues as well as the the lowest cost聽聽
[594]
as well and first let's go ahead and format all of聽 this so the idea is that these are all forecasted聽聽
[599]
years or they're in the future let's go ahead and聽 change that so it reflects it so select them by聽聽
[604]
pressing the shift right arrow press the control聽 one key and we're gonna go down to the custom聽聽
[610]
in here we want to change this so we're gonna聽 put something like four wise which are going to聽聽
[614]
stand for the obviously the years year keys and聽 then next up we're going to put this inverted聽聽
[619]
sign thing and then press the e press ok聽 and that's going to show us the estimate聽聽
[625]
for these following years we don't have a number聽 yet so we'll go equals e date press the top key聽聽
[630]
this is a start date and we want to essentially聽 add one whole year to that so it's 12 months comma聽聽
[635]
12 press enter and same thing over here once we聽 have this we actually want to space things out聽聽
[641]
a bit so ctrl control shift and then ctrl key say聽 do it three times let's also delete obviously not聽聽
[649]
the lead by change the the font color here to聽 a white so no fill alt h and from there you'll聽聽
[655]
press the n key which is going to show you no聽 fill and the idea here is that we want to have聽聽
[660]
a drop down that's going to tell us hey choose a聽 different scenario and from there you can choose聽聽
[664]
the first scenario which is the best case all the聽 way to the worst case so we'll put choose scenario
[671]
and then we can put something like like a sign聽 like this and here we're gonna have a one for now聽聽
[676]
let's go ahead and format this so we're聽 gonna put borders alt-h-b-a which is聽聽
[680]
gonna stand for all outside borders and this聽 one we want to say right align so alt-h-a-r聽聽
[686]
and now we can get started with this so for the聽 revenues we'll go equals the formula we'll use is聽聽
[690]
the choose formula press the tab key and the index聽 number is going to be the different scenario here聽聽
[696]
press the f4 key that's going to lock it for us聽 press the comma key and the values are going to聽聽
[702]
be in this case the revenue scenarios so this is聽 the first one comma the second one over here and聽聽
[708]
then the third one is this one over here and we聽 can press enter and we can just copy that across聽聽
[715]
on the call side it's the same thing equals聽 choose press the tab key index number is this聽聽
[720]
one press the f4 key comma the values are going聽 to be this time the course values first one
[729]
second one and the very last one press聽 enter and we'll just drag those across聽聽
[736]
for net for the net income it's just a sum formula聽 so we'll go alt equals press enter and just drag聽聽
[742]
that across and once we have this if we change聽 the scenario say to scenario three press enter聽聽
[748]
this should be changing dynamically and if we look聽 say to confirm 2024 should be a 45 000 negative聽聽
[754]
and that's exactly the case under the聽 worst case scenario let's also delete聽聽
[759]
one row here we don't really need it shift space聽 control minus one thing you'll notice though if聽聽
[764]
we change this scenario into something that's聽 not part of the one two three like say a five聽聽
[769]
all of a sudden everything is broken so let's go聽 ahead and protect this so it can't happen anymore聽聽
[774]
pressing ctrl z to go back there what we're聽 gonna do is go on under the data tab and we'll聽聽
[779]
go to what's known as data validation which you聽 can find as this thing over here click on it聽聽
[786]
what we want to put is a list this is going to be聽 a drop-down list from which people can select the聽聽
[790]
one we'll put a comma two and three press okay聽 and now you see that there's a drop down list聽聽
[796]
in this case say if somebody comes in and presses聽 a five all of a sudden they're not allowed anymore聽聽
[801]
which is how it should be right and just so you聽 get an idea of how this choose formula works you聽聽
[806]
can actually go ahead under the formulas tab and聽 you can go to the trace trace precedence here聽聽
[812]
that's essentially going to show you where things聽 are linking from sometimes it's useful to find you聽聽
[817]
can put the remove arrows to take that out also聽 sometimes you might find that people like to group聽聽
[822]
these so for the revenue scenarios you can press聽 the shift space and then shift down arrow and聽聽
[827]
you'll do the shift alt and right arrow here and聽 that's going to group it so it's essentially going聽聽
[833]
to hide it for you um if you say your excel sheet聽 is too big for more on excel you can check out聽聽
[839]
this link over here where we teach people about聽 excel specifically for those looking to break into聽聽
[844]
a business or finance role or those in it trying聽 to level up their excel game alternatively you聽聽
[849]
can check out this video over here on financial聽 modeling or this other video over here on awesome聽聽
[854]
visuals in excel hit that like hit that subscribe聽 if you liked it and i'll catch you in the next one