Display Number of Seconds in ‘hh:mm:ss’ Format

March 19th, 2007

Let’s say you have an Excel file where you track some kind of process by the number of seconds it took to complete. Usually, it makes more sense to see the elapsed time in hh:mm:ss format. To do this, we divide the number in seconds by the number of seconds in a day (60 seconds/minute * 60 minutes/hour * 24 hours/day = 86,400 seconds/day). We then give the cell a custom format of “hh:mm:ss”. The reason behind the division is that time values in Excel are stored as fractions of a day. So if we were given a value in minutes, we need to divide it only by the number of minutes in a day which is 1,440 minutes.

FormatTime.jpg

Posted in Excel | No Comments




No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment



(C) by Virgilio Adriano. All rights reserved. Powered by WordPress.
Entries and comments feeds.
It took 0.386 seconds to load this page.