Professional Documents
Culture Documents
Chandoo
Share
Imagine you are the in-charge of finance department at Hogwarts. So one fine day, while you are practicing the
spells, Dumbledore walks in to your office and says, “Our electricity bills are way too high. As the muggles don’t
accept wizard money, we have to find a way to reduce our power consumption.”
So you summoned the previous 12 month utility bills to examine energy consumption patterns, and pretty soon you
realized that most of the electricity consumption is due to the light bulbs. You suddenly have a brilliant idea. Why
not replace the light bulbs with a variety that consumes low power? A light bulb moment indeed.
Your next step is to figure out what varieties of light bulbs are out there. Fortunately this is easier than catching a
snitch in a game of quidditch. A quick search revealed that there are 3 types of light bulbs:
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 1/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
Now your job is to do a cost benefit analysis of these options and pick one.
Cost benefit analysis, as the name suggests is a process of identifying all the costs & benefits of different decision
choices and finding which choice offers maximum benefit for minimum cost.
It is a generic technique and the implementation varies depending on situation, industry and available data.
Let’s conduct cost benefit analysis for our light bulb problem and figure out which option is best.
Click here to download the cost benefit analysis workbook. Refer to it as you read this article for best results.
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 2/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
Costs:
Price
Electricity consumption (watts/hr)
Life time in hours
Benefits:
Assumptions:
We also need to assume a few things to keep our cost benefit analysis model realistic & simple.
Global assumptions:
We need only 1 bulb (doing analysis for n bulbs is just a matter of multiplying 1 bulb results with n)
Analysis will be conducted in Indian Rupees
Let’s compare bulbs that give same amount of light (lumens). This means we can ignore the benefit part
Other assumptions:
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 3/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
of 5 years.
The fixed cost for each light bulb type is nothing but the price.
Since each type of bulb has certain life time, we will have to pay for replacement of bulbs too.
This means, apart from fixed cost at the start of time period, we will also have a variable cost that depends on the
Variable costs:
FV($C$13/12,$B20,-$C$14*30*C$8*$C$12/1000)
To understand this formula, first imagine what the total unit cost should be at the end of Month x.
For first month, the cost is =total monthly usage in hours * watts per hour / 1000 * unit cost * (1 + inflation/12)^1
For second month, the cost is same as above, but the exponent in the end becomes 2.
Oh, all this math is confusing… Isn’t there a simple spell to answer this?
I am glad you asked. There is a spell to get this answer in one shot. It is called as FV()
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 4/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
We simply write
= -FV(inflation/12, month number, total monthly usage in hours * watts per hour / 1000 * unit cost)
This is because, by default FV returns values in negative. It has got something to do with how banks always take
money from us, but are very reluctant to give back or like that.
The unit cost formula felt like trying to catch a snitch while riding a broomstick upside down. Thankfully, the bulb
replacement cost formula feels like sitting in the crowd, cheering match while eating chocolate frogs.
Cumulative usage in hours / life time of the bulb * unit price of bulb
Let’s say the life time is 1,000 hrs, cost is Rs 20 and we use 240 hrs in first month. Our cost is still Rs. 20, not 24%
of 20.
Likewise, at the end of 5th month, our total usage would be 1200 hrs (240 x 5 = 1200) and we must buy a new
The replacement cost is not uniformly spread across months (or hours). It happens once at beginning and then
recurs once per lifetime of the bulb.
Hence we use INT to round the cumulative usage / life time to the integer portion (ex: INT(240/1000) will be 0)
Look at below illustration to understand how these formulas look in the cost benefit analysis worksheet.
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 5/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
3. Calculate benefits
This part is not required for our problem as the benefits are same for all 3 types of bulbs. You can use logic similar
to cost calculation when the benefits vary. For example if you want to do cost benefit analysis of 3 types of
investment choices – mutual funds, stocks, bank deposits, then you can use below framework:
Costs:
Brokerage costs
Entry costs
Operating expenses
Exit costs
Volatility / risk factors
Benefits:
Once we have these cost & benefit calculations ready, we need to calculate them for 60 months (5 years) for all 3
types of bulbs.
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 6/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
While it is easy to decide which option is the winner by just looking at numbers, when you take this proposal back to
Dumbledore, he may want a little more explanation. This is where a visualization of cost benefit analysis can
help.
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 7/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
Format the chart so that it is easy to identify winning choice at each point of time.
So what would be the total cost for using 12 CFL bulbs 16 hours per day for next 25 years?
In above case, how much would we save if we switch to LED bulbs?
What would be the cost for 30 years? 10 hours a day? 20 bulbs?
Thanks to powerful Excel form control feature, you can easily add a comprehensive what-if analysis tool to your
model.
Like this:
1. Identify all possible scenarios for which what-if analysis may be required.
2. Determine the variables (in our case, the variables are number of bulbs, bulb type, usage in hours &
years)
3. Figure out what output should be displayed (in our case, the output is total cost and a comparison with
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 8/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
4. Set up an input area where user can select any combination of variables
5. Use form controls, slicers, data validation, VBA or simple input cells for gathering this data
Do your research first: Identify all factors, inputs, assumptions & facts that impact the decisions.
depict your results visually as much as possible. Remember the old adage, a picture is worth thousand
words.
Please click here to download cost benefit analysis workbook. Examine the calculations & form controls to
learn more.
Cost benefit analysis was a big part of my work when I worked as an analyst. Now I am in the role of a CEO and it is
even more relevant for me. For most situations I create a simple Excel model to examine the costs & benefits to
decide the winner.
What about you? How do you analyze costs vs benefits? What techniques do you use? Please share your stories,
examples & tips in the comments section.
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 9/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
If you like to learn how to analyze data, gather insights, prepare outputs & interpret results, then you will love my
new course – 50 ways to analyze data.
The above example is lesson number 24 in our course. Each of the 50 lessons deal with common business analysis
situations, case studies & techniques so that you can become the analytical wizard you always wanted to.
Welcome to Chandoo.org
Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing
videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel,
Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.
19 Comments
Ask a question or say something...
Tagged under
advanced excel, cost benefit analysis, downloads, Financial Modeling, form controls, FV, Learn
Excel, line charts, Microsoft Excel Formulas, no-nl, screencasts, solo
Category:
Analytics, Charts and Graphs, Financial Modeling
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 10/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
PREVIOUS
CP028: How to tell business logic & rules to Excel?
NEXT
What is the length of longest winning streak? [Excel homework]
Reply
2. Krishna says:
January 29, 2015 at 4:54 am
Truly magnificent.
Reply
3. Hardy says:
January 29, 2015 at 12:04 pm
Hello Chandoo,
Just a minor matter. Please check the units of Power, it is "Watt" not "Watts per hour". If a 60 Watt bulb is
used for an hour it uses 60 Watthour(= 60 Wh) of energy, divided by 1000 this gives 0.06 kWh.
I know this is not a site for physics, and is has no impact for the end results, but it may confuse some of
your readers and blur a for the rest good example.
Regards,
Hardy
Reply
4. Carlos says:
January 29, 2015 at 3:22 pm
Reality is that in many locations, electricity voltage & power is variable, and bulbs are turned on more often
increasing the probability of burning. So the real lifetime of bulbs are not too different between the options.
Regards
Carlos
Reply
5. ChrisAd says:
January 29, 2015 at 4:03 pm
Good post but missing very important issue. LEDs deteriorate with time, so just after 5k hrs usually the LED
is capable of 50-60% of initial Lumens. Quite a drastic drop.
As for the lifetime both CFL and LED lights (the mainstrem ones) lifecycle is around 6-8k hrs. And in places
where lights is often switched on/off the lifetime of CFL/LED drops to 3 4k hrs
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 11/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
where lights is often switched on/off the lifetime of CFL/LED drops to 3-4k hrs.
Reply
6. Bob says:
January 29, 2015 at 4:49 pm
One final thought, I would do this type analysis with annual data. The monthly nuances aren't worth the
trouble - especially when you are forecasting the future.
Reply
Hi Bob. I like your approach. Do you think you could adjust Chandoo's spreadsheet to match your
idea?
Reply
Bob says:
February 5, 2015 at 1:41 pm
Reply
Hui... says:
February 5, 2015 at 2:52 pm
@Bob
You can't attach a file here
Reply
7. Ericson says:
January 29, 2015 at 5:30 pm
Hi Chandoo. I am always geeking out on this website. I agree with Bob. I think an important aspect of time
value of money is being lost here. the expensive upfront cost of the LED typically outweighs the low cost of
energy. I think long run though this model indicates that LED's reign supreme in a childless home that is. As
always keep up the good work.
Reply
8. Bob says:
January 30, 2015 at 3:57 pm
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 12/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
First, NPV and/or IRR calculations should use risk adjusted cash flows. With any cost/benefit forecast there is
some degree of risk. (As someone once said, forecasting is difficult, especially about the future.) For
example, if because of the CFL lifetime risk noted by Carlos, and the LED lumen output risk pointed out by
ChrisAd, you estimate the probability of achieving the incremental cash flow benefits of these alternatives is
only 60%. For the NPV calculation you would then use only 60% of the originally calculated benefits -- a 100
Rupee cash benefit becomes 60 for NPV purposes.
Secondly, somehow I forgot the always present tax authorities. NPV/IRR costs (if expense, not capex) and
benefits should be after tax. Depending on your country and your tax situation your 60 Rupees may become
40.
So if you adjust your cash flow stream for risk and taxes you are good to go. Sorry I forgot these two
important factors in my initial comment.
Reply
9. Excel Roundup 20150202 « Contextures Blog says:
February 2, 2015 at 5:02 am
[…] Chandoo has a light bulb moment, while setting up a cost benefit analysis. […]
Reply
Hi Chandoo. There is a unique flaw in your model specifically related the cost effectiveness of light bulb
technologies. The flaw has nothing to do with the challenges indicated by the other commenters. It also
comes with a fun story.
It was spring break for my two young children. We visited a local science and technology museum where we
live. I first identified the flaw watching my children play with one of the hands-on exhibits. The exhibit was a
small bicycle connected to a generator. The generator is connected to three light bulbs, regular, CFL, and
LED. As you pedal the bike the lightbulbs illuminate. Light pedaling illuminates only the LED. Very aggressive
pedaling illuminates all three bulbs. The purpose of the exhibit is to show children how much extra energy is
required to power regular lightbulbs. Simple enough in a very linear world.
The flaw I identified, then validated with the museum staff, is the math is completely linear. Meaning the
math favors LED technology assuming 100% of the light is required 100% of the time, in the same room,
and assumes the light is either on or off.
1) Buildings tend to have multiple rooms, which have different lighting requirements. Think about your
house.
The lights over the vanity mirror in your bathroom may only require 1 x LED in terms of total lumens
however may require multiple bulbs to eliminate shadows while applying makeup. Which takes a short
amount of time, then the lights are turned off for much of the day. The cost of LED may be too high based on
the short amount to time the lights are in use.
Lamps in your living room may have a 3-way switch that progressively increases the lumens, requiring a
special bulb.
Your back porch may require a high power bulb that shines brightly over a large area.
In these cases you need to identify the bulb technology that meets the "art" side of the equation before
applying the "science" part. When done correctly you will identify a mix a build technologies that meet your
overall requirements.
2) CFL and other specialized bulb technologies cannot be used with a dimmer switch. Only a traditional on-off
switch. The ceiling light in my kids bedrooms are connected to a dimmer switch, allowing me to progressively
change the lumens up or down depending on need and time-of-day. That barrier eliminates some bulb
technologies from the equation for those rooms.
Net/net, in a linear world we would always choose LED technology. However, the more accurate analysis is to
treat each room as it's own cost analysis based on your lighting requirements and use case.
Reply
11. Doing Cost Benefit Analysis in Excel | CareWare says:
February 3 2015 at 4:26 pm
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 13/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
February 3, 2015 at 4:26 pm
[…] http://chandoo.org/wp/2015/01/28/cost-benefit-analysis-in-excel/ […]
Reply
The crux of the matter in this lesson is to learn how to use some Excel tools and techniques for analysis. The
choice of light bulbs is only an example, which appears to be subject of many controversies. However, the
numeric data associated with this example are pretty good for the learning purpose of Excel techniques.
Reply
Hi Chandoo,
I’m shy about asking, but if I buy 20 LED bulbs at 400 rupee each, then wouldn’t the first year cost for an
LED bulb be at least 8,000 for cost of bulbs (not including the energy cost)? The Quick Compare says the
total cost would be 6,088 (16hrs/day). If I’m buying bulbs, I would like to know the upfront cost. Maybe I’m
missing something in this cost-benefit. I enjoy your blog very much.
Reply
Hi Chandoo,
would like to know if the course would include supply chain analysis and modeling etc. If not, will you
consider adding them or conduct a separate course on this?
Rgds,
Jason
Reply
Hi Chandoo,
Thank you very much for sharing your experience and knowledge here! It became very useful discussion.
Thanks to all guys who shared their opinions and different solutions as well.
The article is EXCELENT and full of professionalism! A real example how excel can help you doing real
solutions.
Mariya
Reply
Reply
Leave a Reply
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 14/15
8/18/22, 9:08 PM Doing Cost Benefit Analysis in Excel - a case study » Chandoo.org - Learn Excel, Power BI & Charting Online
Yes, sign me up
Power BI
ABOUT DOWNLOADS
My Story 20+ Excel Templates
© All rights reserved.
https://chandoo.org/wp/cost-benefit-analysis-in-excel/ 15/15