payroll issues, I cannot get overtime hours to calculate correctly

Laurel Adams

New Member
Joined
May 8, 2015
Messages
1
I feel I have complicated my payroll and now I cannot find the right format/formula to do what I believe to be a simple calculation.
cell J9 = total hours and is formatted as [h]:mm
the formula in cell O9 is =max(0,J9-40) it is formatted as [h]:mm
the hours in cell J9 for the week are 42:11, the return in cell O9 should be 2:11 but I get all sorts of crazy returns depending on the formatting ie 00\:00, hh:mm, under numbers formatting 2 decimal places but not a single result is close to 2:11, what have I done and where do I need to go from here, after finding the proper formula for this the final step is to calculate overtime pay.
I am a novice user, self taught and terrible with the lingo, but I do love Excel and hope to get answers to my dilemma.
Thaks in advance for any help you might offer - Laurel
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
=MAX(0,J9*24-40) format as number with 2 decimal places

This yields 2.18 hours which is equivalent to 2 hours and 11 minutes
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,103
Messages
6,128,854
Members
449,472
Latest member
ebc9

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