I feel that I have searched the entire internet without much luck, so I sincerely hope that some of you are able to solve this.
I need a formula that returns hours worked if they occur within the range of 00:00 and 06:00 (midnight to 6AM). If they do not occur within the range, it should return 0.
An issue is that starting time is before midnight and ending time exceeds midnight.
In the picture below, the formula should return "6" in cell C5 and "0" in cell C6.
Screen Shot 2017-11-19 at 12.45.24.png
Any advice or guidance will be greatly appreciated.
Bookmarks