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 “A quick personal update”
Thank you for the personal update. It was quite encouraging and a breath of fresh air in my Inbox. Take care and stay safe.
David
Doctors advise:
Virus obstructs lungs with thick mucus that solidifies.
Consume lot hot liquids like tea, soup, and sip of hot liquid every 20 min
Gargle w antiseptic of lemon, vinegar, & hot water daily
It attaches to hair/clothes detergent kills it, when come from st go straight shower
Hang dirty clothes in sunlight/cold overnight or wash immediately.
Wash metal surfaces as it can live on them 9 days
Do not touch hand rails
Do not smoke
Wash hands foaming 20 sec every 20 min
Eat fruit/veg and up zinc levels.
Animals do not spread it
Avoid common flu
Avoid eat/drink cold things
If feel sore throat do above immediate as virus is there 3-4 days before descends into lungs
Would love help with my database mgt in excel.
Thanks for being thoughtful of us.
BTW How do you track your expenses/income in excel? Can you share the worksheet please.
Stay safe you and your family, best wishes.
Thanks for the update and happy to know that you and family are doing good. A 21 day lockdown has now been announced in India (I live around Kolkata) so it's uncertain times ahead. I check up on your wonderful articles often and will do so even more regularly now. Stay safe and God bless.
Hi from Argentina, I follow you for a lot of years now. We here are in a quarantine for 2 or 3 weeks, because the pandemia.
Excel is also my passion and I came here looking for a Num2Words formula, but in spanish. If anyone have it, please let me know.
Best regards.
Pablo Molina
La Rioja - Argentina
I'm glad to have your personal update. I'm from India & following you for so many years. Cheers to have any further personal update.