I'm needing to compare one date range to see if it overlaps at all with another date range.
I found this excellent thread posted on this site, describing the basic formula, but for the life of me I can't seem to make this work for use with arrays:
https://chandoo.org/wp/date-overlap-formulas/
Attached is an example of the problem. Essentially I have a set of flight data files and I need to identify the flights that they overlap with, if any.
Each flight data file has a start and end time. Each flight has a reference number, start and end time.
Based on the article referenced above, I believe I have the logic to check if there is an overlap (see formula shown in J1), and also how to determine the corresponding flight data row (formula in J2). The logic works if I'm just checking against a single row, but I just can't seem to get it to work for arrays.
Any help would be MOST appreciated - been trying to solve this for 2 days now.
Apologies in advance if I'm not posting this correctly - it's my first post ever (to any forum!)
THANKS!
I found this excellent thread posted on this site, describing the basic formula, but for the life of me I can't seem to make this work for use with arrays:
https://chandoo.org/wp/date-overlap-formulas/
Attached is an example of the problem. Essentially I have a set of flight data files and I need to identify the flights that they overlap with, if any.
Each flight data file has a start and end time. Each flight has a reference number, start and end time.
Based on the article referenced above, I believe I have the logic to check if there is an overlap (see formula shown in J1), and also how to determine the corresponding flight data row (formula in J2). The logic works if I'm just checking against a single row, but I just can't seem to get it to work for arrays.
Any help would be MOST appreciated - been trying to solve this for 2 days now.
Apologies in advance if I'm not posting this correctly - it's my first post ever (to any forum!)
THANKS!