time calculations

Mei_Mienzi

New Member
Joined
Apr 11, 2016
Messages
20
I am trying to set up a spread sheet that will calculate the number of hours based on the times employees clock in and out each day and then give me a total for the time period.

I have found lots of templates but every last one of them has a problem I don't know how to overcome. If I have an employee that clocks in at 9 pm and clocks out at 12 pm (same problem with am times), when I put those hours into all of the templates am getting 9 hours.

I am also having trouble where an employee clock in at say 10 pm and clocks out at 3 am. In this case the spread sheet shows -19 hours.

To complicate matters further I have employees who work from am to am and from am to pm and visa-versa on the same time card.

Any suggestions or templates that really work?

Thanks
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Here's the formula for dealing with times that can cross midnight.

=MOD(B1-A1,1)

Format as h:mm

Your 9PM, 12PM example is 15 hours. If you meant 9PM, 12AM that would be 3


Excel 2010
ABC
110:00 PM3:00 AM5:00
29:00 PM12:00 PM15:00
39:00 PM12:00 AM3:00
Sheet1
Cell Formulas
RangeFormula
C1=MOD(B1-A1,1)
C2=MOD(B2-A2,1)
C3=MOD(B3-A3,1)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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