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 !
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 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!