Hi ,
Srinidhi has already given you one way.
My suggestion would be to format the data entry cells as Time , so that the arithmetic would be much simpler.
Enter all the times at which employees clock in , in column A ; the lunch hours worked , in column B , and the clock out times , in column C.
In column D , you can have the hours worked as = the out time - the in time - the lunch break , as follows :
If we start with cell A5 , then D5 will contain the formula =C5-B5-A5 ; copy this formula in D5 to the remaining cells in column D , as far as you wish to go , say from D6 till D279.
The formatting of these columns has to be done appropriately , so that the values are displayed correctly. For columns A and C , which contain the IN TIMEs and OUT TIMEs , select the Time format 1:30 PM ; for columns B and D , which contain time values in hours and minutes , select the Time format 13:30.
Hope this is clear.
Narayan