# Time Sheet Calculations

Feb 6, 2010
Attached is a layout that I am trying to get working.

the 1st tab is the input sheet, I want to be able to post input on that sheet and have it transfer to the other tabs in the appropriate fields.

I'm having a problem mostly with the vlookup to get the data into the right cells on the other tabs.

View 2 Replies
ADVERTISEMENT
Aug 12, 2009

I am making a time sheet for work. It should be very simple but cant get it to work. I want time in, time out, lunch column, and Total. I don't want a lunch in and a lunch out though just a section where I can put my time in :30 minuets :45 or what ever. I also want it to work. on a 12 hour clock AM/PM .

Here are my column's

B2 Is Time In

C2 is Time out

D2 is Lunch time ( decimal ? )

E2 is the TOTAL with lunch deducted.

View 9 Replies
View Related
Sep 22, 2004

I need to calculate the total hours worked for a series of 22 locations. Each Location has weekly allocated hours ranging form 0 to 80.

For example:

User1 worked 4 Hours on Monday at Location1 and 4 Hours at Location2.

User2 worked 4 Hours on Monday at Location1 and 4 Hours at Location3.

I am assuming I will need to use VBA for this calculation.

View 9 Replies
View Related
Feb 9, 2010

if you look at attachment, in Cell J2, if cell I2 is greater than 2 minutes but less than two minutes, the I need the value of I2 in Cell J2 otherwise 0:00:00 then K2 between 3 & 4 Mins and so on.

View 5 Replies
View Related
Aug 14, 2006

I am compiling a simple worksheet that will keep an ongoing track of labour costs in a production environment. The objective is to end up with a labor cost "per unit" for packing punnets of soft fruit.

The source data I have is;

1 - Start time and end time of the job

2 - Any breaks taken during the job

3 - The number of staff it took to do it

4 - The status of the staff (Supervisor, temp, etc) and their hourly pay rates

5 - The number of punnets packed.

With all of the above it should be a relatively simple exercise to calculate the cost per unit (and with a calculator is!). My problem appears to be that I am not formatting something correctly, because when I try to calculate the costs for the employees' my costs are obviously wrong. I have attached my early draft for reference, in the example shown I am showing that a supervisor earning £7.50 an hour worked for 1 hour 15 mins at a cost of £0.39

View 2 Replies
View Related
Jul 17, 2014

I have a start time and a stop time, then a difference is calculated in cell L53. I want to subtract the time value of a break but it only works if the entered value is greater than 1:00. I tried K2-I2-L55 and It works but It wont work for times less than 1:00. I need to be able to subtract :15, :30 or any other value in cell L53.

View 4 Replies
View Related
Dec 10, 2013

1st problem concerns entering data as text and it being converted to time. I have found the formula 00:00 which does an excellant job of converting. However, when I want to subtract, (=a2-a1) for example, it treats the time as a number. Sometimes it works, but if the hours are different, say 23:30- 22:10, it will subtract 2330-2210! Is there a way to make this work?

2nd problem, related to the first is when I try to avg a column of times, I get a similar effect.

View 1 Replies
View Related
Feb 12, 2014

I am trying to track the time the various activities take. I need this in hours:minutes - Monday through Friday. Attached is the spreadsheet that does NOT work. An "x" in the column creates the timestamp in the adjacent column. Some of my formulas are not correct as the calculations do not create the correct data.

View 1 Replies
View Related
Nov 28, 2013

i have a tab on the bottom that is labeled "Man hours 2013" i need to pull the information from this sheet and create a new tab that will pull the property name, how many weeks of service, and the total man hours for each property. i will then be adding a column were i enter the monthly price for this contract divided by the number of weeks we serviced to figure out our percentage of gain/loss.

View 11 Replies
View Related
Feb 21, 2012

I've got a userform which I'm developing (my first) and I have two textboses:

Textbox6 = start time & Textbox7 = end time & Textbox10 which contains the calculation (Textbox7 - Textbox6).

Now I have code that works great for normal numbers however I need to be able to make the calculations in TIME (hence the start time / end time).

How I can amend this code to be able to calculate total time between textbox 7 and Textbox6.

Private Sub TextBox6_Change()

If TextBox6.Value = "" Then Exit Sub

If TextBox7.Value = "" Then Exit Sub

TextBox10.Value = CDbl(TextBox6.Value) - CDbl(TextBox7.Value)

[Code] .......

View 3 Replies
View Related
Feb 27, 2012

If I want to make a formula for a time such as

