+ Reply to Thread
Results 1 to 5 of 5

Workday Formulas

  1. #1
    Registered User
    Join Date
    04-09-2011
    Location
    Pontefract
    MS-Off Ver
    Office 2019
    Posts
    61

    Workday Formulas

    Hi there,
    I am working on a gantt and I am struggling just to count the work days, In the attached I only need to return 20 days not 29?
    Any ideas?
    Regards
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Workday Formulas

    Use NETWORKDAYS.INTL to count the number of workdays instead of subtracting the start date from the end date.

    The format is NETWORKDAYS.INTL(start_date,end_date,[weekend],[holidays])

    For [weekend] you probably want to use 1 which counts saturday and sunday as weekends

    For [holidays] you should have a range somewhere which contains the holiday dates.

  3. #3
    Registered User
    Join Date
    04-09-2011
    Location
    Pontefract
    MS-Off Ver
    Office 2019
    Posts
    61
    Quote Originally Posted by nick.williams View Post
    Use NETWORKDAYS.INTL to count the number of workdays instead of subtracting the start date from the end date.

    The format is NETWORKDAYS.INTL(start_date,end_date,[weekend],[holidays])

    For [weekend] you probably want to use 1 which counts saturday and sunday as weekends

    For [holidays] you should have a range somewhere which contains the holiday dates.
    Hi there

    Thanks for the quick response, having trouble with my colour coded if I select another colour, it returns false not 0

  4. #4
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Workday Formulas

    Try this in J15:

    =IF(ISBLANK($E15),0,IF($F15=J$14,NETWORKDAYS.INTL($D15,$E15,1,DATE(2022,1,3)),0))

    Copied to other cells should work fine?

    NB you will want to change DATE(2022,1,3) to a range of cells with your holiday dates in.

  5. #5
    Registered User
    Join Date
    04-09-2011
    Location
    Pontefract
    MS-Off Ver
    Office 2019
    Posts
    61
    Prefect thank you and enjoy your weekend

+ 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. Workday with Nested Formulas
    By SusWonder in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-16-2020, 04:19 AM
  2. [SOLVED] IF WORKDAY Formula - where to add WORKDAY?
    By McCaughley7 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-30-2019, 12:56 PM
  3. Need help with NETWORKDAYS / WORKDAY formulas
    By milleniummanp7 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-24-2015, 11:52 AM
  4. Trying to get cells to Auto populate values using Data from another worksheet.
    By McCaughley7 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-30-2015, 04:13 PM
  5. [SOLVED] WORKDAY function & array formulas { }
    By hhost in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-14-2013, 08:14 AM
  6. Workday.INTL or Workday function issue
    By junoon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2013, 03:14 PM
  7. Workday Help
    By mhart210 in forum Excel General
    Replies: 3
    Last Post: 07-10-2006, 10:20 AM

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