Qete_ARG
Board Regular
- Joined
- Oct 20, 2005
- Messages
- 72
Hi everybody, I am trying to find a way to calculate the amount of hours worked by every employee. Each employee must chek in and out 2 times a day (we get one hour to lunch).
The trick here is to find a way to calculate the amount of hours worked during the morning and the afternoon, but I cannot use the column named "Item". It is not trustable.
For example, on march 11th the employee checked out at 17:57 but one time as "In" and one time as "Out", and on march 31st the employee didn´t check in but checked out at noon.
I was trying to figure out a way to control this by a formula, but I have not been able to find the way to do it!!
If someone here could give me a hand, I would be really appreciatted.
The trick here is to find a way to calculate the amount of hours worked during the morning and the afternoon, but I cannot use the column named "Item". It is not trustable.
For example, on march 11th the employee checked out at 17:57 but one time as "In" and one time as "Out", and on march 31st the employee didn´t check in but checked out at noon.
I was trying to figure out a way to control this by a formula, but I have not been able to find the way to do it!!
If someone here could give me a hand, I would be really appreciatted.
Excel Workbook | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
31 | EmployeeId | EMployeesName | Date | Item | DayNumber | MonthNumber | Year | ||
32 | 111222333 | Employee1 | 10/03/2010 08:19 | In | 10 | 3 | 2010 | ||
33 | 111222333 | Employee1 | 10/03/2010 13:01 | Out | 10 | 3 | 2010 | ||
34 | 111222333 | Employee1 | 10/03/2010 13:43 | In | 10 | 3 | 2010 | ||
35 | 111222333 | Employee1 | 10/03/2010 18:01 | Out | 10 | 3 | 2010 | ||
36 | 111222333 | Employee1 | 11/03/2010 08:33 | In | 11 | 3 | 2010 | ||
37 | 111222333 | Employee1 | 11/03/2010 13:07 | Out | 11 | 3 | 2010 | ||
38 | 111222333 | Employee1 | 11/03/2010 14:06 | In | 11 | 3 | 2010 | ||
39 | 111222333 | Employee1 | 11/03/2010 17:57 | In | 11 | 3 | 2010 | ||
40 | 111222333 | Employee1 | 11/03/2010 17:57 | Out | 11 | 3 | 2010 | ||
41 | 111222333 | Employee1 | 31/03/2010 12:59 | Out | 31 | 3 | 2010 | ||
42 | 111222333 | Employee1 | 31/03/2010 13:58 | In | 31 | 3 | 2010 | ||
43 | 111222333 | Employee1 | 31/03/2010 18:00 | Out | 31 | 3 | 2010 | ||
Hoja2 |