I am trying to create a time sheet for my company that automatically calculates hrs worked.
So far I have where you can log a time in and a time out and it calculate your hours.
I also have it to where you can log a lunch out and a lunch in and it subtract the correct amount for total hrs that day.
I have it to where if you dont log a time in or time out it will return a blank.
This is where I am having problems, I want it to return a blank if there is a lunch time out but not a lunch time in OR return a blank if there is a lunch time in but not a lunch time out.
Here is my current formula:
=IF(OR(ISBLANK(I10),ISBLANK(L10)),"",(IF(OR(ISBLANK(J10),ISBLANK(K10)),(((L10-I10)-INT(L10-I10))*24),(((J10-I10)+(L10-K10))-INT((J10-I10)+(L10-K10)))*24)))
Here is a screenshot:
Excel Timesheet ScreenShot.jpg
Bookmarks