New here,
I have a two tables
table A (Clockin)
Date EmpId StartTime Area
3/12/13 AA243 1100 001
3/12/13 AA253 1103 002
3/12/13 AA263 1108 003
3/12/13 AA273 1150 004
table B (Area Change and Clock out)
Date EmpId In Area
3/12/13 AA243 1530 003
3/12/13 AA253 1745 003
3/12/13 AA263 1617 002
3/12/13 AA273 1545 002
3/12/13 AA243 1630 003
3/12/13 AA253 1645 003
3/12/13 AA263 1617 002
3/12/13 AA273 1645 002
I can calculate total hours by employee (start time - clockout time (Max of Table b))
I need help calculating hours by Area, results like
Area Hours
001 4.30
002 12.6
003 9.7
004 3.95
Thanks for any help.