Closed Thread
Results 1 to 5 of 5

Excel 2007 : Calculating diference between two times

  1. #1
    Registered User
    Join Date
    12-29-2009
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Calculating diference between two times

    I am trying to calculate the difference between two times and get a number as the answer.
    Example: Start time 9:00am Finish time 3:30pm total time 6.5
    I have been able to get the answer as 6:30 reading as a time, but I need to somehow get the minutes to devide by 60 to get the number that I require for another worksheet.
    Any Ideas?

    Thank you

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,719

    Re: Calculating diference between two times

    You need to multiply by 24 to get hours as a decimal e.g. with start time in A2 and end time in B2

    =(B2-A2)*24

    format result cell as a number

  3. #3
    Registered User
    Join Date
    12-29-2009
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Calculating diference between two times

    Thank you, the solution worked

  4. #4
    Registered User
    Join Date
    05-27-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Calculating diference between two times

    hi this did not work for as i was getting negative decimals. my question is similar as im trying to calculate the difference between 2 times with the required answer in minutes. eg the time difference in minutes for start time 23:56 ; off time 01:10
    please help

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Calculating diference between two times

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.

Closed 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