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


ADVERTISEMENT

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

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/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

Adding Date And Time Fields

Nov 24, 2008

From an outside source, a date is brought into one cell, and time is brought into another. Is there a way to combine them into one cell with the format of m/d/yyyy h:mm?

I tried concatenate, but that did not work.

View 4 Replies View Related

Adding X Hours To Date & Time

Aug 23, 2008

I have a problem concatenating time in excel if it is of Date + Time format..
What formula do I use to just add the time by, say, 3 hours? I'll need to use, say cell B2, which will add 3 hours to it.. What formula do I use?

View 3 Replies View Related

Adding Time And Date When Saving WB.

Jul 3, 2006

See the attachment. When the macro runs. The workbook is saved in a folder with a new serial number. That is fine but I need to debugging the code. Since I need to save the WB name with the time and date to be also picked and named when saving. Refer to cell B1.

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

Adding An Updated/revised Date/time On The End Of Row.

Mar 11, 2008

I am trying to record the date with time on a pre set cell of a row, in which the cell will show the most current updated date/time once any change is made within the same row, regardless which cell on the row. Is there any code for VBA you can suggest?

View 14 Replies View Related

Adding Date And Time Minus Not Working Hours

Sep 11, 2011

I have a data of complaints where I need to present it to the Management in such a way that the SLA period of 8 hours does not pass. Our office working hours are 7 AM till 7 PM. The complaint received should be escalated to concern section within 8 Hours of SLA time. I have the list of dates with received time. The complaint which could not be escalated today would be escalated next day. In this case is should deduct 12 Hours (7 PM to 7 AM, Non-working hours) from the time. How can I insert escalation date so as that it would deduct non working hours from it.

View 5 Replies View Related

Adding Time To A Date Excluding Weekends And Holidays

Feb 12, 2010

I've been reading up on Excel's date and time functions and can't really figure out the best way of doing this.

I have a total amount of time that a machine should take to finish a task. I'd like to enter a date and time into a cell (Start Date) and have another cell return the date and time that the machine should be done with the task excluding weekends, and holidays (End Date). This would be based on a certain number of "working hours" (hours in the workday minus break periods) that would be calculated in another cell.

View 9 Replies View Related

Adding Years, Days, Months To Date/time Format

Apr 26, 2007

I have some cells which must be in the format 15/06/2007 15:25

I then need to add either days, months or years onto it.

Say the above date/time is in cell A1, when I do =YEAR(A1)+5 it displays 2012 if I choose the general cell format, but when I select the same cell format (date time) it comes out as 04/07/1905 00:00

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

Excel 2007 :: Subtracting Date Of Hire From Date Of Termination

May 25, 2012

I am trying to calculate the length of time of employment. I am looking for a formula to subtract the date of hire from the date of termination.

My current example is:

5/24/12 - 11/3/10 = 568

There is a problem with my formula as the answer of 568 is currently meaningless. How do I convert this?

Using Excel 2007

View 6 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 (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

Referencing Then Subtracting A Date From Another Workbook From Today Date

Jun 6, 2014

I am trying to take the year from today's date then subtract away a date from a referenced date in a separate workbook. Then I want to put this result into an IF statement. For example if the result is between the number 1 and 4, display 1, if the result is between 5 and 9, display 2, etc. Right now, I'm simply trying to reference the separate workbook for the date and subtract that from today's date, but I'm stuck because I only get the date's serial number back.

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







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