I have a spreadsheet that is being used for an end of shift report between day shift and night shift. This spread sheet is being tied into an automated system to log facility data before being emailed out at the end of each shift automatically.
I may be over thinking this so I really hope someone can school me here, but what I need is for one single cell to automatically change from Days or Nights depending on the time range. That being said I will list what I have below.
I3 is where the "Days" or "Nights" text string needs to be stored and its currently setup as a drop down hence the reason I am looking to automate this.
Before adding the drop down I tried using the following formula =IF(D3>=O2,D3<=P2,"Days")*IF(D3>=O3,D3<=P3,"Nights") and the cell just = 0. I would really like to create this without having to reference static time values listed below and just use the timevalue and set up a limit, but I am not sure how this can be done.
The values for each cell are as follows:
D3 = NOW() in 24 hour
O2 = Day shift start time (7:00)
P2 = Day shift end time (17:30)
O3 = Night shift start time (19:00)
P3 = Night shift start time (5:30)
Thank you in advance and let me know if I can provide any other information to better explain this.
Shiftreport.JPG
Bookmarks