Adding And Subtracting Time

Jan 23, 2008

I have the formula in my spreadsheet to compute time. It works only if the time in B1 is greater then the time in A1. I would to know if there is a formula to compute time with either negative or postive answer. For example if a carrier was set to load their papers at 12:02pm and ended up loading early at 11:50am I would like the result in C1 to be -12 or (12).

Currently I am using the formula: =HOUR(B1-A1)*6+MINUTE(B1-A1). Like I said, it is all good until someone loads early and then I get a "#NUM!"

Are there any other formula's that I can use or is there a simple modification to the formula I am using?

View 9 Replies


ADVERTISEMENT

Adding And Subtracting Date And Time?

Oct 17, 2011

I've tried a number of examples but I can't seem to get it to work. the desired results in column C.

10/17/11 12:00 PM10/17/11 1:00 PM1:0010/17/11 12:00 PM10/17/11 9:00 AM(3:00)10/17/11 12:00 PM10/16/11 9:00 AM(27:00)

View 4 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

Adding/Subtracting Dates

Mar 10, 2008

1) To be able to get the current date in the format of 3/10/2008

2) To be able to take dates from 2 cells and get an integer value for the number of days between the two dates

View 9 Replies View Related

Enter Total Time And Subtracting From Daily Time

Apr 9, 2012

Any way to enter in a total amount of time and then subtract it from a time shown. So for example:

I want to enter in a time of 26 hours, 10 minutes and 2 seconds: 72:10:02

I cannot find a format that allows me to enter the hours in excess of 24

Then I want to subtract it from a time of the day which will be entered as AM/PM: 02:40:02 AM

Then I want to show the result as a time of day: 00:30:00 AM

Lastly, I want to also show the amount of days adjustment: -1d, 00:03:00 AM

How this can be done through cell formulas?

View 1 Replies View Related

Adding And Subtracting Based On Text

Jun 6, 2014

I'm having an issue with Excel. I believe I need to use a nested IF statement but I can't get it to work properly.

Starting Total = 50
Col A Col B Col C
20 IN 70
40 OUT 45
35 IN 80

What I am trying to achieve is if col B says in then add col a to the col c total from the line above, if col c says out then subtract col a from the row above in col c.

I have worked out how to subtract or add in seperate formulas but i cant seem to get it to work in the same formula.

View 4 Replies View Related

Userform - Adding Amount To One Cell And Subtracting From Another

Jul 10, 2012

I'm decently competent at VBA but no real experience with userforms. I have a very simple 3x2 table:

Type $Amount
Cash $xxxxxx
Product A $yyyyyy
Product B $zzzzzz

I want a simple userform that moves money between the products, ie the user selects a money amount in the form (ex: $1000) and that amount is added from one product and simultaneously subtracted from the other. Note that the amount selected would be subtracted from one product's current balance and added to the existing balance of another product. No new money is coming into the system.

View 6 Replies View Related

Cell Totals - Adding And Subtracting Values Which Contain Letters?

Jun 19, 2014

I was wondering if it is possible to get the SUM function to:

1) Add numbers in cells that contain letters or no letters.

2) If there are brackets that cell would be subtracted from the total, again ignoring any letters.

For example:

A1 = 3 ABC
A2 = (3 ABC)
A3 = 4
3 ABC + (3 ABC) + 4 = 7

View 5 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

Subtracting One Time From Another ...

Jun 25, 2009

Here's a simple one guys. How do I subtract 7:30 AM from 4:00 PM to give me 8.5 hours? At the moment it returns either 8:30 AM or (formatted Number - General):

0.3541667

View 9 Replies View Related

Subtracting Time If A Certain Time Frame

Mar 12, 2009

I need 15 minutes removed from a difference in time, if the time span falls over 9:00 am through 9:15 am.

I'm inputting time like 8:30:00 in A1 and 10:30:00 in A2, then calculating the difference in A3 (2:00:00). Is there a way to remove 15 minutes from that 2:00:00, since it falls over 9 to 9:15?

View 11 Replies View Related

Subtracting Time Between Two Dates

Apr 17, 2012

I am trying to subtract 45min from the time 00:05, but the result i am getting is 0:40 which is wrong.

I am using below formula.

=TEXT(ABS(B3-$A$3),"-h:mm")

Actual timeTime minusResults00:0500:45-0:40

View 1 Replies View Related

Subtracting Time - From Before Midnight To Next Day

Jun 18, 2012

I am trying to work out the response times to an event that my staff attend ( such as a fire alarm)

In C1 will be the time the event was called in, 23:55
In E1 will be the arrival time, 23:59
In F1 I want to show the time taken to arrive on site (response time)

This seems straightforward until the arrival time goes into the next day, such as 00:05 and this is when I have the problem

To make it more complicated, sometimes there is no need for an arrival time to be entered for some events ,with the end user leaving it blank or putting "NA" or "na" etc into the cell

I have tried the below formula which works to a point but leave me with an ######### error if the time is after midnight

=IF(E1="NA",0,IF(E1="n/a",0,E1-C1))

