Search

# Happy Diwali for all our readers – Animated Flower Pot Cracker in Excel for you…

Share

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:

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.

### 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.

### Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

### 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.

Read my storyFREE Excel tips book

Excel School made me great at work.
5/5

– Brenda

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

### Sales Analysis Dashboards with Power BI – 30+ Alternatives

Do you need inspiration for your upcoming Power BI sales dashboard? Well, I got you covered. In this page, let me present 33 alternatives for Sales Analytics Dashboards with Power BI.

## Related Tips

Excel Howtos

### Get all BOLD text out Excel Cells Automatically

Charts and Graphs

### Make an Impressive Interactive Map Chart in Excel

Charts and Graphs

### How to Create a Dynamic Excel Dashboard in Just 5 Steps

Charts and Graphs

### How to create a fully interactive Project Dashboard with Excel – Tutorial

Charts and Graphs

### 9 Box grid for talent mapping – HR for Excel – Template & Explanation

Charts and Graphs

### 6 Responses to “Happy Diwali for all our readers – Animated Flower Pot Cracker in Excel for you…”

1. ervit says:

This won't beat the flight simulator in Excel 97, but is still fun 🙂

2. Khalid NGO says:

Hi Chandoo,
Amazing, this is really cool.

Happy festival to you and family.

Regards,

Khalid

3. indzara says:

Creative! Happy Diwali to you and your family. Best wishes.

4. Krishna says:

Happy diwali chandoo and all readers

Thanks for this creative tutorial..Amazing and Happy Diwali

6. Kirstin says:

Thank you so much!
Happy Diwali

### Get FREE Excel & Power-BI Newsletter

One email per week with Excel and Power BI goodness. Join 100,000+ others and get it free.