Holiday exclusion in a Workday formula
I am trying to write a formula using the workday function that excludes certain holiday. is there a way to have it know the holiday(s) without putting in the actual date? Otherwise, every year I will have to update the formula with each holiday's new date. Here is an example of what I am currently using:
=WORKDAY([Requested End Date]@row, 1, DATE(2025, 1, 1), DATE(2025, 7, 4), DATE(2025, 5, 26), DATE(2025, 9, 1), DATE(2025, 11, 27), DATE(2025, 12, 25))
Best Answer
-
Hi @Candace J
Defining working days, non-working days and holidays on a sheet or account level is a standard way to account for holidays, etc. (I find the method proposed by @dojones insightful, especially the way range is used.)
I set the non-working Days in the Project Settings in the demo sheet below. That way, the WORKDAY function or End Date, based on Start Date and Duration, considers non-working days or holidays without specifying them. (As I tested, the WORKDAY function works even if I turn off the dependency.)
Answers
-
Create a Holiday Sheet. Enter all of the Holidays in a Holiday column. Then change formula to:
=WORKDAY([Requested End Date]@row, 1, {Holidays Range 1})
Where Holidays Range 1 is referencing the column where holidays are listed in the Holiday sheet. You still have to enter the Holidays in a sheet, but it is easier than changing a formula.
-
Hi @Candace J
Defining working days, non-working days and holidays on a sheet or account level is a standard way to account for holidays, etc. (I find the method proposed by @dojones insightful, especially the way range is used.)
I set the non-working Days in the Project Settings in the demo sheet below. That way, the WORKDAY function or End Date, based on Start Date and Duration, considers non-working days or holidays without specifying them. (As I tested, the WORKDAY function works even if I turn off the dependency.)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!