Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tom Weyand
 
Posts: n/a
Default Convert real number to an h:mm:ss display

Let's say I have a real number, i.e. 123456.789, that is in seconds and I
want to display it as 34:17:37. I kinda got lost trying to use
TEXT(TIME(etc.)). Maybe there is a better way.

--


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Fred Smith
 
Posts: n/a
Default Convert real number to an h:mm:ss display

Excel stores times as fractions of a day. So change your seconds into days with:

=a1/86400

Format the result as [h]:mm:ss so that it will display more than 24 hours.

--
Regards,
Fred


"Tom Weyand" wrote in message
...
Let's say I have a real number, i.e. 123456.789, that is in seconds and I want
to display it as 34:17:37. I kinda got lost trying to use TEXT(TIME(etc.)).
Maybe there is a better way.

--




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tom Weyand
 
Posts: n/a
Default Convert real number to an h:mm:ss display

Worked just fine, thanks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display a number as Kilometers and k/hr & as Time Gonzo Excel Discussion (Misc queries) 6 November 25th 05 09:15 AM
how do I convert a number to number of years, months and days because Excel Worksheet Functions 2 October 12th 05 06:15 PM
convert dates to number of days milk0s Excel Worksheet Functions 2 September 28th 05 01:31 PM
how can I convert numeric number into text firas Excel Discussion (Misc queries) 1 September 21st 05 07:05 PM
How can I convert a date into a week number... msbutton27 Excel Worksheet Functions 7 May 25th 05 09:44 PM


All times are GMT +1. The time now is 05:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"