View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default How to calculate diffrence in dates in days and Hours

For me it gives 4:0:01 with the below format

d:h:mm

--
Jacob (MVP - Excel)


"MsLearner" wrote:

Hello Jecob,

Result is not proper see the below table. in first line itself it is showing
0:44:27 which means 0 day, 440 Hrs and 27 mints which is wrong.



5/12/2010 7:22 5/12/2010 18:49 0:440:27
5/11/2010 13:00 5/12/2010 18:49 1:728:48
5/12/2010 15:21 5/12/2010 18:49 0:1400:27
5/12/2010 15:59 5/12/2010 18:49 0:680:49
5/12/2010 16:19 5/12/2010 18:49 0:248:30
5/11/2010 16:31 5/12/2010 18:49 1:368:18
5/12/2010 16:34 5/12/2010 18:49 0:680:14
5/12/2010 16:59 5/12/2010 18:49 0:176:50
5/12/2010 17:27 5/12/2010 18:49 0:416:22
5/11/2010 17:32 5/12/2010 18:49 1:1184:16
5/11/2010 17:35 5/12/2010 18:49 1:440:14
5/12/2010 17:36 5/12/2010 18:49 0:1064:12
5/11/2010 17:41 5/12/2010 18:49 1:1424:07
5/11/2010 17:43 5/12/2010 18:49 1:872:05
5/11/2010 17:47 5/12/2010 18:49 1:896:01
5/11/2010 17:47 5/12/2010 18:49 1:848:01
5/11/2010 17:52 5/12/2010 18:49 1:632:56
5/11/2010 20:24 5/12/2010 18:49 0:464:25
5/12/2010 23:17 5/12/2010
18:49 ################################################## ################################################## ################################################## ################################################## ################################################## #####
5/13/2010 0:14 5/12/2010
18:49 ################################################## ################################################## ################################################## ################################################## ################################################## #####
5/13/2010 1:04 5/12/2010
18:49 ################################################## ################################################## ################################################## ################################################## ################################################## #####
5/13/2010 5:56 5/12/2010
18:49 ################################################## ################################################## ################################################## ################################################## ################################################## #####
5/13/2010 7:52 5/12/2010
18:49 ################################################## ################################################## ################################################## ################################################## ################################################## #####
5/13/2010 8:46 5/12/2010
18:49 ################################################## ################################################## ################################################## ################################################## ################################################## #####
5/13/2010 11:02 5/12/2010
18:49 ################################################## ################################################## ################################################## ################################################## ################################################## #####
5/13/2010 11:11 5/12/2010
18:49 ################################################## ################################################## ################################################## ################################################## ################################################## #####
5/13/2010 11:13 5/12/2010
18:49 ################################################## ################################################## ################################################## ################################################## ################################################## #####
5/13/2010 11:45 5/12/2010
18:49 ################################################## ################################################## ################################################## ################################################## ################################################## #####
5/12/2010 12:00 5/12/2010 18:49 0:152:49
5/13/2010 12:10 5/12/2010
18:49 ################################################## ################################################## ################################################## ################################################## ################################################## #####
5/13/2010 12:10 5/12/2010
18:49 ################################################## ################################################## ################################################## ################################################## ################################################## #####


"Jacob Skaria" wrote:

In cell C2 enter the simple subtract formula =B2-A2 and custom format the
formula cell as below

d:[h]:mm

--
Jacob (MVP - Excel)


"MsLearner" wrote:

Hi,

I am working on data sheet and having to columns like Must be Solve Date and
Actual Solve date i want to find diffrence between these 2 in days:hrs:mints
in result column.

sample i have provided below. can some one help me what formula can bring be
exact diffrence in days:hrs:mints in Excel 2007

Must be reacted WasReacted Delay in Reaction
5/10/2010 6:05 5/10/2010 4:17
5/10/2010 7:43 5/10/2010 5:50
5/10/2010 9:22 5/10/2010 7:24
5/10/2010 10:30 5/10/2010 8:38
5/10/2010 11:10 5/10/2010 9:19