Jo (wife) likes to watch Masterchef Australia (link), a cooking reality show every night. Even though I do not find contestant’s culinary combats comforting, occasionally I just sit and watch. You see, I like food.
The basic premise of the program is who cooks best in given time. To tell people how much time is left, they use a clock that looks like this:
The needle indicates how much time is left (much like a stop clock, with a small twist).
One day, while watching such intense battle, my mind went
- It be cool to make such a clock using hmm… Excel?
- Wouldn’t it be cool to grill a snapper & eat it than watch someone else do it
While I cannot share my snapper (or pretty much any other food item) with you, I can share my Masterchef style Excel clock with you. So behold,
Here comes the Masterchef style Clock in Excel
How is it cooked?
Don’t you worry. This recipe is not as complicated as a Masterchef recipe. With enough time & trigonometry, anyone can do it.
The clock (chart) has 2 parts. Dial & rotating hand.
While we can create both of them in one chart, I choose the path of least resistance i.e. Make one chart each for Dial & Hand and overlap them nicely.
Making the Dial
This is simpler than it looks. All we need is numbers 60 thru 5 (60,55,50…10,5) in a range & twelve 1s in another range. Then, we select both and make a radar chart. Once you adjust it, it should look like this:
Making the Rotating Hand
The hand is nothing but a line on a scatter plot with (0,0) as one point & (x,y) as another point. To calculate (x,y) we need to know how many degrees our hand should be rotated.
Hand of our clock starts at 60 and rotates clock-wise (duh!). That means if the time completed is 5, our clock’s hand should be 300 away from initial position.
Thus, x = sin(300), y = cos(300)
Same in Excel would be SIN(RADIANS(30)), COS(RADIANS(30))
For more on this calculation, refer to Spoke Chart Technique.
Running the clock (using VBA)
Our job is not done when the clock is assembled. We must give it batteries thru VBA.
The basic logic for running the clock is simple:
- When clock is running
- Check if it next second yet
- Move the hand (by modifying the value of done seconds)
- If not, just wait
You can see the code (and break it if you must) in the download file.
Download Excel Clock & Play with it
Click here to download this clock. Examine the macros assigned to the buttons. Play & Pause the clock.
Do you watch Masterchef?
Of course I am kidding. What I am really keen to know is do you make any clock / timer related things in Excel? I use timer features often to add animation, count-down features to my workbooks. They work really well.
What about you? Have you used such techniques? What is your experience? Please share using comments.
PS: If you must know, I prefer Amazing Race to Masterchef. I guess I get more pleasure watching people run around globe than run around in a kitchen.
More Charting Recipes
If you like a well cooked chart, we have got one too many in our pantry. Check out,
- Spoke chart in Excel
- Grammy bump chart
- Competitive Analysis Chart
- Polar Clock in Excel
- Data around the clock
Or consider joining my Excel School program to cook fine Excel workbooks & charts. Click here.
29 Responses to “You are invited [personal]”
Dear Sir,
This is to just Wish the kids a Happy birthday in Advance.May Almighty bless them all strength,Success
Dear Chandoo,
My best wishes to your child.I had become regular visitor of your site and finally today it made me to post a comment...
Best wishes from my end! Dont think it would be possible to personally come .. but my best wishes would always be there!! 🙂
Chandoo, thank you for the kind invitation. I wish a special birthday day for your daughters, Nishanth & Nakshatra. Will you be serving "dudh pakh"?
-bill
What a kind thought to invite us!
I pray your family will be continually blessed.
Thank you very much for the invitation, how I wish Philippines is just a Jeepney ride away from India. Best wishes for your baby girls and more blessings to come.
Hi Chandoo,
Thanks for the invitation ! You treat everyone that comes to your site as part of your family community. Me and my family wishes Nishanth & Nakshatra a very very happy birthday !!
Though physically we cant be with you to celebrate the occasion, you know our blessing are with you !
To be a father is not easy, furthermore you have to be a father to 2 kids !
Francis
Dad of 2 and 9 year old.
Hi Chandoo,
It was very kind of you to invite us all along to the 'Extravaganza'. Like others that have commented here I too, am to far (Australia) to pop over for a piece of cake 🙂 Best wishes to you and your family on such a milestone.
Emma
(soon to be mum of 1!!!)
Dear Chandoo
God bless Nishanth & Nakshatra. Wishing you and your family a very enjoyable first birthday party.
(Father of a 9 month baby... wondering how you manage 2 !!! )
God bless the little ones. Have a blast.
Hi Chandoo
Happy birthday !
Indeed children are a blessing and make our lives much more deeper.
Wow! I wonder how that would look; all those Excel users partying with your cute kids!
Enjoy the festivities and remember; they grow up really fast.
Dear Chandoo,
Thanks for your invitation!
Please accept my wishes for Nishanth & Nakshatra, and a very very happy birthday to both of them.
(Father of a 1 year old baby)
Hi Chandoo,
Thanks for the invitation. Wishing Nishanth and Nakshatra a very happy birthday and God bless all of you!
Howdy Chandoo,
Gosh, would love to attend the birthday party for your little blessings but I live in Dallas, TX. The children are beautiful. Thank you so much for the Excel information, tips, hints, special formulas, etc., you and your children are really a blessing. I look forward to your e-mails and check your web site frequently. Regards, Lynn
Chandoo Garu,
Your kids look adorable. Congratulations. My Aashirwaadam to both of them.
Regards,
Kalyan Verma
@all: Thank you every one for the wishes, blessings and prayers. We are very excited and busy with the birthday preps now. I will share a pic or two when its over... 🙂
Wish you and your entire family all the blessings. May god provide your babies with all the love and charm in the entire universe.
Like Emma I am rather far away (South Africa), but best wishes to you and your family on this special occasion.
(Mother of 7 and grandmother of 5)
Dear Chandoo,
May God Bless your little ones with Good Health... Happy birthday to them from me... Wish i could be there but work doesn't permit me to travel 🙁
And thanks again for treating all of us like your family
Rajatha
Sir.
God bless the two little angels with all the happiness in the world.....
Wishing Nishanth and Nakshatra a very happy first birthday. My youngest has just turned 18, and I wish you and your family every happiness in the exciting journey ahead.
Hi Chandoo,
I'm reading your blog for more than a year now, and i'm very pleased by this invitation.
I wish a very special Happy Birthday to the 2 little ones from Mauritius Island.
If, for any reason, you are coming on the island in the future, feel free to drop me a mail.
Have a nice party, and a nice year to come with Nishanth and Nakshatra.
Happy birthday!
Your babies are beautiful!
This year is not possible for us to attend. My family will be there for your next family party.
Enjoy the cake and dinner
May God Bless your little ones with Good Health… Happy birthday to them from me....I am also the father my little daughter named akanksha, she is 2.5 yrs old,,,,but i am unemployed 2 yrs ,,i know when u become a dad u r many hopes.
Guru
My belated wishes for your kids... I feel sorry for having missed them to wish to the right time.... May almighty shower all his blessings on your family.....
With regards
Chandoo,
Congratulations. Please give you children a big Happy Birthday (one day late) from me. Enjoy, they grow up very fast
Gene
@all.. thanks for the wishes and blessings. We had a fantastic weekend with all the relatives, friends. Kids loved the cake, enjoyed the beach and had fun playing with gifts. Here are some photos..
Chandoo & family - greetings from Ireland, hope you enjoyed the day!