excel - How do I make a specific Function -
so im using excel track hours work @ job
i have set this:
columns b through g label in order:
date start lunch out lunch in home total hrs worked
column g calculate amount of time worked every day, total jan 1, nother total jan 2, etc.
the equation use =(d-c)+(f-e) subtracts beginning time when go lunch, , adds difference between when leave go home , when come lunch
however dont go lunch , dont want replace existing equation time..
so heres need..
(this gonna written out how should work.. not equation needs say?)
if columns d , e not blank (d-c)+(f-e) else (this if columns d , e blank) f-c
remember, column c when start shift, d when clock out lunch, e when come lunch, , f when clock out day , end shift. , column g total hours worked day (has formula)
just calculate lunch seperately , subtract total:
=(f2-c2)-(e2-d2)
that way if lunch blank subtract 0
total.
Comments
Post a Comment