Each row in the attachment shows the ending time of a flight (col H). It also shows how long it's been since the previous flight ended - that's the rest time (col K).
I'd like to look back at all flights that ended within 24 hours of the current row and see if the rest time on any of them are 10 hours or more. The idea is that you must show at least 10 hours of rest in the 24 hours preceding the end of a flight.
I'd like col L to indicate whether 10 hours of rest can be found as described above. I have an incorrect attempt in col L. I realize that's just wrong.
Since the number of rows within 24 hours of any given end-of-flight can vary, I'm not sure where to start.
Bookmarks