# Calculating Time And A Half And Double Time (After 40 Hours)

Feb 20, 2009
I'm battling to come up with the formula to calculate time and a half and double time. My boss wants me to show the overtime worked AFTER 40 hours has been worked. I have attached a copy of my spreadsheet.

View 4 Replies
ADVERTISEMENT
Jul 24, 2009

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 3 Replies
View Related
Oct 1, 2009

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 4 Replies
View Related
May 1, 2009

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 7 Replies
View Related
Jun 27, 2009

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 4 Replies
View Related
Dec 22, 2009

I want to find the hours worked in day shift and night shift. Day shift is from 06:30 to 18:30 and night shift is from 18:30 to 06:30. Listed below is an example of my date/times.

Note that the night shift carries over to the next day.

Start/Finish

21/12/09 07:00 to21/12/09 11:09

21/12/09 07:46 to21/12/09 14:41

21/12/09 12:13 to21/12/09 22:08

21/12/09 16:40 to21/12/09 18:05

21/12/09 19:40 to22/12/09 02:34

21/12/09 23:20 to22/12/09 04:39

22/12/09 02:06 to22/12/09 06:15

View 9 Replies
View Related
Dec 26, 2013

We have a person who work in 24/7 support. One person work passive 24 hour, but it 24 hours are divided in to next shifts: normal 06-18, over hours 18-22, night hours 22-06.So if we have some one who is supporting client say from 17h till 23h, we have next results:

Name Start time End Time 06:00 - 18:00 18:00 - 22:00 22:00 - 06:00

John 17:00 23:00 1:00 4:00 1:00

Is it possible to in time range enter formula who subtracted end time from start time, but taking into account 24 hours?

View 9 Replies
View Related
Aug 6, 2007

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 9 Replies
View Related
Oct 15, 2007

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 9 Replies
View Related
Sep 29, 2006

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 9 Replies
View Related
Oct 10, 2009

When I am converting a time from Hours/Minutes to Hours/Tenths, Excel is not converting it consitantely. EXAMPLE: 1:15 = 1.25. When I format the cell to present only one place past the decimal point, sometimes the cell will round up to 1.3, and other times it will round down to 1.2. What am I missing?

View 3 Replies
View Related
Mar 30, 2009

i am looking to do a table which shows time started, time finished and then a total for hours that day, then that week.

Start 08:00

End 16:00

Total 8 hrs.

How can I get the total to display as 8 hrs? not 08:00? When I change the format to "number" it shows 0.33?

View 9 Replies
View Related
May 5, 2006

I have a user form with textBox1 = start time (entered as "[h]:mm") and text Box2 = finish time (entered as "[h]:mm"). I would like textBox3 to display the difference between the start time and finish time as a general number!

For example

Start time: 21:00

Finish time: 06:30

Hours worked: 9.50

Start time: 12:30

Finish time: 23:00

Hours worked: 10.50

View 9 Replies
View Related
Mar 5, 2014

What I need is a formular/vba code that can divide hours into different time ranges. The picture below shows an explanation.

In example 3 there time range analyzed goes from saturday till monday. Here Sunday should get 24 hours and the time range 23-08 for weekdays is at this point 00-08.

I've tried everything I could imagine to get this one working,

View 1 Replies
View Related
May 30, 2012

I want to add hours to a date-time cell to get result in date-time.

Format of cell A1 is d/m/yy h:mm AM/PM

Format of cell A2 is General

Format of cell A3 is d/m/yy h:mm AM/PM

I want to add A2 (number of hours) to A1 to give A3.

The formula I used is A3=A1+Time(A2,0,0)

The formula works perfectly fine when A2 is less than 24, but when A2 is more than 24, the date doesn't get changed.

View 6 Replies
View Related
Nov 14, 2012

I have this spreadsheet where it is basically call center data so in one of the column it shows time of inbound call as example (21:12:05) and other columns shows specific notes about that call example if product was sold on that call or not. So I am trying to find trend that during what period of time in a day maximum product was sold. Example I want to set some criteria that from 8 am to 10 am, 10 am to 1 pm and so on and then to find how many products are sold. So what I am looking is how can i extract hours as numbers only? from time stamp? I tried using =RIGHT(a1,2) but its not working and it messing with the number format.

View 4 Replies
View Related
Jun 11, 2014

I am having a little trouble with a spreadsheet I am creating, the formulas and cell formatting I should be using to enable this to work.

Here goes:

in cell E3 I have a time started (e.g 12:45 pm), In F3 i have time finished (e.g 2:30 pm)

