Subtracting Times :: From Input Minutes

May 30, 2008

I need to subtract one cell from another. I want to subtract an input value (minutes) from a cell that contains a calculated value of hours & minutes. The calculated cell is custom formated h:mm. I prefer the input be a simple numeric value. The answer needs to be in the h:mm.

View 9 Replies


ADVERTISEMENT

Subtracting Hours And Minutes

Jun 10, 2013

I am trying to calculate employees hours of work from information provided to myself.

Each employee is contracted to work 40 hours per week. The information provided to myself is in the format - Employee has worked 39.30 This is in fact 39 hrs 30 minutes. Obviously when I subtract 39.30 from 40.00 I get 0.7 and not 30 minutes. I tried formatting the cell containing these figures to hh:mm but it comes out at 15.30 & 15.00 respectively because it is over 24 hrs. How do I convert the digital number (0.7) to minutes I.e. 30 minutes.

I have tried to convert the 40 hrs into minutes but because the hours are greater than 24 then I struggle.

View 9 Replies View Related

Subtracting Times :: Next Day ..

Jan 22, 2009

Start time is 2300 in A1
End time is 0100 (the next day) in B1
Difference should read 120 minutes in C1

I know this is possible, I think I've thought myself into circles on something that shouldn't be hard. Everything I've tried is giving me negative numbers and at some point I've tried using the +1 behind B1 to represent the next day.

Here are some of the formulas I've found throughout various posts and used.

