+ Reply to Thread
Results 1 to 8 of 8

please help with Time interval

Hybrid View

  1. #1
    Registered User
    Join Date
    11-23-2011
    Location
    Idaho
    MS-Off Ver
    2019 - 2021
    Posts
    13

    please help with Time interval

    I have an excel sheet that i need to take 2 columns that have 2 different decimal numbers and convert them to Time HH:MM:SS then have a column display the output of subtraciton of both of the difference. I attached a screen shot.
    Attached Images Attached Images

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: please help with Time interval

    Try

    =TEXT(F2,"00\:00\:00")-TEXT(E2,"00\:00\:00")

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: please help with Time interval

    welcome to the forum

    Hopefully, Jon's suggestion works for you

    if not, please do not upload a picture of your file...rather, upload a sample of your workbook, showing what data you are working with, a few samples of your expected outcome is (manually entered is ok) and how you arrived at that. (exclude sensitive info)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    11-23-2011
    Location
    Idaho
    MS-Off Ver
    2019 - 2021
    Posts
    13

    Re: please help with Time interval

    thanks jonmo 1 i dont think that worked or i didnt do it correctly. I put the formula in G2 cell =TEXT(F2,"00\:00\:00")-TEXT(E2,"00\:00\:00") see the result in another .jpg i need it to post the diffrence in seconds or in a time format that is more legible.

    Thanks

    thanks FDibbins, I realize that posting sensitive data should never be posted. thank you
    Attached Images Attached Images

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: please help with Time interval

    You just need to format the formula cells as h:mm:ss.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: please help with Time interval

    format the cell with the formula as a TIME instead of NUMBER

  7. #7
    Registered User
    Join Date
    11-23-2011
    Location
    Idaho
    MS-Off Ver
    2019 - 2021
    Posts
    13

    Re: please help with Time interval

    Thank you Guys!!!

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: please help with Time interval

    You're welcome.

+ 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