+ Reply to Thread
Results 1 to 6 of 6

Convert 4-5 digit number to time HH:MM:SS

  1. #1
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    349

    Convert 4-5 digit number to time HH:MM:SS

    Hey there,

    I've got several workbooks I use for tracking both personal running times and times for a high school XC team and track and field team. For ease of speed of time entry I either a straigh 4 or 5 digit number in C:C and a formula in D:D to convert it to time. Example being 3215 = 32:15. The formula works great as long as the time entered in C:C in less than 6000. At 6000 and above the formula shows the time as 0:00 where it should show 01:00:00

    I've attached a small example workbook. Unformatted times in C:C. Converted times in D:D. Desired results shown in H:H

    Thanks
    Attached Files Attached Files
    Click here to read the Forum Rules
    Whatever it is in life you decide to go after, go after with great ferocity.

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Convert 4-5 digit number to time HH:MM:SS

    Put the following formula in G2 and drag down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Please click the * icon below if I have helped.

  3. #3
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Convert 4-5 digit number to time HH:MM:SS

    Just taking a second look, your formula works as well. as just need to change the format of the cells to: "HH:MM:SS"

  4. #4
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    Excel 2003,2007,2010,2013
    Posts
    1,914

    Re: Convert 4-5 digit number to time HH:MM:SS

    Hi scaffdog845

    Could you not use: =C2/6000/24 format cells as hh:mm:ss

  5. #5
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    349

    Re: Convert 4-5 digit number to time HH:MM:SS

    Sweet and easy. Thanks Melvinrobb!

  6. #6
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    349

    Re: Convert 4-5 digit number to time HH:MM:SS

    Thanks Kevin. Looks like that would work too. Always found working with stopwatch times a bit confusing. You would think that MS would incorporate them into Excel more seemlessly.

+ 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