Calculate Difference b/e 2 dates.

S

scharee

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
 
S

swatsp0p

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

Bruc
 
N

Niek Otten

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

--
Kind regards,

Niek Otten

Microsoft MVP - Excel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top