I've got a simple time-card with the following columns:
Time In (C) | Time Out (D) | Total Hours (E) | Overtime (F)
Right now, in column F(OT) I've got the formula ofso that the cell is empty before any information is put in to the adjacent cells, but also because a "normal" workday is from 07:30 to 15:30. However, OT doesn't truly kick in until you've worked 8 hours. So if someone clocks in and works from 08:00-16:00 my formula is obviously returning a 1/2 hour OT when, in fact, no overtime was worked.Please Login or Register to view this content.
I've tried changing the formula tobut that returns an incorrect result and doesn't really account for the Time In/Time Out anyway. I've also experimented with the D4-TIME() and D4-TIMEVALUE() functions (instead of D4-8) but that wasn't producing the results I wanted either.Please Login or Register to view this content.
I assume it will require an "AND" or "OR" operator, but the attempts I've made have been wildly inconsistent.
I know at this point that it's probably a simple answer but for some reason I just can't wrap my head around the order of operations or if I'm even on the right track. Would be grateful for any help.Please Login or Register to view this content.
Thanks in advance.
Bookmarks