IIII
New Member
- Joined
- Jan 26, 2021
- Messages
- 18
- Office Version
- 365
- Platform
- Windows
- Mobile
- Web
Hi All,
I currently have a function that identifies which dates between two dates are Saturdays. What I also need to know though, is how to work out if any of those Saturdays appear in a list of specified dates e.g. Leave//Holidays list of dates.
So the below example shows what I'm trying to get -- if any Saturdays between the two dates appear on the Leave//Holiday list, they are not counted as Saturdays as they are counted in the Leave//Holiday column instead.
I hope this makes sense.
If further clarification is required, please let me know.
Cheers.
I currently have a function that identifies which dates between two dates are Saturdays. What I also need to know though, is how to work out if any of those Saturdays appear in a list of specified dates e.g. Leave//Holidays list of dates.
So the below example shows what I'm trying to get -- if any Saturdays between the two dates appear on the Leave//Holiday list, they are not counted as Saturdays as they are counted in the Leave//Holiday column instead.
Start Date | End Date | # of Saturdays | # of Leave//Holidays | Leave//Holiday List | ||
Friday, 1 December 2023 | Friday, 15 December 2023 | 2 | 0 | Saturday, 23 December 2023 | ||
Wednesday, 20 December 2023 | Tuesday, 26 December 2023 | 0 | 4 | Sunday, 24 December 2023 | ||
Saturday, 23 December 2023 | Monday, 25 December 2023 | 0 | 3 | Monday, 25 December 2023 | ||
Friday, 22 December 2023 | Tuesday, 2 January 2024 | 1 | 5 | Tuesday, 26 December 2023 | ||
Monday, 1 January 2024 | ||||||
I hope this makes sense.
If further clarification is required, please let me know.
Cheers.