iosiflupis
New Member
- Joined
- Jan 26, 2022
- Messages
- 39
- Office Version
- 365
- Platform
- Windows
I am working on a table with arrivals and departures for airlines at my airport. I have two columns, a time column (HH:MM) and a delay column. I want to annotate in a third column whether the airline departed early, late, on time, or was canceled.
I can get the early, late and on-time ifs statement to work. But the canceled portion is giving me fits.
So far I have: =IFS([@[Dep Delay (minutes)]]<0,"Early",[@[Dep Delay (minutes)]]=0,"On-Time",[@[Dep Delay (minutes)]]>0,"Late"), which works beautifully.
and then I have =IF([@[Actual Dep Time]]+[@[Dep Delay (minutes)]]=0,"Canceled",) which also works beautifully,
But when I try to combine the two it does not work. What have I done wrong?
I can get the early, late and on-time ifs statement to work. But the canceled portion is giving me fits.
So far I have: =IFS([@[Dep Delay (minutes)]]<0,"Early",[@[Dep Delay (minutes)]]=0,"On-Time",[@[Dep Delay (minutes)]]>0,"Late"), which works beautifully.
and then I have =IF([@[Actual Dep Time]]+[@[Dep Delay (minutes)]]=0,"Canceled",) which also works beautifully,
But when I try to combine the two it does not work. What have I done wrong?