=B1-A1+IF(A1>B1,1)
=B1+(A1>B1+1)-A2
=IF(A1

View 9 Replies View Related

Adding/Subtracting Times

Sep 8, 2009

I'm making a table for myself to keep an eye on my hours worked every week. What i want is to be able to enter the start time and the end time and for Excel to find the time difference inbetween (not numerical mathematical difference) also i need to subtract a half hour from the time entered for monday thru thurs.

View 2 Replies View Related

Subtracting Times :: Timesheet

Jul 30, 2008

I am making a timesheet

I have

Start Time, End Time, Break, Hours Worked. Then on the right hand side of my spreadsheet I started playing around with the current time etc.

I want to work out the time left in a working day(like a countdown), based on a variable number of hours of work in a day (here it is 7 hours) excl. breaksie. 7+breaktimeso I need 7+break - 'hours worked' to get hours and mins left
I worked out how to get hours worked easily enough,

=J58-LOOKUP(TODAY(),A:A,D:D)-LOOKUP(TODAY(),A:A,B:B)
where J58 is a cell that has the current time in it and D and B are the columns with the break time and start time in them.

Hours Worked01:59:48Current Time11:49:4807:00:00Break time: 00:30:0007:30:00

I am trying to subtract the hours worked (1:59:48 in this case) from 7:30:00. The hours worked can be updated every second using F9.

I know it's something to do with negativer times because of dates etc but I don't know what to do to make it work.

View 34 Replies View Related

Subtracting Time (finding The Difference Between Times)

Dec 8, 2009

I am having trouble finding the difference between times. I have two cells, A1, A2. Times will be placed in there each day. A1 will have the first time and A2 will have a later time that day. i.e. A1 12:25AM, A2 2:45AM. A3 would have the formula. In this case I am looking for an answer of 2:00 (2hrs).

My second issue will be times when I have A1 11:20pm and A2 1:20am. I can't seem to get it to work.

View 3 Replies View Related

Vba Type Mismatch When Subtracting Dates/times

Sep 27, 2006

Does anyone know why I get a type mismatch on the following? I am trying to subtract one time from the other to get the total hours worked.

Sub WorkedHours()
Dim vStart, vEnd As Date
Dim vHours As Integer

vStart = "11/09/06 22:00"
vEnd = "11/09/06 23:30"

vHours = (vEnd - vStart) * 24

End Sub

View 3 Replies View Related

Formula To Work Out A Variance Between Two Times (subtracting Time)

Apr 8, 2007

formula to work out a variance between two times

Using the 24hr time format in cell a1 i have a start time of 10:43 and in cell b1
i have an estimated time i think a job should take in this case 30 minutes and in cell c1 i have the actual time that job was finished in this case 11:07 and in cell d1 i have a variance between the two times which in this case would be saving me 6 minutes

View 9 Replies View Related

Return Minutes Difference Between 2 Times

Jul 17, 2009

I have to work out the time difference between 2 times over a 24 hour period.
There is a fixed booked departure time and an actual time of departure, the actual time of departure can be either before or after the booked time.
I need the time difference between the times shown as either +/- minutes at present it returns the time in [HH:MM].
I have a simple IF formula to work out - time but when it calculate + time it returns the reverse difference.

A= booked time
B= actual time

View 8 Replies View Related

Calculating Times: Minutes And Hours

Sep 25, 2006

i need to get a formula that will calucate hours and min. its for how many hours the employee has not worked. some of them would be strait hours some would be just min there is no way to tell.

example
lates 2 hours
anp(absent no pay) 12 hours
sicks 55.5 hours
no calls
early outs 21 min
(this is just an example if it were real this person would be fired)

i know this adds up to 69.85 hours but i can't fuiger out a way to get it to calucate in excel. i know i could have it all changed to min and then devied by 60 to get the hours but how do i get it to read what is mins and whats hours?

View 7 Replies View Related

Calculating Difference In Times As Hours And Minutes

Aug 10, 2009

I need to calculate the difference between a start time and end time in hours and minutes.

Start
01/07/2008 11:40

End
01/08/2008 19:28

Start and End columns are formatted as 'Custom' m/d/yyyy h:mm.

I'm not sure what formula to write to calculate the hours and minutes between the two times. Everything I've tried doesn't count over 24 hours. Also what do I format the result cell as?

View 3 Replies View Related

Calculate Hours And Minutes Between Two Dates/times..

Oct 18, 2008

Im trying to calculate hours and minutes between two dates/times over more than 24hrs. I have:-

A1 is 18/10/08 13:14, B1 is 20/10/2008 12:20, C1 is 1:23:05

Using the formula C1 =INT(B1-A1)&TEXT(B1-A1,":hh:mm")

But what I really need is just Hours and Minutes so the above should read 47:05.

View 5 Replies View Related

Calculation Times Take 10+ Minutes ( And Longer With Larger Data Sets )

Jun 11, 2009

I have a spread sheet with 4 columns x 20,000+ rows running this forumla

=IF(FALSE=ISERROR(VLOOKUP($G2,$B:$B,1,0)),$G2,$H3)

The formula works perfect - the only problem is the calc times can take 10+ minutes ( and longer with larger data sets ) because the data sets are so large. Is there another formula or way to get the same result that would speed the process up?

View 9 Replies View Related

Counting Times Of Input

Nov 15, 2007

I need to create a formula that counts the amount I times I enter a value. For example if I put 1 in A1 then B1 will = 1. If I do this 15 times (putting 1 in A1) B1 Will = 15. If I put a 2 in A1 then C1 will = 1. If I enter a 2 in A1 15 times then C1 will =15.

View 9 Replies View Related

Convert Days:Hours:Minutes:seconds To Minutes?

May 25, 2011

I have a spread sheet with a colum showing average time to complete a task. This is currently shown as Days:Hours:Minutes:Seconds (4:19:33:19). I meed it to be shown purely as minutes, or at least as hours and minutes.

View 4 Replies View Related

Convert Hours To Minutes. Display Total Minutes

Dec 5, 2006

I have a formula which will calculate the number of hours and minutes between two military times. I would like it to calculate the total number of minutes instead of hours and minutes. I have uploaded a small example of what i have so far.

View 3 Replies View Related

Convert Decimal Hours And Minutes To Minutes

Jul 4, 2006

What formula will convert 4.50 to 530 minutes ( "Decimal Time" )

another example 16.50 to 1250 minutes.

View 13 Replies View Related

Convert 3786 Minutes To Day:hours:minutes

Jan 21, 2009

I'm trying to convert 3786 minutes to day:hours:minutes. So divided it by 1440 which is 2.63... but I want this displayed in the worksheet as 2 days 1 hour and 3 minutes (02:01:03), I just can't seem to get it to work and it seems quite simple... but I'm missing something.... I was trying a custom format like dd:hh:mm or [d]:hh:mm and I was also trying a convert function and =day/1440+hour +minute

View 9 Replies View Related

Converting Minutes Into Hours And Minutes Using A Formula

Aug 22, 2006

creating a formula for converting time data that has been created in an excel spreadsheet in minutes i.e. 516 minutes which I need to turn into Hours and Minutes i.e. 08:36 I am not experienced using Formulas, apologies if this question has been posted before, I did use the search facility to look for threads, but could not find anything related

View 5 Replies View Related

Data Validation (restrict A Cell To Only Be Able To Input The Letter "i" Multiple Times)

Nov 5, 2008

I am trying to restrict a cell to only be able to input the letter "i" multiple times, almost like a tally sheet, in other words I want the cell to be restriced to one letter, but allow that letter to be entered multiple times.

View 4 Replies View Related

Convert Hours & Minutes To Minutes `

Jul 4, 2007

I have a worksheet which I am trying to format as a template which includes inputting start times and end times of work and calculating how many minutes are taken to do the job. I just can seem to find the correct formula.

View 9 Replies View Related

Macro Loop – Find Specific Times, Extract Date, Average Values Of Times

Feb 23, 2010

In my workbook I have about 20 sheets (less in the attached sample), and on most sheets I’d like to query data for each day and find an average value based on the time and then copy that result into another sheet. I’m not sure if I’ll need 2 macro’s for this or if one can be used.

Here’s a quick description:

Assuming that I am currently in the sheet I want to run the macro, then I will either input “1:45” or “0:45” into a popup box, or I could always simply input the 1:45 or 0:45 in the code itself. I’m flexible

1:45:

If I input 1:45, then I’d like the macro to find the first 1:45 in Column B and the value in the same row in Column F will be used in the calculation. Once 1:45 is located, then the macro moves up to find 22:45 in Column B and the value in the same row in Column F will be used in the calculation.....

View 11 Replies View Related

Excel Formula To Calculate Difference In Times But Only Between Specific Times

Apr 8, 2014

I'm looking for a formula that will calculate the difference in times between specific times while working with a 24 hr clock. Please see details below:

E3 provides the start time of 4:00
H3 provides an end time of 15:30

If an employee works betwen the hours of 0:00 (midnight) to 5:59, this is considered DIFF hours and is therefore the number I am seaking. So for the data noted above, the total DIFF hours worked is 2 hours.

View 7 Replies View Related

Convert Start Times And End Times And Minus

Mar 7, 2009

I need a formula in excel to convert start times and end times and minus out lunch time taken and then give total hours worked. For instance,

Column D Column E Column F Column G
Start End Lunch Total Hours Worked
10:01AM 7:08PM 1:01 (formula to convert hours worked)

View 9 Replies View Related

Subtracting Value From Each Value In One Of Array

Jun 9, 2014

Simplifying the following formula:

'=((F17-F17)*D17)+((F17-F16)*D16)+((F17-F15)*D15)+((F17-F14)*D14)+((F17-F13)*D13)+((F17-F12)*D12)

Its basically the sum product of column F time column D...however, all the F values are first subtracted from the last F value; Obviously I could just have an extra column to calculate all the new "F" values the issue with that is that I want to be able to drag down the formula and so the value F17 changes for each last value in column F...

View 5 Replies View Related

VBA Subtracting Ranges ...

Jan 20, 2009

I have two Ranges, which I view as Arrays or Matrices, I want to subtract the two (which do not overlap or union in any way) to get a new third range of the differene. This new range should be the same size, and can be considered a difference of each cell in the range. Note both ranges are already identical in size.

Any help solving this, searched up and down for hours.

Note; Im trying to avoid looping, as this might become incredibly inefficient if the ranges grow to big, looking for alternative that is faster, someone said maybe excel.evaluate

View 14 Replies View Related

Subtracting With Vlookup

Dec 14, 2008

if lic# in column a = lic # in column e, i would like to use the corresponding avg wt in column f to subtract column b.

would i have to use if and vlookup function? (i.e. =if(a=vlookup(....), f-c)?).

View 9 Replies View Related

Subtracting Cell Value ..

Oct 31, 2006

I have added a worksheet to a workbook, a co-worker will populate another worksheet within is workbook. The worksheet the co-work populates is a schedule. On my worksheet
I've set a possible units per day value, then pull from the schedule, starting from the top, the order that can be done in this time frame.

My problem is every so often in the schedule she will total the units in a cell (the units for each order are in one column and the total is also in this column, and this has to be this way for others in the plant). My formula checkes the sum of the units in this column, but it includes the cell that has the total units. This is the only cell that has a value in it on this row. I was trying think of some way to check the order number column for a blank, and if it was then subtract the value in the cell that has the units total in it.

View 10 Replies View Related

Time Subtracting

Jan 30, 2007

I have three cells... A1= entry time & H1 exit time...both are formated as such Custom #0":"00 so i don't have to enter the colon with every entry and exit time... my issue is that i want the third cell to count the minutes in cell A1 & H1...

View 9 Replies View Related

Subtracting Time

Feb 15, 2008

I saw this answered somewhere on here but really didn't understand.

I'm trying to set up a sheet for my hours worked for the week.

I have the total per day in H2 through H6 In I2 through I6 I have an accumulative total for the days, so assuming I work 8 hours a day, I2 would be 8:00 I3 would be 16:00 I4 would be 24:00.

In J2 through J5, I'd like to have the weekly accululative worked hours subtracted from 40 so that the total is what I have left work until I hit 40.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved