Calculate Overtime

Jan 9, 2007

I have a time sheet for my employee's that I need to calculate their overtime in 1.5x and 2x rates.

Their overtime totals are done in individule columns from D33 to S33. The first 4 hours per day are charged at 1.5x and anything over that is 2x. I want to show the 1.5x in one box and the 2x in another. I do believe that I need two formulas one in each of the boxes where the final totals would go.

Here's an example, in columns D37 to D41 the employee has worked 12, 14, 9, 16 and 14.5 hours. so that's 17 hours @ 1.5x and 8.5 @ 2x.

ADVERTISEMENT

How To Calculate Overtime

Sep 5, 2008

I am trying to formulate a formula that will calculate overtime hours worked.
Now standard hours are 17:30pm - 20:45pm. Anything outside these hours are overtime. If the start time is 18:00pm then the person is still paid from 17:30pm @ standard rate regardless.

Now I am trying to work out a formula that will cover hrs outside of the standard hrs AND hrs unworked but paid for.

see attached! September tab {blue highlighted cells}

View 9 Replies View Related

Calculate Overtime Hours

Aug 6, 2008

I am trying to get my time sheet to work out right but for some reason the formulas are a little more then what I can do. My time sheet is set up on a weekly bases. I have a regular time line, an overtime line and a total time line. an example I have is I work 12 hours a day I need an 8 to show up in the regular hours, 4 in the overtime and 12 in the total hours.

View 5 Replies View Related

Formula To Calculate Overtime On A Weekly Basis?

Apr 21, 2014

I am looking for a formula to calculate overtime on a weekly basis, entered daily, on a sheet with multiple weeks. It need it to calculate the overtime each week.

View 8 Replies View Related

Calculate Overtime From Daily Hours For A Whole Week

Feb 13, 2014

calculate overtime hours from daily time entries.
Normal hours are 7.6 per day
Time 1/2 is hours over 7.6 but no more than 2 hours
Double Time is all hours over that.

I have the spreadsheet with the days of the week in one row and at the end I have 1 cell for Normal Hours, Time 1/2 and Double Time. I need a formula that will work out overtime off each day and add for all days of the week and enter data into one cell. So all normal hours are in Normal hours and Time 1/2 and Double time are automatically calculated once hours are put in per day manually.

WedThurFriSatSunMonTuesTotal Normal HoursTime 1/2Double Time 10101068

View 5 Replies View Related

Calculate Timesheets Including Hours At Overtime

Mar 20, 2009

I'm trying to calculate timesheets including hours at overtime.
A1- Start time, B1- Lunch Start, C1- Lunch finish, D1- Finish
In E1 I want standard rate hours 'up to 8'
In F1 I want the remaining hours.
I have tried IF rules and realise these are wrong.

View 8 Replies View Related

Calculate Employees Work Hours For Overtime?

Apr 15, 2014

I have to calculate employees work hours for overtime.

in the timesheets:

A B C D E
1 ID Date Code Hours PayMethod
2 A123 4/14/14 TRN 20:00 Regular
3 A123 4/14/14 TTT 15:00 Regular
4 A123 4/14/14 TRN 13:00 <----- total for cell D2,D3, and D4 is more than 40

A B C D E
1 ID Date Code Hours PayMethod
2 A123 4/14/14 TRN 20:00 Regular
3 A123 4/14/14 TTT 15:00 Regular
4 A123 4/14/14 TRN 5:00 Regular <----- to make 40
5 A123 4/14/14 TRT 8:00 Overtime <----- 13-5=8, so i have to write down 8 here for overtime

How can I do this?

I want to make a command button for macro to perform this.

View 2 Replies View Related

Track / Calculate Overtime Hours - Daily Basis?

Sep 14, 2006

I'm creating an log to track the total number of hours an employee works in one day and calculate regular and overtime hours worked based on the following criteria: overtime will be >8 hours in one day and >40 hours in one week.

