Date Formula that ignores holidays, applies workday and returns rows for yesterday

I am working on a dashboard report that returns records for "yesterday" but "yesterday should ignore Saturdays, Sundays and Holidays. I was able to construct a formula (using a helper column) that looks at the audit date and returns a "1" if the audit date is one day in the past and ignores Saturdays and Sundays (=IF([Audit Date]@row = WORKDAY(TODAY(),-1), 1,0). I am struggling to add the condition to include Holidays. Any assistance would be appreciated.
Best Answer
-
Try creating a separate sheet that has a date type column and all holiday dates going down this column. Then use a cross sheet reference to incorporate this in the third portion of the WORKDAY function.
WORKDAY(TODAY(), -1, {Reference Sheet Date Column})
Answers
-
I have not succesfully resolved this issue, I am hoping that by adding a comment it will generate some discussion.
-
Try creating a separate sheet that has a date type column and all holiday dates going down this column. Then use a cross sheet reference to incorporate this in the third portion of the WORKDAY function.
WORKDAY(TODAY(), -1, {Reference Sheet Date Column})
-
@Paul Newcome - Worked perfectly .. thank you !
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 207 Use Cases
- 517 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 83 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!