S
Shirley4589
Can you calculate whether a time is between two other times to show early,
day or late shifts for example?
day or late shifts for example?
posting).
"That will assign 08:00 to Early rather than DAY" (emphasis added).
=LOOKUP(B11*24,{0,8,16},{"Early","Day","Late"})
Even more interestingly if I do what you say in XL97 and then enter 8:00 in
B11, =A11-B11 returns 0.000000000000000 but as you say
=LOOKUP(A11*24,{0,8,16},{"Early","Day","Late"})
returns "Early" and
Returns "Day"
=A11*24-B11*24 returns -8.88178E.15
=24*(A11-B11) returns -7.99361E-15
=1*(A11-B11) returns -3.33067E-16
Lars-Åke