+ Reply to Thread
Results 1 to 3 of 3

Calculate Difference between two Date/Time

  1. #1
    Registered User
    Join Date
    08-14-2009
    Location
    Kempton Park, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    8

    Question Calculate Difference between two Date/Time

    I am currently usins Excel 2007 and would like to calculate the diferrence in hours and minutes (ideally in decimal e.g 4:30 should be reflected as 4.5) between two date and time groups, excluding the non-working time between 17:00 and 09:00, weekends and holidays. An 8 hour working day is to be used.

    I have attached a spreadsheet were I tried to achieved the above with little success. Your assistance will be greatly appreciated.
    Attached Files Attached Files
    Last edited by Buks; 11-16-2009 at 03:13 AM. Reason: Added Excel version

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Calculate Difference between two Date/Time

    Using your file

    Please Login or Register  to view this content.
    assumes start/end will never fall on non-workday ... if they do you will need an alternative.

    the above formula is c/o daddylonglegs

  3. #3
    Registered User
    Join Date
    08-14-2009
    Location
    Kempton Park, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Calculate Difference between two Date/Time

    Hi DonkeyOte & daddylonglegs
    Thanks guys, your assistance is much appreciated - your solution solved my problem.
    Have a blessed day
    Buks

+ 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