pete_agreatguy
New Member
Hi all,
I am struggling with x2 formulas in regards to calculating if a Flight is either: Early (if so, how early in mins : secs), On Time (needs to be included in the early column) or Late (if so, how late in mins : secs):
IMPORTANT NOTES:
1) Columns M and P are formatted as custom "hh:mm:ss" ... and ... columns S and T are formatted as custom "mm:ss"
2) I need an "on time" flight to be included in the "early" column
3) I need the main formulas to be inside IF(ISERROR([formula])),"",[formula]) as I need blank records if data cannot be found elsewhere (to avoid N/A results)
3) A flight is considered on time / early between e.g. 12:54:00 - 12:54:59 if due at 12:54:00
4) A flight is considered late if it is after e.g. 12:54:59 (therefore 12:55:00+) if due at 12:54:00
E.g. flight AIJ6979 (highlighted) was due to takeoff at 12:54:00. He took off at 12:54:59 so he is on time yet my formulas are calculating that this flight is late by 00:00.
Current formulas:
Columns J, M and P have a INDEX MATCH formula as they are looked up from an import sheet.
Column S: =IF(ISERROR($M38-$P38+TIME(0,0,59)),"",$M38-$P38+TIME(0,0,59))
Column T: =IF(ISERROR($P38-$M38-TIME(0,0,59)),"",$P38-$M38-TIME(0,0,59))
Please help me fix this because I am unsure why this has provided such results
I am struggling with x2 formulas in regards to calculating if a Flight is either: Early (if so, how early in mins : secs), On Time (needs to be included in the early column) or Late (if so, how late in mins : secs):
IMPORTANT NOTES:
1) Columns M and P are formatted as custom "hh:mm:ss" ... and ... columns S and T are formatted as custom "mm:ss"
2) I need an "on time" flight to be included in the "early" column
3) I need the main formulas to be inside IF(ISERROR([formula])),"",[formula]) as I need blank records if data cannot be found elsewhere (to avoid N/A results)
3) A flight is considered on time / early between e.g. 12:54:00 - 12:54:59 if due at 12:54:00
4) A flight is considered late if it is after e.g. 12:54:59 (therefore 12:55:00+) if due at 12:54:00
E.g. flight AIJ6979 (highlighted) was due to takeoff at 12:54:00. He took off at 12:54:59 so he is on time yet my formulas are calculating that this flight is late by 00:00.
Current formulas:
Columns J, M and P have a INDEX MATCH formula as they are looked up from an import sheet.
Column S: =IF(ISERROR($M38-$P38+TIME(0,0,59)),"",$M38-$P38+TIME(0,0,59))
Column T: =IF(ISERROR($P38-$M38-TIME(0,0,59)),"",$P38-$M38-TIME(0,0,59))
Please help me fix this because I am unsure why this has provided such results