Calculating Time Owed Based On Time Worked
I know the title is a bit vague, but I cant think how else to word it!
I have a sheet (attached) which works out hours worked, and if the amount is under a specified target, it counts how much time is owed. The problem occurs when someone works more hours than the specified target.
I guess I need an IF formula of some kind, to say if the figure is over the target, to put zero in the hours owed column.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Calculating Hours Worked Based On Elapsed Time Over 24H
If a Rescue Officer is called out at 23:00 and is back at 04:00, this should equate to 5 hours worked. It seems that if my times are all on one side or the other of a 24 hour cycle, my calculation work fine but it it breaks across the 24 hour (as above, it doesn't work. A2=04:00 A1=23:00 Using (A2-A1)*24 give me -19.00 hours My SS macro has a line: s = (wks.Cells(c, 3) - wks.Cells(c, 2)) * 24 'calculates the duration of time worked Is there any way of getting excel to calculate an elapsed time in hours when the start and end times roll over from one day to the next?
View Replies!
View Related
Calculating Value, Based On Time
I am trying to write what I believe is a fairly simple set of calculations to determine non-qualified stock option values. Before this digresses into a discussion of the merits of Black-Sholes methodology, I must tell you that this is a "101" type sheet. I'm not an economist. The deal is that my sister (for whom I'm constructing this worksheet), gets employer stock options which vest at different intervals. In the past year, she's gotten some options that vest in two, four, and five year increments. I'm using Excel 2002, with the analysis toolpak, and stock pricing add-in from MS. Have today's date, date of option grant, and can easily compute time (in years) until options are fully vested. The trick is that options with a 2-year vesting period are 50% excerciseable in one year, 100% in two. Four-year options are excerciseable 25% per year for 4 years; 5-year are 20% for 5 years, etc. I'm trying to write a single date-driven formula to take each grant (individually), and divide it by the appropriate divisor (based on the current date), to figure out the current value. I can't seem to quite figure it out how to write a formula which can handle: Shares Strike Price Date of Grant Years Until Vested Value 100 26.57 1/4/2003 5 245 45.67 2/6/2001 4 Value should equal = (if today's price is grater than Strike Price) (Current Price * (Shares * (% vested which is based on "date of grant" + "years until vested")) ) - (Strike Price * Shares * (% vested which is based on "date of grant" + "years until vested") ) how the math to make the "% vested multiplier" work...
View Replies!
View Related
Calculating Revenue Received Vs Owed
I have created a model that shows me the money that I am owed each month. However, I receive the money over a 3 month period. Using a formula I need to determine how much I actually receive in total each month, factoring in that I receive each months revenue in three equal payments over three months. For example Month 1 Month 2 Month 3 Month 4 Month 5 Month 6 $A $B $C $D $E $F In month 1, I am owed $A, but this payment will be split over 3 months. So in month 1 I collect $A/3. In month 2, I am owed $B but this payment will also be split over 3 months so in month 2 I collect ($A/3 + $B/3), etc etc. In month 3 I collect the ($C/3) + ($B/3) + (last payment of $a/3) etc etc How do I present this in a formula so I dont have to adjust every single column manually? I need to follow the same structre for another scenario using 18 months as well.
View Replies!
View Related
Number Of Days Worked Over A Time Frame
I need to be able to calculate the actual number of days worked for an employee over a specific date range. I have a data sheet containing employee, transactions, and date of transaction (date only, does not include time). The actual number of days worked may fluctuate due to time off or holidays, so I need to be able to calculate this individually by employee. For example, with columns Employee, Transaction, & Transaction Date: 123 ABC 07/01/2009 123 ABC 07/02/2009 123 DEF 07/02/2009 123 GHI 07/02/2009 123 ABC 07/03/2009 123 ABC 07/07/2009 123 DEF 07/07/2009 123 ABC 07/08/2009 123 ABC 07/09/2009 etc.... Should return 4 work days for employee 123 over the date range 07/01/2009-07/07/2009
View Replies!
View Related
Calculate Hours Worked After Specific Time
i have a timesheet that we are trying to use. the problem is the column that says shift diff. if an employee works after 6:30pm for 1and 1/2hr, he is entitled to shift hours. shift hours is between 6m and 8am. As long as he works after 6.30pm but works for at least one and a half hour, he will get the shift. if work, 9am to 7:30pm, and have break between 2-3pm, should have 1.5hrs shift and 9.5hrs total if work, 7:45pm-9:45pm, and have break between 8:30-9pm, total hrs work is 1.5 and shift hrs s/b 1.5hrs if work 3pm to 12am and have break between 7-8pm, total hrs work is 8 and shift hrs s/b 5hrs
View Replies!
View Related
Count Of Employees That Worked Within Time-frame
I am trying to do a timesheet spreadsheets that lists employees clockin and clockout times Name Start End num hours worked Cory 02:00 04:00 2 Jack 23:00 05:00 6 Fred 10:00 17:00 7 and then go through the list and and count the number of employees in a certain range. time range number of employees working 05:00-06:00 1 06:00-07:00 2 07:00-08:00 6 08:00-09:00 5 09:00-10:00 10:00-11:00 11:00-12:00 12:00-13:00..............
View Replies!
View Related
Adding Time :: Number Of Minutes Worked Each Day
I import via copy paste into excel from a timekeeping programme the following time I have worked each day, as an example: Mon 7h 55m Tues 6h 30m Wed 7h 24m etc Is there a method of changing this in excel to work out the number of minutes I have worked each day? The timekeeping programme does not let me alter any parameters, so h & m is what I have.
View Replies!
View Related
Calculate Total Time Worked. Decimal Times
I need to create a formula to calculate monthly hours worked (144.20) by hourly rate (£14.25). So far everything ive tried has given me awrong answer. I cant seem to make the total right. From what ive come up with (Not good) the total accepts the hours-just not the minutes.
View Replies!
View Related
Start/Stop Timer For Hours Worked To Include Break Time
I have a timesheet where user updates start and end time for various tasks. I have placed a time capture button in the excel sheet (which is simply a macro saying =now() function) The user clicks it before starting and after finishing the task. The start and end times are captured in adjacent cells. If the user starts the work, and goes on a lunch break say for 20 min, comes back finishes the task and captures end time, the time difference will not consider break time which is non productive. How can I incorporate something like 'pause' option so that before he goes for lunch he can temporarily pause the time.
View Replies!
View Related
Operational Model - Shift Start Time Plus Amount Of Hours Worked In One Cell.
Is it possible that a cell contains both numeric and alphanumeric data and to do calculations on that? For example: if a cell conatain the value "10a" or "8.5b" etc. Would it be possible to have a column that gives me the hours worked (the numeric value in the cell) and a line that gives me the amount of people that are working on shift "a" (the alphanumeric value in the cell). Is this at all possible? Or does that require VBA/Macros and stuff (in which case this is posted in the wrong part of the forum )
View Replies!
View Related
Delete Date & Time Cells Based On Time
I have a large dataset where the first column is date and time i.e. "20/01/2005 03:41:06" and I want to delete certain rows based on the times. I have already tried playing about with macro's but failed fairly spectacularly so far. I have code from someone else to delete cells if the value equals a certain time but this doesn't work as the cell contains the date too. I have already recorded one macro to reformat the data to as the software return 10 timestamped samples per hour and I want 8 i.e. every three hours so there is constant separation for statistical purposes. Both the macros are shown below so you can see what I have. Ideally I would like to replace the line - If (r.Cells(n, 1) = TimeValue("22:41:06")) ............ - with one that reads - If (r.Cells(n, 1) CONTAINS TimeValue........ - but I don't know if that is possible? If not is there a way to separate the time from the date into 2 columns and then I can delete rows based on the time column using the code below? .......
View Replies!
View Related
Adding A Time Offset Based On Time Of Day
I am replicating a Matlab program which calculates tide levels at different times of day. I need to replicate it in excel to speed up data analysis and I am nearly there. what happens is I need to apply a time offset to the time of high tide at port a based on the time of day, so if it is: between 00:00 and 06:00 the high tide at port b is 81.6 minutes after the peak at port a between 06:00 and 12:00 the high tide at port b is 74.56 minutes after the peak at port a between 12:00 and 18:00 the high tide at port b is 81.75 minutes after the peak at port a between 06:00 and 12:00 the high tide at port b is 79minutes after the peak at port a I tried this formula, where CO2 has the time/date of the high tide at port a: =IF(CO2<0.75,IF(CO2<0.5,IF(CO2<0.25,CL2+(81.6/(24*60)),CL2+(74.56/24*60)),CL2+(81.75/(24*60))),CL2+(79/(24*60))) The problem is the high tide on 07/01/2005 07:45 is read as 38359.32 rather than 0.32 - is there any easy way to tell excel I'm only interested in the time not the date? I have this spreadsheet setup now to do all the other bits required and i is just the timing that is a problem.
View Replies!
View Related
Display End Time Automatically Upon Entering Start Time And Time Usage
I have a worksheet which contains START TIME in column A, then TIME USAGE in column B and END TIME in column C. User enters start time, followed by the number of time usage in minutes, how could i possibly display the end time automatically in this scenario? how do you add the entered time usage to the start time to display the end time? Say if I enter 1:00 AM at start time and 00:15 minutes on time usage, how can 1:15 AM be displayed on the end time automatically?
View Replies!
View Related
Calculating Using Time
Firstly, i'd like cell G5 to show the amount of time worked i.e diff between E6 & F6. Secondly I'd like help with the formula for cells AF6 & AG6 which would require AB6-AC6 divided by the frames, every time I try it I get a messed up answer.
View Replies!
View Related
Calculating Time In
=INDEX({"$5.00","$3.00","You Were Late"},MATCH(L17,{7:00am,7:05am,7:06am},1)) i have this formula in excel...this formula sanrv1f posted to help with another question (values changed) but i thought i would work with what i wanted but i get a (Value) error so what im trying to do is base on the system time is if the person typed in if they were early 6:45am to 7am they get Extra $5 on top of the $5 they get for being on time. 6:55am gets $5 7:00am they get $5.00 for being on time if they type 7:01am to 7:05am they get $3.00 if they type 7:06 to 7:10am would return You Were Late after 7:10am would return No Pay so Ex D4 *answers in E4 * 7am would get $5 7:03am am would get $3 7:07am would get You Were Late 7:11am Would get No Pay if they were on time 5 times (ie 5days in a row) they would get a bonus of $20 i tried factoring this in could not do it :/
View Replies!
View Related
Calculating Time
basically I need an excel sheet to calculate the period of time between cells. For instance, in A1 I write: 18-Feb-10 In A2 I write: 13:00 Unfortunately I cannot write 18-Feb-09 13:00 in just one cell because it doesn't work. Now, in B1 I write 19-Feb-10 and in B2 I write 15:14 Now we know that 26 hours and 14 minutes have elapsed between these two times. So if I want this to automatically be calculated in B3, what do I do? Also, how do I apply the formula to all cells in column 3 so all I have to type in is the date (in column 1) and the time (in column 2)?
View Replies!
View Related
Calculating Time Blocks
I am trying to calculate the amount of time in blocks, using a pre-determined spread. For example: AM block is anytime between 0600-1230 PM block is anytime between 1230-1830 Evening block is anytime between 1830-0000 and the Overnight block is anytime between 0000-0600 Sounds easy enough, yeah? Let me paint an example of how I want it to calculate though: If an employee starts at 0600 and finishes at 1400, then the AM total is 6.5 and the PM total is 1.5. If an employee starts at 1100 and finishes at 1900, then the AM total is 1.5, the PM is 6 and the Evening is 0.5. If an employee starts at 2200 and finishes at 0800, then all of the 10 hours must report to the Overnight total, even though some of them fall within the Evening and AM blocks. I just can't seem to get each block to show the accurate number of hours...and to bring in the rules that I require.
View Replies!
View Related
Calculating Time Variance
I'm trying to calculate the variance between planned date & time of arrival vs actual date & time of arrival. I attach the workbook as am a bit useless at explaining myself.... What I've done is in H14 subtract the actual date of arrival (F14) from planned date of arrival (C14). This result is the only way I could think of dealing with crossing over midnight. As a result I14 should subtract the actual time of arrival (E14) from planned time of arrival (B14): =SUM(E14-B14,H14) This method works well when the arrival was later than expected but doesn't work if the arrival was sooner than expected.
View Replies!
View Related
Long Calculating Time
I managed to put together an array formula to calculate the last date that a rep made a sale. It checks two other tabs in the workbook to find the date, and if none is found, it leaves the cell empty. {=IF(MAXA(IF('Daily Compliance'!A:A=B48,'Daily Compliance'!O:O),IF('Daily Compliance 11-07 to 4-08'!B:B=B48,'Daily Compliance 11-07 to 4-08'!A:A))=0,"",MAXA(IF('Daily Compliance'!A:A=B48,'Daily Compliance'!O:O),IF('Daily Compliance 11-07 to 4-08'!B:B=B48,'Daily Compliance 11-07 to 4-08'!A:A)))} But it takes sometimes up to 4-5 minutes to make the calculations. Is there possibly a way to simplify it so that it calculates faster, with the same results?
View Replies!
View Related
Calculating Task Time
I have a sheet to calculate Time Elapsed based on StartDT & EndDt taking into consideration the actual working hours in any working day and the function exclude the weekend. I am not a guru in excel but i found this formula in this website . =IF(AND(INT(StartDT)=INT(EndDT),NOT(ISNA(MATCH(INT(StartDT),HolidayList,0)))),0,ABS(IF(INT(StartDT)=INT(EndDT),ROUND(24*(EndDT-StartDT),2), (24*(DayEnd-DayStart)* (MAX(NETWORKDAYS(StartDT+1,EndDT-1,HolidayList),0)+ INT(24*(((EndDT-INT(EndDT))- (StartDT-INT(StartDT)))+(DayEnd-DayStart))/(24*(DayEnd-DayStart))))+ MOD(ROUND(((24*(EndDT-INT(EndDT)))-24*DayStart)+ (24*DayEnd-(24*(StartDT-INT(StartDT)))),2), ROUND((24*(DayEnd-DayStart)),2)))))) the formula works perfectly except for the fact that in our part of the world we have "Friday & Saturday" as the weekend days instead of Saturday and Sunday. is there a way to get this formula or any similar formula to take different weekend days and do exactly what i need?
View Replies!
View Related
Calculating Turn Around Time ..
I've browsed the net searching for a solution to my problem and found one solution altough not entirely what i was after, but it was very close. It was provided on another forum, of which i'm not a member. [url] ... I have a TAT target of <= 2hours, however this is complicated by weekends, holidays and jobs received after working hours and on weekends. I've attached the file, which contains detailed information about my problem.
View Replies!
View Related
Calculating Turn Around Time Between Two Times
i want to calculate the TAT between two times. the TAT target is <= 2 hours. i used the following formula a1 has 3/13/2009 (received date) b1 has 7:08 AM (received time) c1 has 3/13/2009 (completed date) d1 has 9:08 AM (completed time) e1 has TAT formula :- '=IF((D1-B1)*1440<=120,"Met TAT","Not Met TAT") however this formula does not work in the following conditions. In these conditions, it is considered that TAT is met. 1. When the difference in time is <=2 hours .... for TAT calculation, on working days and working hours are taken into consideration. To illustrate. Day begins : 8:00 AM Day ends : 4:00 PM If job is received at 3:30 PM and completed the next working day by 9:30 AM, then it is considered TAT is met. calculation = 4:00 PM - 3:30 PM = half hour + next day's 9:30 AM - 8:00 AM = 1.5 hours, therefore, total working hours used to complete the job is within the agreed TAT. If job is received and completed on non working days and during non working hours, it is considered TAT met. If job is received almost at the end of the day, say, 3.30 PM and job is completed at 8:00 PM same day, then it is considered TAT met, rationale, only half an hour of working hours used to complete the job.
View Replies!
View Related
Calculating Time Across A 24 Hour Period
Calculate certain time increments for various work-shifts. I have a start time,finish time and increments of time across the spectrum of 24 hours. There are also multiple start time across the 24 hour period with some start times begining on one day and ending on the next day. Example In B5 Startime is 22:00 In C5 Finishtime is 06:30 In I3 increment begins at 00:00 In I4 increment ends at 00:30 The employee working the shift from 22:00 - 06:30 would fall into the time increment of 00:00 - 00:30 where another employee working a different shift (08:30 - 17:00) would not. I'm looking for a formula that would return a 1 in a cell if the employee fell into the 00:00 - 00:30 time increment and a 0 in a cell in the employee did not fall into the time increment.
View Replies!
View Related
Calculating Date AND Time Differences
Within 4 columns, I have a series of: Start Dates / Start Times / End Dates / End Times I need to create a formula which will give me the sum total of the difference between the data sets. For example, the time difference between 8am on the 20th March and 1pm on the 21st March is 29 hours OR 1 day and 5 hours. I need a formula which will calculate this for me.
View Replies!
View Related
How Do I Reduce The Calculating Time In A Workbook
I have been building a spread sheet data base which I think is pretty simple. It now has quite a few formula's and is taking time to calculate when I add data. I have tried to simplify some formula's and get rid of complex one's that can be replaced with simple ones... Is there any advice or suggestions for reducing the calculating time..?
View Replies!
View Related
Calculating Time, Timesheet Calculation
I am working on a project involving calculating time. It is a timesheet calculation. I was able to design the following layout: .....A............B..........C..........D.......E.....F 1....Date.........Time IN....Time OUT...Hours... Total 2....01/01/07.....1830.......1930.......01:00...01:00 3....01/02/07.....1930.......2330.......04:00...05:00 4....01/03/07......830.......1900.......10:30...15:30 5 Column A is formatted for DATE. Columns B and C are GENERAL. Columns D and E are DATE format customized as '[hh]:mm' The formula to calculate the time difference between the numbers in column B and C is located in column D. It is as follows: =IF(C4<1000,TIMEVALUE(LEFT(C4,1)&":"&RIGHT(C4,2)),TIMEVALUE(LEFT(C4,2)&":"&RIGHT(C4,2)))-IF(B4<1000,TIMEVALUE(LEFT(B4,1)&":"&RIGHT(B4,2)),TIMEVALUE(LEFT(B4,2)&":"&RIGHT(B4,2)))..................
View Replies!
View Related
Calculating Time, Potential Lunch Break
I am creating a worksheet where employees schedule work throughout the day eg task 1 will be start time 9am, finish time 11am. The result is 2 hours to do the task. The problem i'm having is that I need to do a calculation that if a task includes lunch then the result takes an hour away from the task time. eg task 2 will be start time 12pm, finish time 3pm, excel displays 3 hours, i need it to say 2 hours because 1-2pm is contractual lunch. I can't just do a day formula that says minus 1 from total as this is task orientated and will vary depending on start and finish times of each task.
View Replies!
View Related
Calculating Hours With Midnight As A Start Time
I’m working on a timesheet and I need to separate the hours worked that are before 6 am from all the others. For example if someone works 1:00 am to 8:00 am I need a cell to populated with 5 representing the hours worked before 6 am. The formula below works fine except when the start time is 12:00 am. I am also having trouble if the start time is before midnight like in a 11pm to 5 am shift. =(IF(AND(S3<=$AG$97,S3>=$AG$73),(($AG$97-S3))*24,0)) S3 is the start time AG97 is 6:00 am AG73 is 12:00 am
View Replies!
View Related
Calculating Time To Track Work Hours
I can't figure out how to do a proper formula for calculating time. For instance I have one column that says "Time In", the next is "Time Out" and the other is "Lunch Time". My calculation needs to be this: Find the total hours between the Time In and Time Out and then Minus the lunch time to get total hours worked for the day. The only way I can get this to work is using 24 Hour time format. Is there another way?
View Replies!
View Related
Calculating Hours Worked
I can do the timesheet formula for adding the hours worked as follows: Start Finish Total 08:45 17:15 8.5 However, it doesn't work when I fill in a whole week work of hours in this format: Start Finish Total 08:45 17:15 08:30 It works on a daily basis, but when total hours exceeds 24, the formula get's all mixed up - how to I format the total column to account for every 5 minutes worked, which you can't do when converting to decimal??
View Replies!
View Related
Calculating Task Completion Time In Working Hours
The below is for Excel 2003. I want to set up a spreadsheet that can show my work is completed within a service level agreement, based on working hours of 9-5 Monday-Saturday. I want to be able, for example, to log that a piece of work is reported at 09:00 on a Monday and completed at 10:00 on Monday and for excel to calculate that as 1 hour until completion. Fine so far. But what if that job was closed at 10:00 two days later? Based on an 8 hour working day, that should be 17 hours. And what if a bit of work comes in at 17:00 on the Saturday. No one works the Sunday. Say the job is completed at 10:00 on the Monday. that should calculate as 1 hour to completion. The SLA I'm setting is 4 hours.
View Replies!
View Related
Calculating Elapsed Time,respecting Working Hours.
I am looking for a formula to calculate time from one date and time to another. The only catch is I only want it to use times during specific times. Example Start 5/1 8am and end 5/2 8am. The working hours are from 7am until 4pm and from 8pm till 5am. In this example the solution should be 17 hours. How do I set up a formula to respect only working hours (also excluding weekends except for Saturday early am from midnight until 5am. Sorry if this is confusing, I am trying to use IF statements but I’m fighting a losing battle.
View Replies!
View Related
Calculating Time Using Microsoft 2003. Carrying Over Hours Only?
I am using Microsoft Excel 2003. My question is about calculating time. Let's say my answer, after calculating time, is 2 hours and 1 minute (2:01) and that answer is placed in cell A1. How would I be able to have only the 2 hours (2:00) carry over to cell A2 without the minutes showing? I have tried =MOD(A1,24/24) and =TIME(0,HOUR(A1),0). I have also tried to right click the cell, went to Format Cell, went to the Numbers tab and tried the different options in the Time and Customs category, but I can't seem to get 2:01 to appear as 2:00 only.
View Replies!
View Related
Formula For Calculating No Of Days Worked
I need to create a formula that calculates the number of days a person has worked within a quarter, if they have also left the organisation within the same quarter. For example, I have someone who left on 26/08/08. I need to establish how many working days this person actually worked within the quarter (01/07/08 - 30/09/08). I need to do this for a large number of staff, so would appreciate it if anybody can let me know whether there is a formula that would calculate this.
View Replies!
View Related
Calculating Date & Time Difference: Result In Hours Only
Instead of calculating a time difference manually I want to have a formula do it for me. What I want to achieve goes as followed: 08/06/2006 04:33 12/06/2006 01:05 Time difference is 92:32 [hh:mm] another example: 09/06/2006 12:42 12/06/2006 11:35 Time difference is 70:53 [hh:mm] So instead of getting 92:32 and 70:53 by calculating it myself I would like to have a formula do it for me. Otherwise I'll have to invest a lot of time to get the information I need.
View Replies!
View Related
Calculating Hours Worked With Overtime Clause
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 Replies!
View Related
Copy Row If DATE & Time In Cell Is Between Time Span
I have a problem regarding sorting data having date and also time within a single cell. Example data (I have written it as code to preserve formatting) A B C D E F 12/5/2008 02:072/5/2008 06:0128804833363 22/5/2008 18:012/5/2008 18:0599271297 Column B is start date and time whereas Column C is end date and time. My aim is to cut and paste the whole row automatically to Sheet2 if the time is within 2AM to 8AM else leave as it is.Also I don't know anything about VBA Script.
View Replies!
View Related
Automatically Change Cell (With Time) Color After Time Period Has Passed
I have a protected worksheet. Users wish to be able to track changes in the input cells. The suggested approach for this is to temporarily disable sheet protection and allow them to change the font color, then protect afterwards. What I would like to do is: i) check whether they are in an input cell ii) if so, then prompt the user with the 'Font Color' dialog box iii) apply the font color selected to the input cell I'm struggling to find the dialog box I need. I can launch the one to change the interior color, no problem (Application.Dialogs(xlDialogPatterns).Show). But that's no use to me, I just want a color palette that specifically relates to the Font Color
View Replies!
View Related
|