Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 90
Default Overtime Calculations

I have figured out how to calculate regular hours and overtime hours on a
daily basis but now I need to take those calculations and determine if an
employee has worked over 37.5 hours in a week (2.5 hours would go to regular
time) and anything over 40 would go to overtime. Our spreadsheet allows each
employee to show each day's clock in and clock out times and then calculates
the regular hours and any overtime hours. I use the following formula for
the regular hours
(IF((($C14-$B14)+($E14-$D14)+($G14-$F14))*248,8,(($C14-$B14)+($E14-$D14)+($G14-$F14))*24)
and then the following formula for overtime hours
(IF((($C14-$B14)+($E14-$D14)+($G14-$F14))*248,((($C14-$B14+$E14-$D14+$G14-$F14)*24)-8),0)
where B is the in time, C is the out time, D is the in time, E is the out
time, F is the in time and G is the out time.
--
Michele
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Overtime Calculations

See if this is something you can work with:

Regular Hours for the week:
=MIN(SUM(IF(MOD(COLUMN(Week1),2)=1,Week1,0),-IF(MOD(COLUMN(Week1),2)=0,Week1,0))*24,40)

Overtime Hours for the week:
=MAX(SUM(IF(MOD(COLUMN(Week1),2)=1,Week1,0),-IF(MOD(COLUMN(Week1),2)=0,Week1,0))*24-40,0)

Note that these are Array Formulas and must be entered with CTRL-SHIFT-ENTER
instead of just Enter. If done properly, the formula should be enclosed in {
}.

For this example, I created a Named Range of "Week1" which is actually
$B$14:$G$18 representing a 5 day workweek. You can adjust this as needed, or
just insert the range instead of the Name.

HTH,
Elkar

"Michele" wrote:

I have figured out how to calculate regular hours and overtime hours on a
daily basis but now I need to take those calculations and determine if an
employee has worked over 37.5 hours in a week (2.5 hours would go to regular
time) and anything over 40 would go to overtime. Our spreadsheet allows each
employee to show each day's clock in and clock out times and then calculates
the regular hours and any overtime hours. I use the following formula for
the regular hours
(IF((($C14-$B14)+($E14-$D14)+($G14-$F14))*248,8,(($C14-$B14)+($E14-$D14)+($G14-$F14))*24)
and then the following formula for overtime hours
(IF((($C14-$B14)+($E14-$D14)+($G14-$F14))*248,((($C14-$B14+$E14-$D14+$G14-$F14)*24)-8),0)
where B is the in time, C is the out time, D is the in time, E is the out
time, F is the in time and G is the out time.
--
Michele

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Overtime calculations kozzzle Excel Discussion (Misc queries) 4 August 30th 06 05:30 PM
=SUMPRODUCT((Overtime!$J$6:$GY$6-DAY(Overtime!$J$6:$GY$6)+1=A25)*(Overtime!$J$7:$GY $2 paulrm906 Excel Worksheet Functions 8 June 11th 06 10:34 AM
Calculating Overtime sam13484 via OfficeKB.com Excel Worksheet Functions 1 February 3rd 06 03:20 PM
overtime templates Flash Excel Worksheet Functions 1 April 29th 05 08:09 PM
Overtime Calculations Doug Excel Worksheet Functions 1 March 8th 05 12:57 AM


All times are GMT +1. The time now is 05:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"