+ Reply to Thread
Results 1 to 9 of 9

Working days and exclude bank holidays

  1. #1
    Registered User
    Join Date
    06-24-2015
    Location
    Manchester
    MS-Off Ver
    2010
    Posts
    76

    Working days and exclude bank holidays

    Hello, I have a list of Bank holidays in a tab called Bank Holidays in Column A.

    In another tab I have the following formula that looks at a date and calculates the working days however I also need this formula to exclude the list of Bank Holidays.

    =IF(O2="","",NETWORKDAYS(O2,(TODAY())))

    The formula currently looks at column O, if theres no date then it retuns blank, if theres a date it calculates the working days. I know you can usually add a 3rd arguement to exclude this but I cant work out where it sits in the formula.

    ALSO

    I have another formula on another sheet =IF(D2="","",D2+7) that needs to look at the same Bank Holiday list and exclude them from the result.


    Can you advise what the correct formula is to exclude the dates?

    Thanks in Advance.

    Nath'
    Last edited by K-Linerz; 01-03-2018 at 06:02 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Working days and exclude bank holidays

    Like this:

    =IF(O2="","",NETWORKDAYS(O2,TODAY(),range_with_dates))

    where range_with_dates is the range containing the bank holiday dates (e.g. $A$1:$A$5).
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Working days and exclude bank holidays

    =IF(O2="","",NETWORKDAYS(O2,TODAY(),range))

    where range is the range of your list of holidays
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Working days and exclude bank holidays

    Snap, Glenn!

    Top o' the mornin' to ya!!!

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Working days and exclude bank holidays

    It's sunny here.... Cold, but sunny!! Woo Hoo..

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Working days and exclude bank holidays

    It's sunny here ... Windy, but sunny! Hehehe ...

  7. #7
    Registered User
    Join Date
    06-24-2015
    Location
    Manchester
    MS-Off Ver
    2010
    Posts
    76

    Re: Working days and exclude bank holidays

    Thanks guys. That one worked.

    Also can you advise for a similar result.

    I need a formula to look at column E, if theres a date then to add 7 working days but also need it to exclude Bank Holidays on the list.

    Ive currently got =IF(E2="","",E2+7)

    Thanks again

    Nath'

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Working days and exclude bank holidays

    =IF(E2="","",WORKDAY(E2,7,range)) again, where range = list of hols...

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Working days and exclude bank holidays

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Count 6 working days (excluding Sunday, Holidays & half days)
    By eve_star1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-29-2015, 08:00 AM
  2. calculate the working days and Holidays
    By sriku in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-13-2014, 02:03 PM
  3. Count Working days by subtracting bank holidays and weekends
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-08-2014, 07:40 AM
  4. counting difference in days but need to exclude holidays and weekends.
    By SnowBrian in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-21-2014, 03:26 PM
  5. Counting business days in excel excluding bank holidays
    By SuperHoops in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-08-2013, 04:52 PM
  6. [SOLVED] Dates, Bank Holidays and a Working Week
    By jennyaccord in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2012, 04:43 AM
  7. If statement to include working days, exclude holidays
    By rhudgins in forum Excel General
    Replies: 2
    Last Post: 05-27-2010, 09:46 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