I want to calculate overtime hours for employees

C

ChefFrank

I have the employees time for the week add up in P and I need regular time in
Q and overtime in R.
something like hours reg ot
54 40 14
 
P

pdberger

Chef --
I'm not sure what the rest of your worksheet is like, but this might work:

P Q R
1 54 =MIN(P1,40) =P1-Q1

Hope that helps.
 
J

JP

Regular hours: =IF(P1>40,40,P1)
Overtime: =IF(P1>40,P1-40,"0")

Or if you are listing the hours in column fashion...

Regular: =IF(SUM(P:p)>40,40,SUM(P:p))
Overtime: =IF(SUM(P:p)>40,SUM(P:p)-40,"0")


HTH,
JP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top