Creating a split shift timesheet

dangallagher

New Member
Joined
Sep 2, 2015
Messages
1
Hi guys I have created a timesheet for my crew that will work out how many hours worked each day and then work out their pay.

At the moment i've done it for one shift per day, however, i need it to be for two just incase.

Can anyone advise me the formula to use.

I currently have

=(IF([@[Time In]]>[@[Time Out]],[@[Time Out]]+1-[@[Time In]],[@[Time Out]]-[@[Time In]]))

My 2nd shifts have the headings Time In 2 and Time out 2.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
=(IF([@[Time In]]>[@[Time Out]],[@[Time Out]]+1-[@[Time In]],[@[Time Out]]-[@[Time In]]))+(IF([@[Time In 2]]>[@[Time Out 2]],[@[Time Out 2]]+1-[@[Time In 2]],[@[Time Out 2]]-[@[Time In 2]]))

would this not work?
 
Upvote 0

Forum statistics

Threads
1,226,536
Messages
6,191,629
Members
453,668
Latest member
Stephen_Santos

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