The below is the format of the excel, the issue which i am facing now is, if a guy comes late or have Lunch time exceeding limit or doesn't take the lunch, how can i have this variable calculated in the hours worked so that the total working hours be calculated.
<colgroup><col style="mso-width-source:userset;mso-width-alt:4608;width:95pt" width="126"> <col style="mso-width-source:userset;mso-width-alt:2560; width:53pt" span="6" width="70"> <col style="mso-width-source:userset;mso-width-alt:3218;width:66pt" width="88"> </colgroup><tbody>
[TD="class: xl65, width: 126"]Week of 06/1/09[/TD]
[TD="class: xl66, width: 70"]Mon[/TD]
[TD="class: xl66, width: 70"]Tues[/TD]
[TD="class: xl66, width: 70"]Wed[/TD]
[TD="class: xl66, width: 70"]Thurs[/TD]
[TD="class: xl66, width: 70"]Fri[/TD]
[TD="class: xl66, width: 70"]Sat[/TD]
[TD="class: xl66, width: 88"]Sun[/TD]
[TD="class: xl67"]Log In[/TD]
[TD="class: xl68"]9:00 AM[/TD]
[TD="class: xl68"]9:15 AM[/TD]
[TD="class: xl68"]8:50 AM[/TD]
[TD="class: xl68"]9:20 AM[/TD]
[TD="class: xl68"]11:10 AM[/TD]
[TD="class: xl68"]12:15 PM[/TD]
[TD="class: xl69"] [/TD]
[TD="class: xl67"]Lunch Starts[/TD]
[TD="class: xl70"]12:00 PM[/TD]
[TD="class: xl70"]12:00 PM[/TD]
[TD="class: xl70"]12:10 PM[/TD]
[TD="class: xl70"]12:00 PM[/TD]
[TD="class: xl70"]12:15 PM[/TD]
[TD="class: xl71"] [/TD]
[TD="class: xl71"] [/TD]
[TD="class: xl67"]Lunch Ends[/TD]
[TD="class: xl70"]12:30 PM[/TD]
[TD="class: xl70"]12:15 PM[/TD]
[TD="class: xl70"]12:30 PM[/TD]
[TD="class: xl70"]12:30 PM[/TD]
[TD="class: xl70"]12:30 PM[/TD]
[TD="class: xl71"] [/TD]
[TD="class: xl71"] [/TD]
[TD="class: xl67"]Log Out[/TD]
[TD="class: xl70"]7:00 PM[/TD]
[TD="class: xl70"]6:00 PM[/TD]
[TD="class: xl70"]5:00 PM[/TD]
[TD="class: xl70"]5:30 PM[/TD]
[TD="class: xl70"]5:00 PM[/TD]
[TD="class: xl70"]4:00 PM[/TD]
[TD="class: xl71"] [/TD]
[TD="class: xl72"]Hours Worked[/TD]
[TD="class: xl73"]9.50[/TD]
[TD="class: xl73"]8.50[/TD]
[TD="class: xl73"]7.83[/TD]
[TD="class: xl73"]7.67[/TD]
[TD="class: xl73"]5.58[/TD]
[TD="class: xl73"]3.75[/TD]
[TD="class: xl73"]0.00[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl74"][/TD]
[TD="class: xl75"]Reg. Hrs.[/TD]
[TD="class: xl76"]40.00[/TD]
[TD="class: xl75"]Over. Hrs.[/TD]
[TD="class: xl76"]2.83[/TD]
[TD="class: xl75"]Total Hrs.[/TD]
[TD="class: xl76"]42.83[/TD]
</tbody>