Timetables Rotas

Shibs2012

New Member
Joined
Mar 23, 2011
Messages
1
Can someone please help me i am trying to find a formula that will calculate someones shift for an example i have someone starting at 9.00 hrs and finishing at 18.00 which should calculate to 8 hrs with an hours lunch can someone please help or advise me on how to do this in excel thank you.

The rules are anyone who works over 8 hours has an unpaid hours lunch
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Are the times entered as times? e.g. 09:00

If so, assuming start is in A1 and end is in B1, formula would be:

=IF(B1-A1>=0.333333333333333,B1-A1-0.0416666666666667,B1-A1)
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,351
Members
452,907
Latest member
Roland Deschain

We've detected that you are using an adblocker.

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.
Go back
Back
Top