Today is Diwali, the festival of lights. I wish you and your family a happy, bright and prosperous festive time. May your house shower with lots of light, laughter and love.
Diwali is one of my favorite festivals. It is a time when all family members get together, eat delicious food, laugh to hearts content and light up diyas (small oil lamps) to celebrate the victory of good over evil. This year, my kids (who are 6 yrs btw) are very excited about the festival. They are looking forward to lighting up diyas and crackers (fire works).
To celebrate the holiday, I made something for you.
An animated flower pot firework in Excel.
Here is a quick demo:
Download the flower pot chart
Click here to download the flower pot cracker chart. Click on the flower pot (triangle) to light up the fireworks.
How is this made?
Let’s keep it brief, after all, it’s festival time and I can’t sit in front of computer all day.
Flower pot:
- The flower pot sprinkles fire in parabolic shape.
- So we make 10 parabolas going to right and 10 to left (using the equation y=ax2 + bx + c)
- The parabolas stop midway because the fire dies. So we stop when y reaches RANDBETWEEN(30,90)% of maximum y.
- We then plot these 20 equations using XY scatter plot and color the lines differently.
- Using a simple VBA script, we increase the X value from o to 89 and feed the XY values to chart one step at a time
- This creates the flower pot fire cracker effect.
Tinkling diya:
- We make a single column bar chart and use light wick shape to fill the column
- We then increase the column height from 100 to 110 and then back to 100 in a loop
- This creates the effect of light going up and down, a la tinkling diya.
For more, check out the downloadable workbook, examine the hidden calc worksheet and code in module1.
Want to create such animated charts – Read on
Animation is a powerful way to attract user attention. Check out these pages to learn more.
- Another Diwali animated chart in Excel
- Journey of Hurricane Sandy – Animated Chart
- 3D Dancing pendulums using Excel Charts & VBA
- Designing a clock using Excel
- Animation with out macros [for fun]
Want more? Consider our VBA course
If you want to learn more about animation & other VBA techniques, consider joining our online VBA classes. In a few weeks, you can master all aspects of Excel VBA & Macros.
















6 Responses to “Nest Egg Calculator using Power BI”
Wow! What a Powerful article!
Hello Chandoo Sir
your file does not work with Excel 2016.
how can I try my hands on this powerful nest egg file ?
thanks
Ravi Santwani
@Ravi... this is a Power BI workbook. You need Power BI Desktop to view it. See the below tutorial to understand what Power BI is:
https://chandoo.org/wp/introduction-to-power-bi/
As always, superb article Chandoo... 🙂
Just one minor issue:
While following your steps and replicating this calculator in PowerBI, I found that the Growth Pct Parameters should be set as "Decimal number" not "Whole Number"
OR
we have to make corresponding adjustments in the Forecast formulas (i.e. divide by 100) to get accurate results.
You are right. I used whole number but modified the auto created harvester measure with /100 at end. Sorry I did not mention it in the tutorial.
Instead of
[Growth Pct 1 Value]/12
the monthly rate has to be
(1+[Growth Pct 1 Value])^(1/12)-1
It's a slight difference but in 30 years the future value will be $100k less.