Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
jsturino
 
Posts: n/a
Default Coverting seconds into hr:min:sec

I woul like to find out how to convert seconds into hr:min:sec. For an
example I would like to take 3661 seconds and convert it into 1hr 1 min 1 sec.
  #2   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default Coverting seconds into hr:min:sec


divide by 86400 then format as h:mm:ss


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=525948

  #3   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Coverting seconds into hr:min:sec

If A1 contains 3661 and B1 contains:
=A1/24/60/60 will display as: 0.042372685
if formatted as hh:mm:ss will display as: 01:01:01


--
Gary's Student


"jsturino" wrote:

I woul like to find out how to convert seconds into hr:min:sec. For an
example I would like to take 3661 seconds and convert it into 1hr 1 min 1 sec.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Scott
 
Posts: n/a
Default Coverting seconds into hr:min:sec

Or, if you absolutely have to have the "hr", "min", "sec" text in the
results, you could use this formula....it is a bit long but works.
=INT(A1/3600)&"hr "&INT(((A1/3600)-INT(A1/3600))*60)&"min
"&ROUND(((((A1/3600)-INT(A1/3600))*60)-INT((((A1/3600)-INT(A1/3600))*60)))*60,2)&"sec"
Where A1 holds the number you wish to convert

"jsturino" wrote:

I woul like to find out how to convert seconds into hr:min:sec. For an
example I would like to take 3661 seconds and convert it into 1hr 1 min 1 sec.

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
Converting Julian Seconds with a macro to replace old seconds data Keldair Excel Discussion (Misc queries) 2 February 18th 06 12:09 AM
How do I sum increments of minutes and seconds SandyMichalski Excel Worksheet Functions 5 February 2nd 06 03:02 PM
Create a custom format to convert seconds to minutes. XOXO Excel Discussion (Misc queries) 3 April 12th 05 11:34 PM
How do I convert 00:03:54 to get 234 seconds? SteverinoNeedsHelp Excel Worksheet Functions 2 March 26th 05 07:17 PM
convert seconds to minutes and seconds Brian Excel Worksheet Functions 2 December 9th 04 09:45 PM


All times are GMT +1. The time now is 04:49 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"