LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Pontoon
 
Posts: n/a
Default I need to find the yy/mm/dd AND hh:mm:ss between 2 time stamps

I need to work out the number of years, months, days AND the elapsed time
between two timestamps. I can compare dates OR Times, but not both together.

If I do a simple subtract ( A1-A2 ) with the results in A3 formatted using
the custom format
yy" Years" mm" Months" dd" Days" hh" Hours" mm" Minutes" ss" seconds"

it almost works - HOWEVER Excel seems to add a spurious month to the results.

(It seems to also do this even if I enter a zero into a cell, then format it
using the same custom format! )

I must be doing something stupid, so any help would be more than welcome.
 
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
sum time in hh:mm:ss format steven Excel Discussion (Misc queries) 1 May 17th 06 05:17 PM
Negative time value hh:mm:ss Jelinek Excel Discussion (Misc queries) 5 March 20th 06 04:48 PM
Time for some help (Please!) Dean Excel Worksheet Functions 5 May 19th 05 06:14 AM
can you input time (hh:mm:ss) without having to input the colon i. Lexicon Excel Discussion (Misc queries) 4 January 11th 05 02:09 PM
Time - converting HH:MM:SS to Minutes Noel S Pamfree Excel Worksheet Functions 3 January 8th 05 04:26 PM


All times are GMT +1. The time now is 05:01 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"