Comparing a duration to a decimal number using IF statement gives error.
I have a fairly simple table that contains shift start and end times, subtracts a lunch break, and gives the shift length.
I want to add a column that will calculate if a meal allowance is applicable if the shift duration is > 9.5, add meal allowance, otherwise add zero.
when I use the following
IF(I2> 9.5,17.57,0), where I2 is shift length
it gives the following error
”Durations can’t be compared to other data types”.
How can I get what I need pls?
TIA
iPad Air, iPadOS 16