psycoperl
Active Member
- Joined
- Oct 23, 2007
- Messages
- 339
- Office Version
- 365
- 2016
- Platform
- Windows
- MacOS
- Web
I would like to find the workday before a certain date.
Workdays are defined normally as Monday to Friday, but I would also like to account for holidays both standard and internal company holidays.
I have a list of dates in an excel sheet that are the internal company holidays.
For example December 25, 2024 is a Wednesday which is Christmas as we are closed. However due to Christmas Eve Dec 24 also being an internal holiday we are not open on that date either. So for December 25 the nearest workdate is December 23, 2024.
Another example is Feb 19, 2024 was Presidents Day (US) which was a Monday, so the nearest work day is Friday, Feb 16, 2024.
Workdays are defined normally as Monday to Friday, but I would also like to account for holidays both standard and internal company holidays.
I have a list of dates in an excel sheet that are the internal company holidays.
For example December 25, 2024 is a Wednesday which is Christmas as we are closed. However due to Christmas Eve Dec 24 also being an internal holiday we are not open on that date either. So for December 25 the nearest workdate is December 23, 2024.
Another example is Feb 19, 2024 was Presidents Day (US) which was a Monday, so the nearest work day is Friday, Feb 16, 2024.