+ Reply to Thread
Results 1 to 5 of 5

excel 2013 time range formula

  1. #1
    Forum Contributor
    Join Date
    06-08-2012
    Location
    Panama City, FL
    MS-Off Ver
    Excel 2016
    Posts
    175

    excel 2013 time range formula

    Hello Excel friends,

    I'm having trouble creating a formula to determine hours:minutes between two dates/times with different days.

    *determine hours and minutes between "1/1/15 00:40" and "1/2/15 15:44"

    It should be 39:04 but I only get 15:04 by subtracting larger from smaller.

    Thanks in advance!

  2. #2
    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
    52,938

    Re: excel 2013 time range formula

    You probably just need to format it correctly

    39:04 - 24 (hrs) = 15:04
    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

  3. #3
    Forum Contributor
    Join Date
    06-08-2012
    Location
    Panama City, FL
    MS-Off Ver
    Excel 2016
    Posts
    175

    Re: excel 2013 time range formula

    Thanks for the response. I think I was not too clear maybe.
    If A1="1/1/15 00:40" and B1="1/2/15 15:44" I need to know the difference between those dates/times.
    If is calculate
    Please Login or Register  to view this content.
    or
    Please Login or Register  to view this content.
    I just get 15:40.
    I need the formula to see the datedif and add that extra 24 hours.
    Thanks

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: excel 2013 time range formula

    You need to format the cell custom number [h]:mm
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    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
    52,938

    Re: excel 2013 time range formula

    Happy to help and thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need formula for accrued vacation time for Excel 2013
    By Landa99 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-03-2023, 04:19 PM
  2. Excel Formula to Calculate Time Span Between Different Time Range.
    By omershafiq2012 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-06-2015, 08:28 AM
  3. [SOLVED] Time format please - excel 2013
    By kevinjay1 in forum Excel General
    Replies: 4
    Last Post: 02-24-2015, 01:58 PM
  4. Replies: 3
    Last Post: 09-12-2013, 06:23 PM
  5. VBA Run-time error '91' In Excel 2013
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 09-12-2013, 09:28 AM
  6. Excel 2013 not Working on Windows 8 (Date & Time)
    By edison in forum Excel General
    Replies: 11
    Last Post: 06-23-2013, 09:59 AM
  7. [SOLVED] Date and Time issues in Excel 2013
    By sjsmith in forum Excel General
    Replies: 1
    Last Post: 01-15-2013, 03:28 PM

Tags for this Thread

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