![]() |
How to calculate diffrence in dates in days and Hours
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 |
How to calculate diffrence in dates in days and Hours
Hello,
With my UDF count_hours you can accurately define which hours for which weekdays you want to take into account (even taking care about holidays): http://sulprobil.com/html/count_hours.html Regards, Bernd |
How to calculate diffrence in dates in days and Hours
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 |
How to calculate diffrence in dates in days and Hours
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 |
How to calculate diffrence in dates in days and Hours
Remove the brackets from around the [h]:
d h:mm Note that the max number of days that will be displayed is based on the number of days in the current month. For example: 4/12/2010 7:22 ... 5/14/2010 18:49 The correct result should be 32 11:27 but the displayed result will be 1 11:27. The days will roll over at the max number of days in the current month but there is no way to stop that from happening with a custom number format. -- Biff Microsoft Excel MVP "MsLearner" wrote in message ... 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 |
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 |
How to calculate diffrence in dates in days and Hours
I am sorry; it gives the below for the first entry
0:11:27 -- 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 |
All times are GMT +1. The time now is 07:22 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com