Formatting hours
Posted by Theo Heselmans on March 15th, 2008
What happens in Excel when you add 2 time formatted cells:
Great, just what we wanted.
Now increase the hours in B1:
Oops. Not what we had in mind.
You can format C1 as 'd h:mm', but this will show as '1 2:15' (1 day and 2:15 hours).
But here's the nice thing, format it as [h]:mm and you get this:
I've used it before, many years ago. It's in the help somewhere, but hard to find.
Now you can add hours/minutes, and have it correctly displayed.
Category: Microsoft Excel | Technorati: Microsoft, Excel
Comments (1)
Just tested the same in OpenOffice 2.3.1, there the [HH]:MM formatting works too.