Search : in
By :

IF Function with time date

Last answer on Oct 9, 2009 2:05:56 pm BST Ronnieboo, on Oct 5, 2009 3:51:26 pm BST 
 Report this message to moderators

Hello,
I need to add hours to a time date based upon a severity code.

Example cell D2 has the severity code it if is less than 3 the cell will need to show the date/time in cell K2 as an additonal 2 hours 2009-07-31 1443 will need to be 2009-07-31 1643. If D2 is great than 3 it would need to add 6 hours 2009-07-31 1443 would need to be 2009-07-31 2043.

Any assistance is greatly apprecaited!

Configuration: Windows XP Internet Explorer 6.0

Best answers for « IF Function with time date » in :
[Excel 2003] - IF Function using Dates & Text Show [Excel 2003] - IF Function using Dates & Text Issue Solution Note Issue I'm trying to write a function for a cell which refers to a date in another cell - which if it is between 01/01/1994 and 31/12/1995 the cell will read U16, but...
Colouring cells on conditions ShowColouring cells on conditions There are many pratical functions under Excel which is not commonly used. Example: If you wish a cell automatically turns red (or other formatting border, frame etc) under one condition: a result, a...
[VBA] A function that returns the color of an active MFC Show[VBA] A function that returns the color of an active MFC This function returns the value of the active format in conditional formatting. With the function below, two values can be returned. Mode = 0: the value of Interior.ColorIndex...
Display additional clock ShowDisplay additional clock Below is a tips on how to display several clock on your desktop: Right click on the time that appears on your screen in the task bar. Then select adjust Time/Date. Then select “Additional Clock”...
Download Inook ShowInook is a nice screensaver , to which most MAC users are used to , A new version,Inook 4.3 is available: New features added: Coulour option has a black and white Display information such as time, date, holidays Natively in french it nows...
Random access memory (RAM or PC memory) ShowTypes of random access memory There are generally two broad categories of random access memory: DRAM memories (Dynamic Random Access Module), which are inexpensive. They are used essentially for the computer's main memory SRAM memories (Static...
Spreadsheet - Functions ShowThe Concept of a Function Spreadsheets generally have a large number of integrated functions for processing data. There are hundreds, categorised as follows: Arithmetic functions that offer basic tools to process numerical data Statistical...
Spreadsheets - Arithmetic Functions ShowThe Concept of a Function Spreadsheets generally have a large number of integrated functions for processing data. There are hundreds, categorised as follows: Arithmetic functions that offer basic tools to process numerical data Statistical...

1

iveal, on Oct 6, 2009 1:19:48 pm BST

Dear Ronnieboo,

Please consider the following suggestion:

http://en.kioskea.net/...

Thanks.

Reply to iveal

2

 Trowa, on Oct 9, 2009 2:05:56 pm BST

I quess your problem is how to add a hour to a date.

If you have a date like 2009-07-31 1443 and use a formula to add 1 you notice that 1 day is added.
Which means 1 equals 1 day equals 24 hours.
To add 1 hour you will have to divide 1 by 24 (1/24).

I quess the rest is easy, if not let me know.

Best regards,
Trowa

Reply to Trowa