I have this time like 4:30 hour and i want to get this time by minutes like 270 minutes.

View 1 Replies
View Related
Oct 17, 2007

I have costs per minute and call times in seconds

How do I work out the cost per call in Excel?

It's probably something very simple, but I just can't work it out. No matter what I try, I can't get it right

View 9 Replies
View Related
Sep 28, 2009

I have tortured the cells into producing the output I want...

Namely time(s) in and out, with the hourly totals - subtracting 1/2 hour

for shifts over 6 hours.

I however have a couple of questions about glitches the approach I am using give me.... I will outline as best I can: wish I could upload a sample...

1) the user inputs (in the time format) the starting and ending times for the individual ie. 9 A = 9:00 AM ... 1:30 P = 1:30 PM simple

2) after the user inputs the total formula for each day is calculated:

=IF(D3="","",(IF((D3-C3)>.25,((D3-C3)-0.020833),D3-C3)))

That leaves the cell null if there is no time in the day...

If there is time, checks to see if more than 6 hours...

If so, deducts 1/2 hour, else does the difference calculation

This does work, but is it the elegant or simple way? recommend?

3) At the bottom of each day totals are calculated by this :

=Text((SUM(E5:E36)),"[H]:mm")

This also works to sum the individual totals to the bottom

But is this the best way to work with the times?

4) the individual then inputs the Actual Hours worked by the team...

And the sheet does a variance calculation between actual hours

Worked vs. Scheduled hours...

=TEXT((D38-D39),"[H]:mm")

Now this is a problem...cannot do negative times....need help!

5) Am having a problem with totaling the individuals weekly total using ...

=TEXT((E3+I3),"[H]:mm")

View 9 Replies
View Related
Sep 13, 2013

I am currently working on a rota for my work. What I would like to code is that if a shift begins before 8am and finishes after 2pm it automatically deducts an hour for a lunch break. The spreadsheet currently calculates how long a shift is excluding any calculations for breaks, then checks whether that shift is a normal working day for the staff member, and returns the additional hours the staff member worked on that day. Separately, if possible I would like the spreadsheet to colour code each cell. So if a shift starts before 9am the cell fill color to be red, and if a shift begins after 1:30pm for the cell fill color to be dark red.

View 4 Replies
View Related
May 27, 2014

how to calculate averages and standard deviations based on different time periods without having to manually change the cells?

example:

1st average output at z3, 1st std dev output at z4

data to calculate from c3:c50

2nd average output at z5, 2nd std dev output at z6

data to calculate from c51:c98

3rd average output at z7, 3rd std dev output at z8

data to calculate from c99:c148

and it goes on based on this sequence. i would like to know how to do this without having to change the cells each time i want to calculate. basically what is the quickest way to calculate following this sequence?

View 6 Replies
View Related
Jan 4, 2014

Please find attached a daily copy of a spreadsheet that is used to monitor train running times.

The columns on the left - "Serv No, Serv Start Date,Train No:, Scheduled Arrival, Scheduled Depart" are provided to us automatically and the underlying cell formatting/formula cannot be changed. This information is cut directly from a daily report sent to us the previous day. The cell formatting for the start date is custom - dd-mm-yyyy hh:mm.

The sheet is usually locked out with user access only to the left hand side to cut and paste train times in and the input columns on the right hand side. User has no requirement to adjust any details in the left had column apart from to add additional trains at the bottom is need be. I have left the loaded sheet blank and complete with all underlying cell formatting, conditional formatting and formulas intact for you to play with.

Both sheets essentially do the same thing so whatever formula changes are made to the empty sheet can be adapted for the loaded sheet.

For simplicity, I will focus on the empty sheet. What I am mucking around with is having the user input the train arrival time in the "Actual Arrival" column - (column F)

What I am looking at then making occur is the spreadsheet automatically filling the adjacent columns with the appropriate text and calculations.

To do this excel needs to compare column the number (cell input is text formatted) as a number with the arrival time in column G. It then needs to calculate if the train is Early (16 minutes or more before scheduled arrival), on time (+/- 15 minutes either side of scheduled arrival) or late (16 minutes or more after scheduled). It then needs to automatically place the letter "E", "O" or "L" in column K and the time differential in column L.

My problem is two fold.

Firstly, I cannot seem to make the spreadsheet automatically enter a letter into column K depending on the above conditions.

Secondly, I have had limited success in having the spreadsheet compare column J with column F and working out the differential. However, this only works if the time remains linear. IE only if the train runs on time or late. It gives an incorrect time differential if the train is early. I will attach this spreadsheet tomorrow as an add on to this post.

