+ Reply to Thread
Results 1 to 6 of 6

NETWORKDAYS Excluding Partial Holiday

  1. #1
    Registered User
    Join Date
    09-06-2019
    Location
    Orlando
    MS-Off Ver
    O365
    Posts
    4

    Question NETWORKDAYS Excluding Partial Holiday

    Is there a way to use the NETWORKDAYS formula excluding a defined “holiday” that isn’t a full day...

    Use case: A custom holiday of three hours.

    Thanks!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: NETWORKDAYS Excluding Partial Holiday

    Hi and welcome to the forum,

    Not with just the NETWORKDAYS alone.

    The approach I'd adopt is to have cells alongside the holiday list of dates which are flagged as a short day in some way. Either with a number of hours or a flag of some sort.

    Then let the NETWORKDAYS() function return a value which excludes all the holiday dates, but then extend it by adding a COUNTIFS() function using three criteria. One that checks for a holiday date after or equal to the start dates the second checks for a hoiday date before or equal to the end date and the third that checks for the flag or number of hours.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    09-06-2019
    Location
    Orlando
    MS-Off Ver
    O365
    Posts
    4

    Re: NETWORKDAYS Excluding Partial Holiday

    Hi Richard,

    Thank you for your reply and welcome note! I am having a hard time envisioning how this would work. I have attached an example workbook with my current formula for NETWORKDAYS (cell H2). You will see this is based on a 8-5 business day. The holidays tab starting row 138 is where I would need to identify a 3 hour holiday on 8/29. Per the use case, my total time should be 3 hours less... See the attached. Thanks!

  4. #4
    Registered User
    Join Date
    09-06-2019
    Location
    Orlando
    MS-Off Ver
    O365
    Posts
    4

    Re: NETWORKDAYS Excluding Partial Holiday

    Not sure if the attached file worked... Trying another format.

  5. #5
    Registered User
    Join Date
    09-06-2019
    Location
    Orlando
    MS-Off Ver
    O365
    Posts
    4

    Re: NETWORKDAYS Excluding Partial Holiday

    Hi Richard,

    Any change you have reviewed the attached spreadsheet? Thanks!

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: NETWORKDAYS Excluding Partial Holiday

    Could you offer a few more worked examples with different permutations and set out the rules in a narrative form.
    I find the way Excel refers to Table fields and data extremely annoying since it just makes reading formulae very slow. I'd rather work from first principles rather than interpret and adjust what Excel comes up with.

    Manually add the results you expect so that I have something to compare with.

+ 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. Formula for SLA by excluding weekends (Fri & Sat) & Holiday
    By Ankit_Kumar in forum Excel General
    Replies: 3
    Last Post: 06-11-2015, 03:22 AM
  2. Formula for SLA by excluding non-business hours, weekends (Fri & Sat) & Holiday
    By dhiraj4mann in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-03-2015, 04:26 AM
  3. [SOLVED] Use NETWORKDAYS auto deduct holiday
    By jackson_hollon in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-17-2014, 05:47 PM
  4. Networkdays with holiday - start date falls on a holiday
    By skexcelforum in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-09-2014, 01:47 AM
  5. NETWORKDAYS IF date falls on a holiday, otherwise...
    By Thunderer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2014, 02:47 PM
  6. Difference in Days Excluding Saturday and Public Holiday
    By Kumara_faith in forum Excel General
    Replies: 19
    Last Post: 10-06-2010, 08:50 PM
  7. Using NETWORKDAYS to find holiday date clashes
    By Zyphon in forum Excel General
    Replies: 6
    Last Post: 02-01-2008, 04:31 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