Formula to calculate time into 2nd day

Shazz

Board Regular
Joined
Oct 28, 2010
Messages
136
Hi All,

I want to calculate the number of hours worked on a night shift, so the hours go from say a Friday Night in Saturday Morning, at the moment I am using =(Q18-P18) which works fine within the same day.

Can anyone advise how to adapt the formula to calculate into the following day. Hours needed are as below.

19:00 - 07:00

Thanks ever so much.

Shazz
x
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Its probably safe to assume nobody works for over 24 hours in one shift so you could do:

=Q18-P18+(P18>Q18)
 
Upvote 0
I have another problem, when adding the Hours Worked for each it is not calculating properly,

12:00 + 10:00 + 10:00 + 12:00 is adding up as 22:00 instead of 44:00.

Can anyone help with this too.

Shazz
x

I am putting this in it's own post.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,081
Messages
6,128,696
Members
449,464
Latest member
againofsoul

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