+ Reply to Thread
Results 1 to 4 of 4

Add days to a date, include weekends, exclude public holidays

Hybrid View

  1. #1
    Registered User
    Join Date
    09-21-2018
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    14

    Add days to a date, include weekends, exclude public holidays

    I am trying to come up with a way of calculating a series of dates based on one initial data input. I have come up with a few ideas, but seem to be missing the ideal solution!

    In essence I am trying to calculate a future date, which should land on the nearest 'business day', from an initial start date.

    For example.

    25 April 2019 + 5 days (including weekends, excluding public holidays) should = 30th May. The current solution i have is to use '=WORKDAY.INTL(D7,F7,1,$N$16:$O$23)-2' where d7 is the manually entered date, f7 if the number of days later and the table is a list of bank holidays with -2 to take account of the weekend omission by the formula. This however gives me an answer of the 5th of may as it counts 7 working days (7th May) and then removes 2 giving the answer of the 5th of May. If i do not use the WORKDAY.INTL formula, I dont seem to be able to 'omit' public holidays from the calculation.

    I hope that makes sense and am hoping someone much brighter than me might have a solution!

    Thanks!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Add days to a date, include weekends, exclude public holidays

    =workday.intl(d7, f7, "0000000", $n$16:$o$23)
    Entia non sunt multiplicanda sine necessitate

  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 2406
    Posts
    44,662

    Re: Add days to a date, include weekends, exclude public holidays

    or simply:

    =WORKDAY(D7,E7,J1:J7)

    Your expected answer is clearly incorrect 25 April = 5 wd is not 30th May
    Attached Files Attached Files
    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

  4. #4
    Registered User
    Join Date
    09-21-2018
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    14

    Re: Add days to a date, include weekends, exclude public holidays

    Perfect! Many 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. Replies: 4
    Last Post: 05-19-2014, 04:28 PM
  2. 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
  3. [SOLVED] Unique date calculation: INCLUDE weekends but EXCLUDE holidays?
    By NickiPT in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-22-2013, 01:28 PM
  4. [SOLVED] Calculate end date with a number of days WITHOUT Weekends / Holidays
    By gaia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-08-2012, 08:06 AM
  5. If statement to include working days, exclude holidays
    By rhudgins in forum Excel General
    Replies: 2
    Last Post: 05-27-2010, 09:46 PM
  6. Formula for adding days to a date excluding weekends and holidays?
    By Jake via OfficeKB.com in forum Excel General
    Replies: 2
    Last Post: 01-25-2006, 04:03 PM
  7. [SOLVED] Use networkdays INCLUDE weekends, Exclude holidays
    By ronnomad in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-16-2005, 01:00 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