Hi, everyone
I'm no Excel maven by any means, but I've managed to add formulas to a time card that my temp agency is using, and they're going to use it, to make it easier for temps not to be calculating how long they've worked or what not. This is the formula that calculates daily hours (while subtracting the lunch period):
=SUM(IF(H18<E18,H18-1,H18)-E18)-(G18-F18)
E18 is the in-time
F18 is the out-to-lunch time
G18 is the back-from-lunch in-time
H18 is the out-time
Everything was fine while we're taking into account 1-hr lunches, but I want to be able to do both the 1-hr AND the 1/2-hr lunch...and no matter what I try, if I put in a 1/2-hr lunch, it ADDS half an hour to my TOTAL HOURS WORKED TODAY cell. Can anyone please point out what I'm doing wrong?
Thanks in advance!
C.
Bookmarks