View 9 Replies View Related

Subtracting A Field That Has Time

Jan 21, 2010

I have some intraday date that looks like this, hope the formatting comes thru when i post this....anyhow, the second column is TIME (ie 15:25 15:30, etc...5 minute time intervals for SP500 stock data. I want to have a column that simply subtracts row 2 column b (time column) from row 1 column b.....when i do this i get a #value....I know this must be possible to get a result i need....ie 15:30 - 15:25 = 5

Do i need to reformat the TIME column into something different? ....

View 9 Replies View Related

Losing A Minute When Subtracting Time?

Jan 6, 2014

In cell L7 I have (80/60)/24 and formatted h:mm to get 1:20. In cell M11 I have 1:00 (h:mm). In cell M12 I have L7-M11 and get the result 0:19. Why I'm losing a minute and not getting the result 0:20?

View 5 Replies View Related

Subtracting Time/date Using NOW Function

Oct 6, 2009

I have a working week that starts at 07:00 on a Monday morning and finishes at 14:30 on a Friday afternoon.

For planning purposes I need to know at any given point how many working hours are left. The reason for this is so that I can multiply that figure by the amount of Engineers available which will give me the amount of Man Hrs left in the week.

For example - if it is 11:00am on the Tuesday, how many working hours are left ....

View 13 Replies View Related

Subtracting Time (in Numbers) To Decimal

Oct 21, 2009

How can I add/subtract time entered as 1830 to give a decimal value?

Start=1830
Finish=2000
Time between = 1.5

Also, how can I convert time as 1830 (24hr) to 12hr time? ie. 0630.

View 3 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

Excel 2010 :: Subtracting Time In Milliseconds?

Mar 2, 2012

My challenge is discovering the difference in time between two rows of data that is imported with milliseconds in the time slot. In my example below I would like to see how I can subtract the time listed in line 4 from line 3 (11:18:59.566 - 11:18:59.550). When I try now I get either 1.85185E-07 or 00:00.0 or 0.000000 depending how the cell is formatted.

2012 02 17 11:18:59.050|081,999999999999~999999999999
2012 02 17 11:18:59.550|082,MCTO05222CZ0~999999999999
2012 02 17 11:18:59.566|082,1
2012 02 17 11:19:00.144|083,MCTO05246CK0~999999999999
2012 02 17 11:19:00.160|083,3

View 9 Replies View Related

Subtracting Business Hours From A Data And Time Value

Jun 26, 2008

I am trying to subtract 12 business hours from a date/time stamp. It has to be during working hours however which are 8AM - 5PM, Monday-Friday.

For example if my value is 6/23/2008 9AM

Subtracting 12 business hours would give me 6/19/2008 3PM.

View 9 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

Taking Percent And Adding Subtracting Percent Formula

Sep 12, 2012

I have a percent 3.14%, that I want to show 15, 20 and 25% above and below that percent. I am showing below the results and then formula. The top calculation results in the same on both the left and right. However the -15,-20, -25% results are different. Which is correct.

3.14%

20% +/-
3.14%

0.63%
or
6.28%

1.57%

2.51%

[code].....

basic math, but I don't understand why the results are different.

View 3 Replies View Related

Adding Time: Adding Individual Cells Works, But SUM Doesn't

Mar 28, 2008

I have a column of times: e.g. 10:03:00 and I would like to add them all up.

=A1+A2 works fine.

=sum(A1:A10) does not.

View 14 Replies View Related

Adding Or Subtracting One Month To A Month Number

Nov 12, 2009

I have forumlas that will look at this cell and take action of the month in a different cell is either 1 month greater (Frontmonth+1) or less (Frontmonth-1) than "Frontmonth". As we approach December I'm realizing that logic will breadown since the FrontMonth+1 would be 13, not 1 (January)

Is there a way to get excel to add 1 month to just the month number so that if Frontmonth = 12, Frontmonth+1 would return 1, not 13?

View 9 Replies View Related

Adding Time More Than 24 Hours To Date Time Stamp?

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

Skip Weekends Adding Time To Date & Time

Sep 7, 2007

I need a formula to add just the time to ' date and time', ignoring weekends.

eg:

Fri 24-Aug-07 10:52 is the date and time

28:48:00 is the time

If I add the time to 'date and time', result is coming as Sat 25-Aug-07 15:40

But it should come as Mon 27-Aug-07 15:40 (hence ignoring weekend)

View 9 Replies View Related

Adding A Time Offset Based On Time Of Day

Oct 1, 2008

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 5 Replies View Related

Adding Hours To Time To Get New Time

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

Adding Time :: 01:54 +00:58

Apr 8, 2008

I have read alot of the online instruction on how to correct what i am doing, and its not working!!!! Im getting so frustrated. I have a column of time in hh:mm format. There are 130 entries that i need added. The sum keeps coming up as 19:44 which i KNOW is incorrect because when i review the hours alone they are more then that. How does excel handle, lets say 01:54 +00:58.

View 9 Replies View Related







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