Celebrate 'The VLOOKUP Book' birthday with us. Get 50% discount on the e-book today & tomorrow (30 & 31 October only).

Click here for details

It is show time baby! – better designer clocks to display time in your spreadsheets

Posted on August 19th, 2008 in Charts and Graphs , ideas , Learn Excel - 1 comment

My polar clock using donut charts in excel started a conversation and readers have been awesome enough to download the excel and create their own clocks to show time. Even though the idea of this blog is share the little that I know with you, it is amazing how much I have learned from you all. It just emphasizes that what ever you give away will come back to you in better shape.

So here are few ideas the readers have shared with me through mail / comments.

animated-polar-clock-in-excel-donut-chart

The polar chart with animation effect

Reader darone commented that he created a macro to hit “f9″ repetitively thus creating the animation effect. My friend Jon took it a step further created the animation using some nifty VBA and shared the spreadsheet here. Download and play with it to learn how to run a function periodically using VBA. The key part of the code is:

Application.OnTime Now + TimeValue("0:0:1"), Me.CodeName & "." & "doThis"
The above line would tell MS-Office to run doThis after 1 second from NOW. If you include this line in the code of doThis() then every time it runs, it tells windows to relaunch the function after one second. Very neat and effective way to reduce processor overload that darone faced.

Also read Jon’s comments on the original polar clock post at time is on my side.

swiss-designer-chromachron-clock-excel-pie

Swiss designer Chromachron clock using Pie charts in Excel

Robert, another avid reader and an excel guru liked the polar clock idea and thought why not create the famous chromachron clock in excel. For those of you who are unfamiliar with it, chromachron is a clock that tells time on a color-time-circle.

On a chronometer time is shown by hands and numerals. Differently on Chromachron, the color-time-watch: Its face is not a dial but a color-time-circle, over which a black disk revolves with a piece cut out as large as a color segment. The disk revolves with the speed of one color area per hour. The disk cut-out indicates the time.

[read more]

So Robert took 2 pie charts, one with 12 colors to get the background. Another with 2 colors one black and another transparent to get the rotating disc effect. So when the time 12:00, you can see yellow portion alone, as you move towards 1:00 you will see more orange color. Download and play with Robert’s sheet.

Both these files have VBA on them so you may want to enable it to get the desired results, but they are safe so go crazy :D

After seeing this two fine examples I had to do one more clock. This time I choose the grid based clock and did it in an excel grid using conditional formatting to fill cells. How did I do it, well that is your home work. Go figure…

grid-clock-using-conditional-formatting

Need more clock ideas? Try the procrastinator’s clock or some other idea featured on the 10 creative ways to show time

More on Clocks: Give your time series data a twist, plot around clock

More on Visualization fun: Tag clouds in excel using VBA, Square Pies in Excel, not everything is round, Olympic Medals on a map

Your email address is safe with us. Our policies

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

One Response to “It is show time baby! – better designer clocks to display time in your spreadsheets”

  1. Robert says:

    Chandoo: Thanks for posting the idea. And thanks for the compliment.

    A small correction to your text: In the chromachron version you posted for download, there is no vba included. That is why – unlike Jon’s version of the donut clock – it does not update automatically (only manually by pressing F9).

    But you could easily insert Jon’s code into the chromachron sheet. All you have to do is changing the cell reference (F4 instead of D3). Furthermore: since it is a clock that does not show seconds, it is probably more than sufficient to update it every minute (or even every 5 minutes?). Your call.

Leave a Reply