I am trying to create an employee schedule Mon-Sun...I want to have a sum total of each employees hours worked...But I need it to sum the hours from time....How do I do that
Hi,
I use a formula to calculate overtime hours, but it can also be used to collect regular hours. Format the "From" and "To" columns as time", and the formula cell in general or number. I use the 24 hour clock. Note that the formula includes the addition of one day (+1) just in case the start time is less than the finish time.(shift work) The "24" is used to convert the minutes to decimal, ie 4.5 hours, not 4:30 so you can add them up. The first "IF" just leaves the cell blank if the time is not entered.Then make a running total, and format the total as mentioned in the previous reply.
=IF(B2="","",24*(IF(B2<A2,B2+1-A2,B2-A2)))
I can provide an Excel sheet of what I use upon request.
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.