I have a file that collects the time data of the shop employees. It records time in (start of day), time out (lunch start), time in (lunch end) and time out (end of day).
Sample of the table:
In/Out Employee ID Date Time
0 316 11/2/2006 7:00:34 AM
0 1244 11/2/2006 7:05:00 AM
1 316 11/2/2006 12:00:43 PM
1 1244 11/2/2006 12:01:21 PM
0 316 11/2/2006 12:30:43 PM
0 1244 11/2/2006 12:34:25 PM
1 316 11/2/2006 3:30:46 PM
1 1244 11/2/2006 3:34:34 PM
0 = In, 1 = Out
How can I calculate the total hours worked per day(First In + First Out + (Second In + Second Out).
I appreciate any help.
Sample of the table:
In/Out Employee ID Date Time
0 316 11/2/2006 7:00:34 AM
0 1244 11/2/2006 7:05:00 AM
1 316 11/2/2006 12:00:43 PM
1 1244 11/2/2006 12:01:21 PM
0 316 11/2/2006 12:30:43 PM
0 1244 11/2/2006 12:34:25 PM
1 316 11/2/2006 3:30:46 PM
1 1244 11/2/2006 3:34:34 PM
0 = In, 1 = Out
How can I calculate the total hours worked per day(First In + First Out + (Second In + Second Out).
I appreciate any help.