Close this search box.

Happy Diwali [Animated Chart inside]



My heartiest Diwali wishes to  all our readers.

The spirit of Diwali is to encourage people to spread joy, celebrate good things and discard darkness (evil). These ideas are universal. So let me wish you a very happy Diwali.

Diwali, festival of lights, is celebrated in the month of October / November. It is one of my favorite festivals since childhood. A time when all family members get together, celebrate all the good in their life, laugh and light a few fire crackers (fire works).

This year, our kids (Nishanth & Nakshatra) too are excited about the festival. They are eager to light diyas (small lamps), watch the fire works and enjoy. Naturally I do not feel like opening Excel.

But then…,

Sometime during my morning coffee, I thought “hey, why not create a small Diwali greeting using Excel?

So here we go.

Happy Diwali Animated Chart

See the chart demo here:

Happy Diwali Animated Chart in Excel - Demo

How does it work?

Well, that is for you to figure out. I am too lazy to lift the full veil for you. But here are some clues:

  • The greeting is just a bubble chart
  • Few bubbles are for the tinkling stars
  • Few more for the diyas
  • Background VBA just modifies the bubble size thru a simple scaling factor
  • For more, see this: Animated Hurricane Sandy Chart

Download and play with this

Click here to download the animated Diwali greeting & play with it. Examine the code & formulas to understand how this is created.

Do you like this Chart?

Do you like this chart? Area you able to figure out how this is made? Please share your ideas & suggestions using comments.

If you are feeling adventurous, create your own animation (using Excel of courses) and share it with us all 🙂

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.

Please Click here to know more & join us.


Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

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.

– Brenda

Excel formula list - 100+ examples and howto guide for you

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.

Advanced Pivot Table tricks

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.

Announcing Power BI Dashboard Contest 2024

Announcing Power BI Dashboard Contest (win $500 prizes!)

Hey there, I have a SUPER exciting announcement! April is about to get a whole lot sweeter with our Power BI Dashboard Contest! Your mission, should you choose to accept it: Craft the most EPIC dashboard for the Awesome Chocolates CEO with sales & financial insights! Winners stand a chance to score up to $500 in Amazon Gift Cards, plus some serious bragging rights!

8 Responses to “Happy Diwali [Animated Chart inside]”

  1. Bhavik says:

    Very nice mate. Happy New Year!

  2. It's the 14th already in Australia, so the first day was yesterday, but this morning we've just had a total eclipse of the sun.  It was interesting reading your explanation of Diwali and then seeing that happen!

    Happy Diwali back to you and your family... 

  3. ScottyG says:

    Many Happy Diwali returns to you...
    You are truly an excel Guru.... 

  4. Luke M says:

    I like it! Nice idea of having the stars twinkle by 2 series.

  5. Yasmeen says:

    i don't understand please share can anyone share the idea about this article
    Thanks !!

  6. amita says:

    please explain me or upload a video to explain the macro. Also please guide me how to start learning macros.

  7. Dedi says:

    Dear Amita,

    Here is the script,

    Sub animateStars() 'start a sub to animate the stars
    [isPlaying] = Not [isPlaying] ' identify the action
    Dim direction As Integer 'set a variabel it called direction, you may create another variabel such 'x' or ' y ' etc.
    direction = 1 'create the constanta of the direction
    Do While [isPlaying] ' begin looping playing here untill the other statement met their task
    [valZoom] = [valZoom] + direction 'valzoom is stated for the lowest value of its zoom, here programmer re turn to zero
    If [valZoom] = [maxScale] Or [valZoom] = 0 Then direction = direction * -1 'here how the zoom works, when the value zoom return to maxscale, or valzoom, the value will return to direction
    DoEvents 'do task
    Loop 'statement to loop
    End Sub


  8. Vijay says:

    What is password for un-protect sheet?

Leave a Reply