Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
scharee
 
Posts: n/a
Default Calculate Difference b/e 2 dates.


How can i calculate difference b/w two dates:
Date1 Date2
30-JUL-2005 23:43:23 01-AUG-2005 18:10:01

Result format should be Hours:Minutes:Seconds.


--
scharee
------------------------------------------------------------------------
scharee's Profile: http://www.excelforum.com/member.php...o&userid=25820
View this thread: http://www.excelforum.com/showthread...hreadid=392160

  #2   Report Post  
swatsp0p
 
Posts: n/a
Default


Assuming your dates are in A1 and A2, in A3 enter this formula:

=A2-A1 and format this cell as Custom[h]:mm:ss

Your example returns: 42:26:38

HTH

Bruce


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=392160

  #3   Report Post  
Niek Otten
 
Posts: n/a
Default

=A2-A1, Format as [h]:mm:ss

--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"scharee" wrote in
message ...

How can i calculate difference b/w two dates:
Date1 Date2
30-JUL-2005 23:43:23 01-AUG-2005 18:10:01

Result format should be Hours:Minutes:Seconds.


--
scharee
------------------------------------------------------------------------
scharee's Profile:
http://www.excelforum.com/member.php...o&userid=25820
View this thread: http://www.excelforum.com/showthread...hreadid=392160



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
How do I calculate duration between two dates and times in excel? Robin CSM002 Excel Discussion (Misc queries) 3 May 13th 23 07:42 PM
Calculate numbers between 2 dates Rajiv@Ivey Excel Discussion (Misc queries) 0 May 17th 05 06:25 PM
formula to calculate # of days between dates, excluding holidays abs2299 Excel Discussion (Misc queries) 8 March 3rd 05 02:21 AM
Calculate difference between two dates Trainer Excel Worksheet Functions 1 February 11th 05 02:04 PM
How do I calculate difference in days & hours between two dates e. probi2 Excel Worksheet Functions 1 January 12th 05 03:59 PM


All times are GMT +1. The time now is 12:14 AM.

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

About Us

"It's about Microsoft Excel"