Right now I have it 'mostly' figured out, but under certain conditions, it calculates more than 8 hours in one day for straight time. Is there a way to set a maximum value for the straight time cell and have the difference be added to the overtime cell?

View 6 Replies View Related

Creating Timesheet That Auto Calculate Normal / Overtime

Jan 13, 2014

I'm been trying to create a timesheet that will auto calculate the hours of normal / overtime 1 / overtime 2

Rules:
Saturday / Sunday / Public Holiday = Overtime 2
Monday to Friday (8:30 till 17:30) = Normal (Auto
Monday to Friday (17:30 till 22:00) = Overtime 1
Monday to Friday (22:00 till 8:30) = Overtime 2

* If Public Holiday column is set to 1 then all hours will auto set to overtime 2

* If Breaktime column is > 0 then deduct from total hours calculate

Sample:

Name
Date / Day
Public Holiday
Start time
End time
Breaktime
Normal hour(s)
Overtime 1
Overtime 2

[code]....

View 1 Replies View Related

Overtime And Double Overtime Calculations?

May 21, 2014

calculate overtime in California. I found a few previous posts, but none that meet all of the requirements. Employees get overtime in CA for:

More than 8 hours are worked in a day (up to 12)

More than 40 hours are worked in a week

Hours worked on the 7th consecutive day (up to 8)

Employees get double overtime for:

More than 12 hours are worked in a day

More than 8 hours worked on the 7th consecutive day

To eliminate the the 7th day issues, I am just using helper cells for hours worked on the 7th day of the work week. So far, what I have is what I found in a previous post:

=MAX(0,SUM(A13:A26)-40-SUMIF(A13:A26,">8")+8*COUNTIF(Daily Total Hours,">8"))+SUMIF(A13:A26,">8")-8*COUNTIF(A13:A26,">8")

This will calculate the hours of overtime over 40 in a week and 8 in a day, but will not differentiate between hours 8-12 and hours 12-?

View 1 Replies View Related

Calculate Hours Worked With Lunch / Overtime / Holiday / Vacation And Saturday Hours?

Jan 13, 2014

Lunch is not paid. Holiday and vacation hours get calculated at the regular pay rate. Overtime is anything in excess of 8 hours per day and/or in excess of 40 hours per week and/or over 5 working days per week. Saturdays for most the employees will be overtime because it will be their 6th workday of the week; but it will be regular time for one employee as it will only be his 5th workday of the week.

For accounting and payroll purposes, we need the totals to display in both hour and decimal format.

So far, I have Lunch, Regular and Overtime hours figured out, but I still need to work with Saturday, Vacation and Holiday hours. Also, currently, the time in and out has to be typed in with the colon and AM or PM. Is there another way to input the info without having to type in those items? I'm trying to make it as user friendly as possible.

View 2 Replies View Related

Calculating Overtime

Apr 3, 2008

I'm looking to calculate OT wages when they happen vs only at the End of Week totals. ie... if the employee hits 40 hours midshift on a Wed, I want to calculate what the total dollars would be for Wed.... a few hours at regular time plus what ever hours above 40 at time and a half.

View 9 Replies View Related

Sum Overtime Hours

Mar 19, 2009

I have a report given to me formatted as general. These are overtime hours for 5000+ associates. The time is shown as 4.52 being 4 hours and 52 minutes.

If I sum 4.52, 5.1, .18... I get 9.8 when in fact it is 10hrs 20m. I need this to display as 10.2

In fact I have done it in the past but lets just say im ready for the weekend.

View 9 Replies View Related

Overtime Calculation

Nov 12, 2009

=IF(a9>40,(a9-40*1.5))
Obviously this is not correct because the result is FALSE.

View 9 Replies View Related

Calculating The Overtime

Jan 15, 2010

We are guaranteed (right now) a 10 hour day. (we are on 4 - 10 hour shifts). So if we work 9 hours say on Monday, we get 9 hours of straight time and an hour of short work week (approx 80% of pay). Now if we work 11 hours on Tuesday (which they can do unfortunately) I get 11 hours of straight time and no overtime. We have to make up for the short work week hour. So a less complicated explanation would be if I dont work more than 40 hours per week, no overtime no matter what I actually worked per day. Seems pretty simple but what I want and need to do is to calculate it per day.

Mon 10 Hours
Tues 11 Hours
Wed 9.5 Hours
Thurs 10 hours

I should get:

Mon 0 overtime
Tues .5 overtime
Wed 0 overtime
Thurs 0 overtime

I got it to the point where If the day where we get short work week is first and overtime after that, it works. But if we work overtime first then get short work week later in the week, it wont calculate it. I know why it wont work now but I dont know how to make it work. LOL Here's a link to the file.

View 9 Replies View Related

Calculation Of Overtime

Feb 1, 2008

I use Excel 2007, and I need help with an overtime calculator. It pertains to a specific wage order, which has three basic principles:

Any hours over 16 in one day are double-time. (2x)
Any hours over 40 in a week are time-and-a-half (1.5x)
Any hours over 48 in a week are double-time. (2x)

I worked 5 hours on a Monday, 18 hours on a Tuesday, 18 hours on a Wednesday, and 13 hours on a Thursday. (I work in a residential group home, so 24 hour shifts are common). That totals 54 hours, and the correct overtime breakdown should be:

40 regular hours.
8 hours at time-and-a-half, and
6 hours of double time.

Im using the following formulas: ...

View 3 Replies View Related

Counting Overtime With A Twist

Feb 5, 2010

Each employee has a different plan time each day of the week.
Mon - 9 Tues - 9 Wed - 7 Thur - 8 Fr - 7

Overtime is really counted after 40

There are 5 sheets for each day of the week mon-fri lets say sheet1..2...3...etc, on each sheet there is a column a with plan and column b with actual hrs. What I'm looking for is a summary sheet for each employee to see where they trend in OT after each day so...

person1 works 10 hrs on mon with a 9 hour plan thus 1 hr trending OT. On the summary page person1 would now show 1 hrs of OT. Now if they would work 9 hrs on tues it would still show 1 hr of OT. On wed however they worked 6 hrs so now the summary page would 0.

View 4 Replies View Related

Employee Timesheet With Overtime

Nov 2, 2008

i am creating a weekly time sheet for my company.the problem that i have is when the persons time reaches 40 hours, the time needs to be calculated in the overtime field. this is really tough for me when the person reaches 40 hours in the middle of the work day. I cant figure it out. i have attached the spreadsheet if you would like to look.

View 2 Replies View Related

Overtime Calculation On Timesheet

Apr 12, 2008

" =(C2 >D2)*MEDIAN(0,D2-1/4,1/2)+MAX(0,MIN(3/4,D2+(C2 >D2))-MAX(1/4,C2)) "

approach to sort out Day/Night Hours. Its bomb proof!

A new situation demands overtime payments......start and finish time can be any time day or night (crap job!), overtime is payable after 8 hours. Thus I have day (0600-1800) standard rate, day (0600-1800) overtime rate, night (1800-0600) standard rate, night (1800-0600) overtime rate.

So, starting at 1400 and finishing at 0100 give 4 hours day std + 4 hours std night + 3 hours night o/time; whereas starting at 0200 and finishing at 1300 gives 4 hours std night + 4 hours day std + 3 hours day o/time.

I'm using Excel 2003 and 2007 so use the Excel 97-2003 format.

View 9 Replies View Related

Payroll Calculation With Overtime

Aug 2, 2006

We are working on a spreadsheet that would project what our labor cost would be for next week. I need some help in figuring out how to calculate overtime when an employee reaches 40 hours.

View 9 Replies View Related

Calculating Overtime In Pivot Table

Nov 30, 2010

How to report Overtime in a pivot table. Apparently this is more difficult than it seems. Please take a look at the cross posting at [URL]....

I have a sample file there

View 7 Replies View Related

IF Formula With Array - Calculating Overtime?

Dec 15, 2013

I have 3 basic job categories... each of those categories start overtime at a different hour.

So, if employee A is a dock worker, he starts overtime at 25 hours. If employee A is an office worker, he starts overtime at 40 hours and if he is a driver, he starts overtime at 55 hours. So based on that info, I'm wanting my spreadsheet to figure out how many hours each employee has left for the week.

The 2nd part question is how many hours per day is left for the week. Rather than making a separate tab for each day of the week, I'd rather the spreadsheet know what day of the week it is and divide accordingly.

View 4 Replies View Related

Sum Formula - Calculating Overtime Hours

Feb 20, 2014

Example: In cells A1:A10 random number between 0 & say 20, need to sum ABOVE 8 = (calculating overtime hours)

E.g.
A1 = 0
A2 = 8
A3 = 8
A4 = 10 (giving 2)
A5 = 12 (giving 4)
A6 = 5
A7 = 13.5 (giving 5.5)
A8 = 8
A9 = 0
A10 = 16 (giving 8)
A11 = (Total overtime above 8 hours) 2+4+5.5+8 = 19.5

Need to be able to increase rows and drag across.

View 3 Replies View Related

Calculating Overtime Hours On Timesheet

Nov 30, 2012

I thought I had everything worked out with this timesheet but I've discovered one more problem.

Weekly Timesheet.xlsx

The total overtime hours needs to show that anything over 40 hours in the Total Regular Hours cell is overtime. And it also needs to show only up to 40 hours in the Total Regular Hours cell.

View 8 Replies View Related

Track Hours Of Overtime Worked

May 9, 2008

I am creating a spreadsheet that will track hours of overtime worked and within the spreadsheet there are several separate departments listed.

I have made it dynamic so that the summary spreadsheet will update as employees are added. Im using a macro and some complicated helper cells to be able to sort the employees based on their total OT hours worked.

View 13 Replies View Related

Argument Separate Overtime From Regular

Oct 13, 2008

spreadsheet has daily hours worked per employee and a weekly total. What is the formula to take the weekly total per employee and separate the regular hours (first 40) and have the overtime show up in the next column (without getting negative numbers for the totals under 40).

View 4 Replies View Related

Timesheet Formula - Lunch / Overtime

Feb 20, 2012

Basically I have a timesheet as follows:

Basic Hours Worked
Overtime Hours Worked
Day
Time In
Time Out
Hours Worked
Time Decimal
Lunch Hour
Number of hours

Mon
8:56:00 AM
4:50:00 PM
07:54
7.90

[Code] .......

To determine the hours worked from the times input I am using the following formula:=

HOUR(D65)+MINUTE(D65)/60

These formulas seem to be working fine but what I am stuck on is deducting and adding lunch hours and overtime hours.

The first problem I have is for example if an employee were to type the figure 1 in the Lunch Hour column for each day lunch is taken I would like it to be subtracted from the bottom total.

Also if any overtime were input on any day I would need it added to the totals.

View 3 Replies View Related

How Can I Get Excel To Work Out My Hours And Overtime

Jan 31, 2009

I charge 45 per hour with a couple of conditions - minimum 8hr day and then 1.5T after 12hrs.

Is it possible to have a table where I put in my hours and then Excel tells me how much I should charge?

View 9 Replies View Related

Calculating Overtime/Exempting Some Employees

Jun 26, 2009

=IF(C5>40,((C5-40)*D5*1.5)+40*D5,IF(C5

View 9 Replies View Related

Overtime In Semi Monthly Timesheet

Jul 21, 2003

Im trying to take an existing employee time sheet in Excel (Office XP) that has no formulae whatsoever, and add the appropriate formulae so that all an employee needs to do is enter the daily start and end times and the time sheet will calculate daily, weekly, and overtime hours worked. Among others, some of the problems Im having are:

I need to keep the original format (though I've added a few columns).

Overtime in the State of Texas does not apply until after 40hrs have been worked. Then any daily hours over 8 can be applied retroactively. So I need a timesheet that shows overtime as regular hours worked until 40 hours have been reached, then separates the daily overtime from the regular column and places it in a daily overtime column. Shouldn't be too hard to find...Right?... Actually, thats been quite easyexcept for weekends. Saturdays and Sundays are usually overtime but not always.

The real problem is the beginning day of the pay period, if a pay period begins on any day other than Monday (Wednesday, for example,) then weeks one and sometimes three can never equal 40 hours each unless the assumption is that the days worked in the same week but prior or subsequent period are worked at 8 hours each. The formulae must make this assumption. How do I write a formula that assumes an empty cell actually has a value? :o

I know that its difficult (if not impossible) to offer any suggestions without seeing the time sheet itself, so, If it would be helpful, and anyone has any suggestions. Ive uploaded the week one of the timesheet as it stands now.

If you'd like to see the entire worksheet I've uploaded it to ....

View 9 Replies View Related

Automate Calculations On Timesheets (Overtime And Holidays)

Jun 26, 2014

I've been trying to automate the calculations on timesheets and having some trouble. I've attached a rough copy of part of the sheet to this post.

Here's where I'm struggling:

The timesheet has columns for Ins/Outs as well as Reg Hrs (Should never be more than 8), OT 1.5 (Standard 1.5 OT pay for anything over 40 in a week), OT 1.0 (More than 8 hours worked in a day but Vacation/Sick/Holiday/Funeral time keeps it below 40 hours actual work time that week) and then columns for Vacation, Sick, Etc.

Now I'm confident that my Regular Hours works with the following formula:

=IF((((C3-B3)+(E3-D3))*24)>=8,8,((C3-B3)+(E3-D3))*24)

If statement calculates how many hours worked, multiples it by 24 to put it in an hour format and checks whether it's greater than or equal to 8, if so then only show 8 (since any additional hours worked would need to be in the OT 1.5 or OT 1.0 category depending on the circumstances). If false, returns how many hours worked.

However, I am having some issues getting my OT 1.5 and OT 1.0 categories working correctly. The OT 1.5 column needs to check whether the actual worked hours is over 40 without Vacation/Sick/Funeral, etc included. The OT 1.0 column needs to show any additional hours worked beyond 8 each day but less than 40 over the whole week because of holiday/sick/vacation, etc.

So, if I worked 10 hours on Monday and there isn't any sort of paid leave time that week (and I work normal 8 hours the rest of the week), then Monday would show 8 hours in Regular worked and 2 hours in OT 1.5. Here's what I'm currently using for a formula (that isn't working...my latest addition was the OR statement):

=IF(AND((((C3-B3)+(E3-D3))*24)>8, OR(($F$12-$K$12)>40), $K$12=0), (((C3-B3)+(E3-D3))*24)-8, "")

If I worked 10 hours on Monday and there is some sort of Holiday (and I don't actually work over 40 hours that week not including the 8 hours of Holiday pay), then Monday should show 8 hours in Regular time and 2 hours in OT 1.0. Here's what I'm using for this formula (that also isn't working well and I hadn't started working with the OR statement here yet since OT 1.5 wasn't working) :

=IF(AND((((C3-B3)+(E3-D3))*24)>8, $K$12 > 0, $F$12<40), (((C3-B3)+(E3-D3))*24)-8, "")

testsheet.xlsx

View 3 Replies View Related

Calculating Hours Worked With Overtime Clause

Jul 23, 2007

I need to worked out Hours worked in a timesheet. This was the easy part, the hard part is the clause tha HR threw in, which is:

If you have worked and 8 hour day WITH 1 hr lunch then you qualify for overtime.
if you work a 8 hr day and work through your lunch (1 hour) (so equivelant to 9 hrs) you still do NOT qualify for overtime there for Overtime = 0.

This is cause some people work though their lunch to get overtime, but legally they have to have a break so we are not paying overtime for it. I have basically tried in a formula to replicate this but it works with some data and not with all.
attached is an example, as you'll see the formula works in some cells, but not others.

View 8 Replies View Related

Calculating Overtime In Pivot Table For Multiple Weeks

Feb 5, 2014

I have employees hours worked entered in multiple rows. Columns are Date, Name, Hours worked; then a column that calculates the week number.

The data is entered each day so the Names are not in order and I'd rather not have to resort by name each week.

I'm collecting that data along with several other fields in a pivot table, then I have a summary sheet that uses GETPIVOTDATA formulas to compile a ton of statistics.

I want to be able to filter the pivot table on any given number of weeks. I need to be able to calculate overtime (greater than 40 hours in a week) for each name over the filtered weeks. So I could want to see OT for weeks 4, 5, 7 combined.

View 1 Replies View Related

Overtime Counting Formula Is Not Working In Attendance Sheet

Jun 2, 2014

I have an attendance sheet for our Company Employees.

This attendance sheet shows the salary of the month from the total basic salary / hour and overtime / hour of each
employee.

I found a problem in this sheet. When i reduced overtime charges in the last of this sheet so the Total Salary of the month
was not changing. I couldn't found any mistake in formulas.

View 1 Replies View Related

Overtime Calculation For Time Worked Over 8 Hr Per Day Or Over 40 Hours Per Week?

Aug 4, 2013

My overtime pays is anything exceed over 8 hours per day or over 40 hours per week. Right now I can only calculate overtime by either over 8 hr/day or over 40 hr/ week. I need a way to combine both.

View 9 Replies View Related

Formula To Take The Total Manhours Over 40 And Enter Them Into The Overtime Cell

Nov 3, 2008

The formula =SUM(E5:E39)-SUM(E45+F41) is what I'm using to enter my total man hours for the week (E5:E39) and subtracting my overtime(E45) and vacation hours.(F41). I have to enter OT and vacation on the discription cells to get the numbers to enter into the proper cells. I would like to use a formula to take the total manhours over 40 and enter them into the overtime cell.

View 9 Replies View Related

Add Overtime Hours Bases On Reason Code And Whether Cash Or Time

May 31, 2013

How can I total overtime based on a "Reason Code" and whether the employee chose "Cash" or "Time" compensation?

View 2 Replies View Related

Calculation Of Shift Allowance Affected By Overtime And Overnight Shifts

Apr 21, 2014

I have an Excel sheet where users enter shift start and finish times (normal Excel time format) - for example: A1 might be 18:00 and A2 might be 06:00 for an overnight shift from 6pm to 6am.

All I need to calculate from these times are the number of hours to which an allowance applies, under the following conditions.

The allowance is paid for all hours worked between 18:00 and 06:00.After 10 hours, a shift becomes overtime and no shift allowance is paid.Shifts are regularly worked overnight (i.e. past midnight into the following morning)

Example scenarios include:03:00 - 15:00 would pay 3 hours of shift allowance09:00 - 21:00 would pay 1 hour of the allowance (as the shift becomes overtime from 19:00)03:00 - 21:00 would pay 3 hours19:00 to 08:00 would pay 10 hours (as the shift becomes overtime from 05:00 the following morning)22:00 to 10:00 would pay 8 hours
And so on.

I feel like I’ve got most of the pieces of the jigsaw, but I can’t put them together! I’ve got the following formulae working out bits of what I think I need:

[Code] ........

The above works out the number of hours before 6am and after 6pm respectively (which I can then SUM), and I believe also accounts for overnight shifts. This obviously doesn't include the more-than-10-hours criteria yet.

The larger formula now looks like this:

[Code] ......

…but this still doesn’t work properly! The sections referring to 1.25 were my attempt to get the shift allowance to stop if the past-midnight shift continues past 06:00, but I don't think it works properly.

I also know I’m probably using *24 and /24 more than I need to, but that’s partly so I’ve got a better grasp of what the formula is doing.

Once this is working, I'm happy using an IF… >10 formula to prevent the total number of hours of shift allowance being more than 10. However, I’m really struggling to find one single formula that will factor in shifts that might start before 6am and finish after 6pm (i.e. 05:00 – 19:00, which should pay one hour), shifts that might go past midnight and possibly past 06:00 the next day, and so on.

Lastly – not to try and complicate things further – there is an optional cell elsewhere, say A3, where a user enters ‘Y’ if the individual takes an unpaid 30 minute break at some point during the shift. This is to be deducted from whatever type of hours are being paid at the end of the shift. For example, if a shift is from 01:00 - 11:00 with the break, it would pay 5 hours with a shift allowance and 4.5 without. If the shift was 13:00 - 23:00, it would pay 5 without the allowance and 4.5 with the allowance. Is there a practical way of doing this, or does this become much more complicated?

View 1 Replies View Related

Calculating Overtime And Regular Time Based On Shift Schedule?

Nov 19, 2012

I am trying to calculate over time based on shift time.

For example: Regular shifts are between 7:00 AM to 3:00 PM (Monday thru Friday). Anything between those hours and on those days should be considered REGULAR TIME. Anything between 12:00 AM to 6:59 AM or between 3:01 PM to 11:59 PM should be calculated as OVERTIME.

Anything on Saturday or Sunday should be calculated as OVERTIME as well.

View 14 Replies View Related

Multi-Conditionals Based On Overtime / Weekends And Hourly Minimums?

Apr 8, 2013

I'm having trouble with conditionals based on a primarily a 4 hour minimum. I am trying to set it up so that anything under 4 is shown as the minimum 4 hours + Travel Time - Lunch Time or if it is greater than 4, shown as Regular Hours + Travel Time (since travel cannot be overtime) - Lunch Time & Overtime (anything over 8 hours). Additionally, I was wondering if it would be possible to incorporate an additional IF formula based on the date. If the entered date is on a weekend, then all hours worked will need to be overtime rather than regular.

View 1 Replies View Related

Excel 2003 :: Time Card / Sheet For Semi-monthly Pay Period With Overtime Calculation

Nov 19, 2012

I'm working on a dynamic payroll spreadsheet that will automatically calculate the overtime worked in a week. Right now, I'm running into a snag. My issue is with the formula in Column R. Right now, as shown below, it is doing the calculation based on regular hours minus 40 to determine the OT time. The snag is very messy and it lay in this: while the row by row calculations for total overtime worked for the week is correct, the sum at the bottom is very much off. I need an accurate method to sum the hours of overtime for the given column.

Here are the guidelines for the pay periods and overtime:

1. The pay periods for the month go from the 1st to the 15th and the 16th to EOM (End of Month). This means that the pay period could end on any given day of the week. More on this in a moment.

2. A work week is defined as Sunday to Saturday.

3. Overtime is calculated based on the rule of anything over 40 hours in a given work week.

4. Holiday hours worked do not count towards the 40 hour mark in granting overtime since Holiday pay is automatically overtime.

If it were just a matter of a bi-weekly (every 2 weeks) pay period, I would simply state =IF(weekday(DATE)=7,Hours_Worked - 40,0), and tag a SUM(range) at the bottom. Unfortunately, with it being a semi-monthly (twice a month), the end of the pay period could be a Wednesday, so a reference to day of the week won't work unless the formula can dynamically determine which set of data to evaluate.

I'm completely willing to toss out the current method of determining overtime. This is the calculations sheet that references a cleanly formatted and designed time card on a tab called "Time Card", so this isn't the full workbook. In fact, once the whole thing is done, this calculation sheet will be hidden.

Columns M and N (which are formula referenced in Column P) are basic End - Start calculations and were hidden to simplify the display as well as the number of formulas displayed.

Column L (formula referenced) is a Yes/No display for if the date in question is holiday pay.

Excel 2003
H
I
O
P
Q
R
S

1
Start Work
Time Out
Day Count

[code].....

View 3 Replies View Related

ADVERTISEMENT