Hi Excel Experts,
I would like to prepare a summary of the attached report, where
Criteria for Day : Time from 8:00 to 19:59
Criteria for Night : Time from 20:00 to 7:59
Input.
OPS_STARTDATE OPS_COMPLETED
01-10-2017 14:30 01-10-2017 17:50
01-10-2017 01:52 01-10-2017 11:30
01-10-2017 05:00 01-10-2017 12:00
01-10-2017 06:25 01-10-2017 12:35
01-10-2017 12:48 01-10-2017 16:30
01-10-2017 10:45 01-10-2017 10:45
01-10-2017 09:10 01-10-2017 16:00
Now considering above time (shifts), can we identify and populate no. of shifts involved in between 2 dates (OPS_STARTDATE & OPS_COMPLETED).
Please ref. attached file for desired report / below snap is from attached file
Day1 Shift1 Day2 Shift2 Day3 Shift3 Day4 Shift4 Total No. of Shifts involved
02-Dec-17 Day 02-Dec-17 Night 03-Dec-17 Day 3
File is enclosed for ready ref. (in the file I have done manually)
Can anyone please help me to do it automatically.
KRavindra
Bookmarks