Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Tom Tom is offline
external usenet poster
 
Posts: 49
Default Help with date difference

Cells A1 and B1 contains two different dates, 1/01/2008 and 8/04/2009. How
do you show the date difference in C1 which has the format yy:mm:dd as
01:03:07

TIA
Tom


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Help with date difference

=TEXT(DATEDIF(A1,B1,"y"),"00")&":"&TEXT(DATEDIF(A1 ,B1,"ym"),"00")&":"&TEXT(DATEDIF(A1,B1,"md"),"00")
--
David Biddulph

Tom wrote:
Cells A1 and B1 contains two different dates, 1/01/2008 and
8/04/2009. How do you show the date difference in C1 which has the
format yy:mm:dd as 01:03:07

TIA
Tom



  #3   Report Post  
Posted to microsoft.public.excel.misc
Tom Tom is offline
external usenet poster
 
Posts: 49
Default Help with date difference

That's neat. Thanks David.

Tom

"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
=TEXT(DATEDIF(A1,B1,"y"),"00")&":"&TEXT(DATEDIF(A1 ,B1,"ym"),"00")&":"&TEXT(DATEDIF(A1,B1,"md"),"00")
--
David Biddulph

Tom wrote:
Cells A1 and B1 contains two different dates, 1/01/2008 and
8/04/2009. How do you show the date difference in C1 which has the
format yy:mm:dd as 01:03:07

TIA
Tom





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between last date of month and given date Nikhil Excel Worksheet Functions 3 June 13th 08 01:03 PM
Date Difference Stockwell43 Excel Worksheet Functions 8 February 22nd 08 10:48 PM
Date difference = zero? jmj713 Excel Discussion (Misc queries) 6 October 20th 06 01:27 PM
Calculating Difference Between Start Date & Time And End Date & Ti Samwar Excel Discussion (Misc queries) 2 December 19th 05 12:42 PM
difference two date RKS Excel Discussion (Misc queries) 1 September 13th 05 11:31 AM


All times are GMT +1. The time now is 11:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"