View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
kmariab kmariab is offline
external usenet poster
 
Posts: 6
Default military time "if" formula

i have employees sign-in and sign-out using military time. I want to be able
to calculate if each employee was present at a certain hour. For example:
Sign-in: 8:00
Sign-out: 14:00
Was employee present at 9:00? Yes
Was employee present at 13:00? No

My problem arises when employee works overnight. For example:
Sign-in: 18:00
Sign-out: 3:00

Is there a formula that recognizes whether employee was present between
those times?