timesheet formula

D

David

I've set up a bi-weekly timesheet in XL2K for a two-week pay period.
D4:D17 contains the calculated time worked each day
Overtime is paid for hours worked beyond 40 hrs in a week.

H19 calculates Regular hours worked with the following formula:
=MIN(40,SUM(D4:D10))+MIN(40,SUM(D11:D17))
H20 calculates Overtime hours worked with the following formula:
=MAX(0,SUM(D4:D10)-40)+MAX(0,SUM(D11:D17)-40)

Both formulas give the desired results. I'm just not sure that they are the
most efficient for the job.

Thoughts/Suggestions??
 

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