timesheet formula

  • Thread starter Thread starter David
  • Start date Start date
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??
 
Back
Top