Hakunabrotata
New Member
- Joined
- Jul 6, 2022
- Messages
- 12
- Office Version
- 365
- 2021
- Platform
- Windows
Hi everyone!
Please bear with me as this is my first post so I'm not sure how best to convey a question.
I'm trying to create a formula that will help me look at 2 variables in separate columns - Date/time (Column A) & Days of the week (Column B). From this data I want to identify whether this criteria is flagged as core hours or Non-Core Hours (Column C).
Core Hours
Monday-Friday - 08:30:00-17:30:00
Non-Core Hours
Saturday and Sunday - ALL DAY
Monday Friday - 00:00:00-08:29:59 / 17:30:01-00:00:00
For example,
Row 3 would be core hours as its a weekday and falls between 08.30:00 and 17.30:00
Row 4 would be considered Non-Core as its a weekday but falls above 17:30:00
Row 5 would be Non-core as despite it falling within the timeframe, it falls on the weekend.
Can anyone help me create a formula to input into column C to identify whether a row would be considered as core/Non-core. I can always split the time/date so it is just looking at the time element (Apologies as row 5 might seem off-centre)
Any assistance would be greatly appreciated as I've been struggling with this for some time now.
Thank you in advance.
Please bear with me as this is my first post so I'm not sure how best to convey a question.
I'm trying to create a formula that will help me look at 2 variables in separate columns - Date/time (Column A) & Days of the week (Column B). From this data I want to identify whether this criteria is flagged as core hours or Non-Core Hours (Column C).
Core Hours
Monday-Friday - 08:30:00-17:30:00
Non-Core Hours
Saturday and Sunday - ALL DAY
Monday Friday - 00:00:00-08:29:59 / 17:30:01-00:00:00
For example,
Row 3 would be core hours as its a weekday and falls between 08.30:00 and 17.30:00
Row 4 would be considered Non-Core as its a weekday but falls above 17:30:00
Row 5 would be Non-core as despite it falling within the timeframe, it falls on the weekend.
1 | A | B | C |
2 | DATE / TIME | Day of the Week | Core/Non-Core |
3 | 01/06/2022 13:15:22 | Friday | Core |
4 | 01/06/2022 19:25:20 | Friday | Non-Core |
5 | 02/06/2022 11:00:00 | Saturday | Non-Core |
Can anyone help me create a formula to input into column C to identify whether a row would be considered as core/Non-core. I can always split the time/date so it is just looking at the time element (Apologies as row 5 might seem off-centre)
Any assistance would be greatly appreciated as I've been struggling with this for some time now.
Thank you in advance.