DAILY TRAIN RUNNING.xlsxâ€Ž

View 3 Replies
View Related
Dec 13, 2006

My 10 MB excel file has calculation mode always automatic. It has 100 worksheet. Only a few of these worksheets are enable for calculation, for performance optimization.

Therefore, I use the macro: Worksheets("sheet1").EnableCalculation = False

When needed, I do: Worksheets("sheet1").EnableCalculation = True

Unfortunately, from time to time, the calculation does not work. By chance I realize that by insterting a cell in this worksheet, the EnableCalculation became active. My problem is that I feel this is happening randomly, depending on worksheet, maybe depending on users or on sequences of entries.

View 4 Replies
View Related
May 25, 2012

I have a nice little matrix which looks up loans and tells me the status of various modules within them

It looks something like this:

Code:

=IFERROR(INDEX(AssignedLoans,MATCH($H$6&$D49,ModuleName&LoanNumbersList,0),8),"")

and it is an Array.

Now, it is working fine until it gets to row 50 then it stops returning values. What's up? There is no difference between the rows except for the loan number change (from D49 to D50...etc). I looked up the loan number in the source document and it's there, so it's not that the source document is missing the information.

View 4 Replies
View Related
Jun 17, 2007

I have a sheet that I need to turn on auto calculation when selected. The problem I need to turn on auto calculation as well as sort another sheet "test" I do not know how to as the other portion of the code. attached will not work because it just runs in circles.

Private Sub Worksheet_Activate()

'THIS IS A SEPARATE SHEET THAN WHAT I NEED TO SORT FROM

Application.Calculation = xlCalculationAutomatic

Sheets("6180").Select

Application.Run "'BILLET-SLATE P414D working copy.xls'!Sortbypeprorprd"

End Sub

View 5 Replies
View Related
Dec 10, 2012

I have a huge spreadsheet requiring me to manually enter alot of fields with formulas. I am using the formula

=COUNTIFS('A1'!C10:F11,Statistics!K5)+(COUNTIFS('A2'!C10:F11,Statistics!K5))+(COUNTIFS('A3'!C10:F11,Statistics!K5))

