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.

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 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.
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 😀
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…

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














11 Responses to “Use Alt+Enter to get multiple lines in a cell [spreadcheats]”
@Chandoo:
One more useful trick.......
In a column you have no. of data in rows and need to copy in the next row from the previous row, no need to go for the previous rows but entering Alt + down arrow, you will get the list of data, (in asending order), entered in the previous rows...
This is another great tip. I use this all the time to make sense of some *very* long formulas. As soon as the formula is debugged I remove the break.
Great tip Chandoo!
I use this feature often and it has even gotten the, "how did you do that" response.
Thanks!
@Ketan: Alt+down arrow is an awesome tip. I never knew it and now I am using it everyday.
@Jorge, Tony: Agree... 🙂
[...] Day 1: Insert Line Breaks in a Cell [...]
how can we merge a two sheet.
excellent idea. Chandoo you are genious
Hi chandoo,
I have used ctrl+enter to break the cell. But I did not get the result.
Please tell me how can i break the cell in multiple lines.
Hi, Ranveer,
Its not Ctrl+enter to break the cell, use Alt+Enter to make it happen.
hi Chandoo....
how we can use Alt+Enter in multiple rows at the same time please reply hurry i have lot of work and have no time and i m stuck in this. 🙁
Alt+J worked once 🙁
So I found another more reliable way:
=SUBSTITUTE(A2,CHAR(13),"")
Where A2 is the cell that contains the line breaks which the code for it is CHAR(13). It will replace it with whatever inside the ""