Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Difference between 2 times and dates
Hello,
The following problem we have to deal with: On a sheet we have at cell A1 date number one and cell B1 time in the format (hh:mm) and at cell A2 date number two en cell B2 time in the format (hh:mm). Now we have to calculate the time difference between date en time 1 and 2 in cell C1. How can I get this done? |
#2
|
|||
|
|||
Hi
Try: =(A2+B2)-(A1+B1) If you want the result as hours and minutes, format the cell as [h]:mm -- Andy. "Stefan Buijs" wrote in message .nl... Hello, The following problem we have to deal with: On a sheet we have at cell A1 date number one and cell B1 time in the format (hh:mm) and at cell A2 date number two en cell B2 time in the format (hh:mm). Now we have to calculate the time difference between date en time 1 and 2 in cell C1. How can I get this done? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Charting and analyzing Times' times data for trends | Excel Discussion (Misc queries) | |||
Dates and times again | Excel Worksheet Functions | |||
merge dates and times into one column? | Excel Discussion (Misc queries) | |||
Formula to calculate elapsed time between certain dates and times | Excel Discussion (Misc queries) | |||
Times and Dates | Excel Discussion (Misc queries) |