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?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.