Max Date excluding weekends and holidays

Caveman1964

Board Regular
Joined
Dec 14, 2017
Messages
127
Office Version
  1. 2016
Platform
  1. Windows
I need a formula to give me the maximum date plus 3 days from Z7:AI7 and exclude holidays and weekends.
I have all my holidays listed in row 1...B1:OM1 (FOR FUTURE YEARS)
I do have the max date + 3 but cant get the networks days in there correctly. Can someone show my how to nest the networks days in here?
=IFERROR(MAX(Z7:AI7,DATEVALUECALCULATION5,)+3,"")

Any help would be much appreciated!
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
I think this is what you're after. The Dates column of my exemplar has dates from 12/20/2018 to 12/31/2019

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]
Book1
ABCDEF
1datesCalgary HolidaysCalgary Holiday Names
212/01/1812/25/18Christmas DayNet workdays272
312/02/1812/26/18Boxing Day
412/03/181/01/19New Year's Day
512/04/182/18/19Family Day
612/05/184/19/19Good Friday
712/06/184/22/19Easter Monday
812/07/185/20/19Victoria Day
912/08/187/01/19Canada Day
1012/09/188/05/19Heritage Day
1112/10/189/02/18Labour Day
1212/11/1810/14/19Thansksgiving Day
1312/12/1811/11/19Remembrance Day
1412/13/1812/25/19Christmas Day
1512/14/1812/26/19Boxing Day
39712/31/19
Sheet2
Cell Formulas
RangeFormula
F2=NETWORKDAYS.INTL(MIN(A2:A397),MAX(A2:A397)+3,1,B2:B15)
[/FONT]
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top