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.


Hello Awesome...

My name is Chandoo. Thanks for dropping by. My mission is to make you awesome in Excel & your work. I live in Wellington, New Zealand. When I am not F9ing my formulas, I cycle, cook or play lego with my kids. Know more about me.

I hope you enjoyed this article. Visit Excel for Beginner or Advanced Excel pages to learn more or join my online video class to master Excel.

Thank you and see you around.

Related articles:

Written by Chandoo
Tags: , , , , , , , ,
Home: Chandoo.org Main Page
? Doubt: Ask an Excel Question

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

« »