+ Reply to Thread
Results 1 to 3 of 3

Return difference in days, hours, minutes between two date and time ranges.

  1. #1
    Registered User
    Join Date
    08-02-2013
    Location
    sacramento, california
    MS-Off Ver
    Excel 2010
    Posts
    1

    Return difference in days, hours, minutes between two date and time ranges.

    I have a series of date and time ranges that I need to show the differnence in Days, hours and minutes.

    Example:

    5/29/2013 9:37:36 PM / 6/3/2013 11:15:56 PM

    I would like to see the difference in days, hours/ minutes. Excluding weekends.

    Anyone know a good formula for this?

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Return difference in days, hours, minutes between two date and time ranges.

    =networkdays

    http://lmgtfy.com/?q=excel+formula+t...+business+days

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Return difference in days, hours, minutes between two date and time ranges.

    Hello craig, welcome to Excel Forum

    If your dates are always weekdays then with start date/time in A2 and end date/time in B2 try this formula in C2

    =NETWORKDAYS(A2,B2)-1-(MOD(B2,1)<MOD(A2,1))&" days "&TEXT(B2-A2,"h:mm")

    for your example that will give the result

    3 days 1:38
    Audere est facere

+ 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. [SOLVED] Adding time - days, hours, minutes
    By kryptix in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-19-2013, 07:33 AM
  2. Replies: 1
    Last Post: 09-13-2012, 05:50 AM
  3. Replies: 0
    Last Post: 09-13-2012, 05:28 AM
  4. Replies: 1
    Last Post: 11-02-2011, 06:50 PM
  5. Replies: 1
    Last Post: 11-02-2011, 06:44 PM

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