+ Reply to Thread
Results 1 to 3 of 3

WORKDAY Function to Include Hours

  1. #1
    Registered User
    Join Date
    06-15-2016
    Location
    United States
    MS-Off Ver
    2010
    Posts
    5

    WORKDAY Function to Include Hours

    I want to use the WORKDAY function to include the hour in the date. I need to calculate whether or not exactly 72 hours have passed from Date 1 to Date 2, but weekends should be excluded. I can't seem to get the function to give me the date down to the hour, even when I format a custom date for both columns.

    Any help would be much appreciated!

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,308

    Re: WORKDAY Function to Include Hours

    Try

    =NETWORKDAYS.INTL(A1,B1,1)-1+(MOD(B1,1)-MOD(A1,1))

    Highlighted 1 excludes weekends

    Format cell as [h]:mm

    A1 is start date and time
    B1 is end date and time

    A1 : 29/07/2016 15:00

    B1: 03/08/2016 19:00

    Result is 76 hours

  3. #3
    Registered User
    Join Date
    06-15-2016
    Location
    United States
    MS-Off Ver
    2010
    Posts
    5

    Re: WORKDAY Function to Include Hours

    Thank you!

+ 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. Replies: 8
    Last Post: 01-31-2016, 10:14 AM
  2. [SOLVED] Include certain weekend in workday formula
    By szita2000 in forum Excel General
    Replies: 4
    Last Post: 12-16-2014, 03:02 PM
  3. Workday.INTL or Workday function issue
    By junoon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2013, 03:14 PM
  4. Adding Hours to a workday
    By joeinck in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-04-2012, 09:07 AM
  5. Need help with a # of workday hours until deadline formula
    By coleeth in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-28-2012, 11:24 AM
  6. Time log - how to not include nonbillable hours?
    By elainevdw in forum Excel General
    Replies: 3
    Last Post: 11-01-2006, 04:06 PM
  7. Count Workday include Saturday
    By TCLehmann in forum Excel General
    Replies: 1
    Last Post: 11-23-2005, 05:30 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