Hi,
I am looking for a way in Excel to determine which shift it is given date and time (currently all manual work, so would save a lot of time).
There are 4 different shifts, all working on 4on 4off shift pattern(will use 2 on 2 off for the purpose of this post).
example below:
14.01.2022 between 07:00:00 and 18:59:59 is day shift 1
14.01.2022 between 19:00:00 and 23:59:59 is night shift 1
15.01.2022 between 00:00:00 and 06:59:59 is night shift 1
15.01.2022 between 07:00:00 and 18:59:59 is day shift 1
15.01.2022 between 19:00:00 and 23:59:59 is night shift 1
16.01.2022 between 00:00:00 and 06:59:59 is night shift 1
16.01.2022 between 07:00:00 and 18:59:59 is day shift 2
16.01.2022 between 19:00:00 and 23:59:59 is night shift 2
17.01.2022 between 00:00:00 and 06:59:59 is night shift 2
17.01.2022 between 07:00:00 and 18:59:59 is day shift 2
17.01.2022 between 19:00:00 and 23:59:59 is night shift 2
18.01.2022 between 00:00:00 and 06:59:59 is night shift 2
18.01.2022 between 07:00:00 and 18:59:59 is day shift 1 - and so on
Is this even possible? if yes, how?!
Much appreciated!