+ Reply to Thread
Results 1 to 4 of 4

Coverting seconds into hr:min:sec

Hybrid View

  1. #1
    jsturino
    Guest

    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. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,706
    divide by 86400 then format as h:mm:ss

  3. #3
    Gary''s Student
    Guest

    RE: 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. #4
    Scott
    Guest

    RE: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1