Converting overtime into comp time

Jessidale

New Member
Joined
Sep 5, 2013
Messages
9
I need a formula that will convert overtime into comp time. Our timesheets are by the minute and are not rounded. Any help is greatly appreciated!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
If minutes worked in a week is in A1, =MAX(0, A1-(40*60))/60 is the number of overtime hours worked and =1.5 * MAX(0, A1-(40*60))/60 is the number of comp. time hours
 
Upvote 0
I'm sorry, I did not mean that all time is by the minute. I meant that our minutes are not rounded to the quarter hour. So if A1 = 51.26 hours worked for a week what would the comp time be?
 
Upvote 0
if A1 has a Excel serial time of the hours worked in a week
=MAX(0, A1-TIME(40,0,0) is the overtime and =1.5*MAX*0, A1-TIME(40,0,0)) is the amount of comp time.

(At my work, comp time is additional vacation time at time and a half of overtime hours worked)
 
Upvote 0

Forum statistics

Threads
1,216,190
Messages
6,129,422
Members
449,509
Latest member
ajbooisen

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