The full formula is quite long as this pick up the data off over 300 work sheets. (there's probably an easier way to do this aswell) When I copy or drag this to another cell with on the same worksheet it gives me the correct formular with the correct cells changes as I want. However this formular does not work. I have auto calculate on and I manually press enter on the cells and still nothing. If I change the following for the entire formula (about 8min to do each cell) it works

=COUNTIFS('A1'!C10:F11,Statistics!K5)+(COUNTIFS('A2'!C10:F11,Statistics!K5))+(COUNTIFS('A3'!C10:F11,Statistics!K5))

Is there an easier alternative then manually changing each number?

View 9 Replies
View Related
Jun 30, 2014

Is it possible to loop through a list of sheets and execute some calculations that have sheet references from a different list of worksheets? For example, you have a list (list 1) of your worksheets, which will be the destinations of the calculations, and you have a second list (list 2) of worksheets that the calculations are based on. So, lets say there are sheet1 and sheet2 in list 1, and sheetA and sheetB in list 2. The calculations based on sheetA would appear in sheet1, and calculations based on sheetB would appear in sheet2. I thought the code would look something like this:

Code:

Sub LoopthroughWorksheets()

Dim sheet_name As Range

Dim sheet_name2 As Range

Set sheet_name2 = Sheets("WS").Range("F:F")

[Code] ......

I'm getting a "Run-time error '1004: Application-defined or object defined error" at this line:

Code:

.Range("K1") = .Range("sheet_name2.Value!A14").Value

View 2 Replies
View Related
Jul 11, 2014

A client buys 500 minutes of my time. In one week I spend 340 minutes on the account. I'd like a column to show Time purchased (say 500 Minutes) Time spent and a final section showing time left (but showing negative values in red)

I hope I've explained this ok but here is an illustration of what I'm trying to achieve in Excel 2011.

[URL] ...........

View 2 Replies
View Related
Jun 19, 2014

I have a userform that time stamps on my userform as soon as i open the form, is there a way that when I submit, that the amount of time that I was on the call to be put in my column on my worksheet as minutes?

View 2 Replies
View Related
Mar 13, 2008

I found a formula for calculating time in the HH:MM AM/PM

=IF(B1<A1,B1+1,B1)-A1

This formula was to give me total hours in the cell for which it is entered, and cell format for the formula was in military format.

I cannot find this post. The formula worked in OpenOffice Calc program, but when it came to converting to excel, I came up with #value!

I want to enter the time in 12 hour format and using am/pm to designate. I am making it for someone to make work schedules with and they do not know military time.

View 11 Replies
View Related
Apr 21, 2014

I have an excel workbook which requires us to enter the log details of some sites and then a report is generated using these logs (report attached) . [URL] .......

I want that excel should automatically identify the site and calculate its outage with the following formula:

Outage %age= Total Outage(min)/100.80

and add it in the respective column while identifying the outage.

e.g. if outage is of power then the calculated %age outage should be pasted in the power outage column in front of the respected site.

e.g. in the sheet attached above the first row in the first sheet states that SKU2326 was down for 50 mins

Now %age outage will be

Outage %age= 50/100.80

Outage %age=0.496

Now as the outage is related to power so this outage should go into power column in sheet number 3 labelled as "Network Total Up time Week#17"

Now the next time SKU2326 becomes down it should be added with this 50 mins and the outage calculated as presented above.

View 1 Replies
View Related
Apr 17, 2009

I am creating a employee time sheet.

I am doing calculation.

I used total hours formula is =(I5-B5+(I5<B5))*24

and also worked hours formula is =((I5-B5-(I5<B5))-(D5-C5+(D5<C5))-(F5-E5+(F5<E5))-(H5-G5+(H5<G5)))*24

Problem is don't show the correct time of total hrs & worked hrs

Here i am attaching my timesheet format.

View 14 Replies
View Related
Nov 21, 2009

I need to do is calculate the hours between two clock times minus 30 minutes.

Example:

Cell A1 - 4:00am

Cell B1 - 16:30

I need Cell C1 to say 12 (hours)

Also:

Cell A2 - 17:30

Cell B2 - 02:00am

I need cell c2 to say 8 (hours)

View 6 Replies
View Related
Dec 1, 2009

I made a time sheet. In this time sheet i made a macro where when I press ctrl+t it fills in the date in a column and the time in the column next to it. So to start my day I would press ctrl+t and to end it i would goa column over and repeat the macro. and then i made it so that in the fifth column it adds the 2 times together with this formula "=IF(E27>0,(IF(G27>E27, G27-E27, 1+G27-E27)),"")" formula works fine unless you make a "mistake" and change the ending time manually to a time that is early then the starting time but on the same day. So I wanted to see if there is anyway of the total time column can return an error message if the ending time is earlier then the starting time by looking at the date in both date columns. Im going to attach the workbook to this post. on the tabs on the bottom it is under time sheet. and i think the macros should transfer over too. ctrl+t is the time macro if you want to try it out.

I may have not been so clear on explaining it so ask any questions if that is true.

View 13 Replies
View Related
May 27, 2014

This is my line of code from Userform that fills Listbox from values of cell :

[Code] ....

Value in cell is time value formatted as h:mm, but when this value is being filled in Listbox, It changes to decimal value. Example : 12:00 is 0,5 on Listbox.

How can I change this to time value in Listbox ?

Tried with TimeValue() and Format(Time,"h:mm"), but one gives me error "type missmatch", and other just gives me back system time to each Listindex.

View 5 Replies
View Related
Jan 3, 2007

What iam chasing is a formula or something that when you enter hours for week (which is in AD column) *standard rate is 38 *

if you say put say 48 in that column it breaks the time down and puts 38 there and in column AI puts 3 hours and in column AJ Column puts 6 hours.but calculates each one with the dollar value.

******** ******************** ************************************************************************>Microsoft Excel - Wages.xls___Running: xl2000 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutAC5AF5AC6AF6AC7AD7AF7AC8AD8AF8AC9AD9AF9AC10AD10AF10AC11AD11AC12AD12AC13AD13AC14AD14AD15AF15AG15AI15AJ15AL15AM15AN15=

ACADAEAFAGAHAIAJAKALAMAN4*HRSCPHCostHRST1/2CPT1/2CostHRSDTCPDTCost**50.038.019.23$730.740.0$28.84$0.000.0$38.46$0.00**60.038.015.31$581.783.0$22.96$0.002.0$30.62$0.00**76.529.413.03$383.300.0$19.54$0.000.0$26.06$0.00**80.022.815.33$348.760.0$22.99$0.000.0$30.66$0.00**96.526.815.64$419.670.0$23.46$0.000.0$31.28$0.00**100.011.511.5

View 9 Replies
View Related