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
ADVERTISEMENT
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
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
Dec 1, 2008
I am looking for a way to get a spreadsheet to automate calculations of unit costs based on variable packaging names.
I have a series of packages that are denoted by text phrases. Examples:
4/6/12
2/12/12
6/4/12
18/12
24/12
For our purposes let's say the package names above will always be in column A. Column B contains the frontline price of a case of product represented by the phrase in column A. Column C will contain the cost per unit of product - this is obtained by dividing column B by the number of each package arrangement that can be found in one case. Most of the time the number of package arrangements per case is denoted by the very first number in the package name (ie, 4/6/12 would be 4). This won't always be the case though (18/12 would be a package arrangement of 1).
I am looking for a way for the spreadsheet to do all of the following and return the results in column C: if the package name contains "4/6/12", divide column B by 4; if the package name contains "2/12/12", divide column B by 2; if the package name contains "6/4/12" divide column B by 6; if the package name contains "18/12", divide column B by 1; if the package name contains "24/12" divide column B by 24.
View 9 Replies
View Related
Jan 26, 2009
I have a timesheet that the manager fill in every night for the workers, simply it has a start time and end time and it calculates the hours worked (all times are entered in quarters of an hour ie 9.25 for 9:15 etc). At the moment i can work out if a person is on day or night with:
View 2 Replies
View Related
Jan 30, 2009
I have a timesheet in excel which details the hours worked per person. It is worked out by have time started in one cell, and time finished in the next cell. (24 hour clock).
The timesheet is for a night club, so people start late, and finish early. Therfore, in the total column I have the following formula...
=IF(D5="",0,IF(D5
View 9 Replies
View Related
Aug 7, 2009
I have been tasked with creating a workbook that will take a time log file (excel) from an electronic time clock and import the dates/time/employee into individual timesheets. The timesheet layout has already been provided to me and cannot change.
Does anyone know how to write formulas that would gather the date range/time in-out/employee information from one worksheet and automatically import it into the appropriate employee time sheet for the week selected?
View 14 Replies
View Related
Dec 27, 2009
Want to work out formula for working hours If Mr Smith is booked to work I must pay him a min of 8 hours pay at rate A then upto 10 hours still on rate A but after that he gets rate B I need to enter his data on a daily spreadsheet
View 9 Replies
View Related
Jul 28, 2009
I have been tasked with creating a workbook that will take a time log file (excel) from an electronic time clock and import the dates/times into individual employee timesheets. The timesheet layout has already been provided to me and cannot change.
I’m really struggling here and would appreciate any help.
Please reference the attached workbook for the issues described below:
1) Sheet "1_attlog" is the log that is imported from the electronic time clock.
2) Sheet "Sorting & Filtering" is what I have developed so far that manipulates the data from sheet "1_attlog" into something that can be easily understood, it also matches employee #'s to a name, and allows for date ranges to be set that copies over to the individual timesheets. Please do not change any formulas on this page if possible.
3) Sheets "#2 Dan through #10 Blank" are all individual employee timesheets that I need to import the data from "Sorting & Filtering" and populate the "Time In" (column D) and "Time Out" (column G) based on matching the data from "Sorting & Filtering" sheet, "Time Clcok ID" (column D) "Date" (column E), "Time In" (column F), "Time Out" (column G), "Emp Name" (column I).
The dates on the individual timesheets have been linked to the "Date Range" (cels F2 & F3) on the "Sorting & Filtering" sheet, please keep this link intact.
4) The individual timesheets already have formulas inplace to calculate the hours worked after the "Time In" and "Time Out" data has been imported.
View 2 Replies
View Related
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
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
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
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
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
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.
View 9 Replies
View Related
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.
I’m using the following formulas: ...
View 3 Replies
View Related
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
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
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
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
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
Oct 23, 2007
I have this formula for determining the numberof days in the current month, excluding today.
=NETWORKDAYS(DATE(YEAR(TODAY()),MONTH(TODAY()),DAY(1)),TODAY())-1
Now I need to exclude the holidays.
I'd rather not add another named list or table so I thought I'd use an array constant but can't get it to work. This is what I added:
{=NETWORKDAYS(DATE(YEAR(TODAY()),MONTH(TODAY()),DAY(1)),TODAY(),{DATE(2007,10,10);DATE(2007,10,11)})-1}
Okay, I used oct 10 and 11 as an example to insure the formula is working. But it doesn't work and I can't figure out why.
View 9 Replies
View Related
Sep 21, 2009
I am trying to figure out how to take holidays and weekends out of my data.
View 9 Replies
View Related
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
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
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
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
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. I’m 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
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
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