+ Reply to Thread
Results 1 to 13 of 13

Working days calculation with Time stamp

  1. #1
    Registered User
    Join Date
    06-18-2015
    Location
    Chennai - India
    MS-Off Ver
    2013
    Posts
    4

    Working days calculation with Time stamp

    HI All,

    I need assistance on calculating working days between two dates with time excluding saturday, sunday, India & US holidays.

    Working hours - 8
    Start date - 5/23/2015
    End date - 5/24/2015
    Result -

    Holidays
    5/23/2015
    5/24/2015
    5/25/2015
    6/6/2015

    We have scenarios like Start date & End date are dynamic which also contains holidays where working days should be accurate.

    Any help here would be great!!!!

    Thanks in advance for assistance..

  2. #2
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: Working days calculation with Time stamp

    =NETWORKDAYS.INTL(A1,A2,1)


    Regards
    Shareez

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Working days calculation with Time stamp

    Hi,

    See the attached file.

    Please Login or Register  to view this content.
    This will give you the working days between two dates excluding weekends and list of holidays. This cannot be used to calculate the time difference (TAT).
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-18-2015
    Location
    Chennai - India
    MS-Off Ver
    2013
    Posts
    4

    Re: Working days calculation with Time stamp

    Hi,

    I have used this formula =NETWORKDAYS.INTL(A6,B6,1,$E$2:$E$6). But i need time in with output.
    For eg
    Start Date - 5/23/2015 10:10

    End date - 5/28/2015 12:00

    Result should be 2.5

    Holidays
    5/23/2015
    5/24/2015
    5/25/2015
    6/6/2015

    Kindly assist on with suitable function.

  5. #5
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Working days calculation with Time stamp

    Hi,

    See the attached file.

    This formula will exclude holidays & weekends and calculate the time difference between a given interval.

    Please Login or Register  to view this content.

    If you want the TAT to be in hh:mm:ss , just change the cell formatting to [hh]:mm:ss

    2.5 will be displayed as 60:00:00
    Attached Files Attached Files
    Last edited by cbatrody; 06-18-2015 at 05:27 AM.

  6. #6
    Registered User
    Join Date
    06-18-2015
    Location
    Chennai - India
    MS-Off Ver
    2013
    Posts
    4

    Re: Working days calculation with Time stamp

    Hi,

    But i'm getting negative value between dates 23/May/2015 10:10 & 28/May/2015 12:00.
    How to make negative output to zero by including in the same formula.

    Thanks.

  7. #7
    Registered User
    Join Date
    06-18-2015
    Location
    Chennai - India
    MS-Off Ver
    2013
    Posts
    4

    Re: Working days calculation with Time stamp

    sorry date is between 12/21/2014 18:05 12/22/2014 0:25

  8. #8
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Working days calculation with Time stamp

    Hi,

    See the updated file attached!


    Please Login or Register  to view this content.

  9. #9
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Working days calculation with Time stamp

    Maybe:

    =NETWORKDAYS(A2,B2,$I$2:$I$5)+NETWORKDAYS(B2,B2,$I$2:$I$5)*(MOD(B2,1)-1)-NETWORKDAYS(A2,A2,$I$2:$I$5)*MOD(A2,1)

    and formatted as decimals 2 digit

  10. #10
    Registered User
    Join Date
    11-20-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Working days calculation with Time stamp

    can you please help me to calculate working days and hours excluding weekends. here with attached the file.
    Attached Files Attached Files

  11. #11
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Working days calculation with Time stamp

    Hi thisara , you should start on your own thread

    thank you

  12. #12
    Registered User
    Join Date
    11-20-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Working days calculation with Time stamp

    Thank you azumi. I have started a new thread.
    http://www.excelforum.com/excel-form...date-time.html

    Quote Originally Posted by azumi View Post
    Hi thisara , you should start on your own thread

    thank you

  13. #13
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Working days calculation with Time stamp

    @karthik premkumar,

    Use azumi's formula from post#9, this seems to work perfectly!

    =NETWORKDAYS(A2,B2,$I$2:$I$5)+NETWORKDAYS(B2,B2,$I$2:$I$5)*(MOD(B2,1)-1)-NETWORKDAYS(A2,A2,$I$2:$I$5)*MOD(A2,1)

+ 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] Calculation of days between days and time
    By theprincesunil in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-27-2014, 03:09 PM
  2. Date & Time Stamp Output...Not Working
    By Maskedman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-13-2013, 09:43 PM
  3. Working days and hours calculation - request assistance please!
    By sbickley in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2006, 02:45 PM
  4. Dates calculation using working days
    By Javier in forum Excel General
    Replies: 2
    Last Post: 07-20-2006, 10:40 AM
  5. [SOLVED] Time/Date Stamp: 'control+' not working for me...
    By babs in forum Excel General
    Replies: 8
    Last Post: 03-08-2006, 07:45 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