So, what i'm wanting is the time taken in G3 and also, i have the amount of units that is entered manually in H3. I would like I3 to show the time taken per unit.

View 2 Replies
View Related
Jun 23, 2009

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 9 Replies
View Related
May 13, 2014

We have a bar code scanner that scans employee IDs as they come and go each day. Beside the ID is the date/time stamp in the next column. They do not always come in in the same order they leave, so I am looking for a solution that will collect the in and out time for each ID, then add those times beside each employee name, and add them for a hourly total.

View 10 Replies
View Related
Aug 24, 2009

I am struggling to find a formula to calculate hour:minutes between the following:

Cell

A1= 04:00

B2= 17:00

I am wanting to calculate the hours between 06:00 and 16:00 and then the hours between 16:00 and 06:00 the next day

ie: 06:00-16:00 = 12;

16:00 - 0600 = 3

View 14 Replies
View Related
Mar 30, 2009

I have a started time of say 8am from cell B3. I want to know what time it will be when I add a full number (hours) from another cell. For example A3+B4 where A3 is 8:00 A.M. and B4 is 4.04. I'm looking to get the a result of 12:04 P.M.

View 4 Replies
View Related
Jan 29, 2010

Format Time Cell For Greater Than 24 Hours: Hours & Minutes Only .....

View 9 Replies
View Related
Apr 4, 2013

find a formula that will calculate the hours between the two below values but only take in to consideration the business hours (from 9 to 17) and exclude any weekends?

08/03/2013 13:32:00

02/04/2013 09:32:50

View 4 Replies
View Related
Jan 13, 2009

I am making a schedule and I would like it to take out a 30 min break if the hours worked is over 6 hours.

I have so far

A B

1 11:00 7:30

=24*(B1-A1)

Gives me 8 hours, I would like it to subtract the 30 minutes only ifthe sum is over 6 and not alter the sum if it is under 6.

View 9 Replies
View Related
Dec 17, 2008

I m Trying to add some features to it and run into an issue. Here are the fields we are working with!

A1= 13:30:00 17/12/2008

(in other words 1:30pm on date given) - Need to know proper cell number format!!

B1= 23:00:00

(this represents 23 hours) - format for cell is [h]:mm:ss

C1= Unknown function

(This field is my problem!!)

Answer here SHOULD be "14:30:00 16/12/2008"

I need a function for C1 (using A1 and B1) that will give me the time and date 23 hours earlier or however many hours:mins:secs is specified in B1! Also need to know what number format to use for both A1 and C1

View 4 Replies
View Related
Jun 1, 2014

I'm trying to simplify some data entry on an excel sheet, by making a double click vba to add a time any where in 2 columns, specifically H and I .

[Code] ....

I tried to modify this code but my understanding of VB is very lacking.

View 10 Replies
View Related
Apr 21, 2009

I have a timesheet which for certain days of the year calculates double-time. What i would like to do is have a formula that gives double time for a 24 hour period. I have a formula setup with a start time and end time for my double time, but it wont stop at midnight.

View 11 Replies
View Related
Jun 12, 2014

I'm trying to have excel insert a timestamp on a specific range of cells. I have it currently working on one cell, but can for some reason am having trouble getting it to work on the entire range... Here is what I have currently...

PHP Code:Â

PrivateÂ SubÂ Worksheet_BeforeDoubleClick(ByValÂ TargetÂ AsÂ Range,Â CancelÂ AsÂ Boolean)

IfÂ Target.AddressÂ =Â "$E$23"Â Then

Target.ValueÂ =Â Time

EndÂ If

EndÂ SubÂ

I would like this to work for the range E23:E28 and F23:F28 I'm sure its something simple that I'm not doing...

View 3 Replies
View Related
May 6, 2013

I am using the below code to pick folder to get that name in text box. But when I click cancel in folder picker dialog box it disappears and again appears. Then again I have to click cancel. Am I using "If .Show = False Then Exit Sub" in correct way?

VB:

Private Sub DirListText_DblClick(ByVal Cancel As MSForms.ReturnBoolean)

Dim FolderPath As String

With Application.FileDialog(msoFileDialogFolderPicker)

.Show

If .Show = False Then Exit Sub

DirListText.Text = .SelectedItems(1)

End With

End Sub

How should I work on this?

View 1 Replies
View Related
Jun 27, 2007

calculate the full-width half-max of a peak in data? My chart (gray value vs. pixels) essentially looks like a letter M. What I've tried is finding the max of each peak, dividing that by two, and then using vlookup to find the corresponding pixel values on each side of the peak. But, since vlookup does not work for descending values, I cannot find the half-max value on the right side of each peak.

View 2 Replies
View Related