I need a formula to work out a shift pattern
For example, I have a date/time in A1.
If the time in A1 is between 7pm and 7am it is a nightshift
If the time in A1 is between 7am and 7pm is is a dayshift
Sounds simple but I've have not cracked it yet.
Any help appreciated.
For example, I have a date/time in A1.
If the time in A1 is between 7pm and 7am it is a nightshift
If the time in A1 is between 7am and 7pm is is a dayshift
Sounds simple but I've have not cracked it yet.
Any help appreciated.