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

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
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,213
Messages
6,129,550
Members
449,516
Latest member
lukaderanged

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