Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Dom Dom is offline
external usenet poster
 
Posts: 46
Default Calculating the difference between 2 dates and times

I am wanting to figure out the difference between 2 dates ie the difference
in time between 12/09/2007 11:09 and 12/12/2007 15:19 so it will basically
show how long it has been overdue if that makes sense. I want to show it in
month:date:hours.

Basically the first date is to show when something should have been
completed and the other date is todays date, so it is to show how overdue the
order is!!!

Hope that all makes sense
Please help

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Calculating the difference between 2 dates and times

=DATEDIF(A1,A2,"m")&" months "&DATEDIF(A1,A2,"md")&" days
"&TEXT(MOD(A2-A1,1),"h")&" hours"
or adjust to suit your desired output format.
--
David Biddulph

"Dom" wrote in message
...
I am wanting to figure out the difference between 2 dates ie the difference
in time between 12/09/2007 11:09 and 12/12/2007 15:19 so it will basically
show how long it has been overdue if that makes sense. I want to show it
in
month:date:hours.

Basically the first date is to show when something should have been
completed and the other date is todays date, so it is to show how overdue
the
order is!!!

Hope that all makes sense
Please help



  #3   Report Post  
Posted to microsoft.public.excel.misc
Dom Dom is offline
external usenet poster
 
Posts: 46
Default Calculating the difference between 2 dates and times

Thank you for your help that has worked perfectly

: )

"David Biddulph" wrote:

=DATEDIF(A1,A2,"m")&" months "&DATEDIF(A1,A2,"md")&" days
"&TEXT(MOD(A2-A1,1),"h")&" hours"
or adjust to suit your desired output format.
--
David Biddulph

"Dom" wrote in message
...
I am wanting to figure out the difference between 2 dates ie the difference
in time between 12/09/2007 11:09 and 12/12/2007 15:19 so it will basically
show how long it has been overdue if that makes sense. I want to show it
in
month:date:hours.

Basically the first date is to show when something should have been
completed and the other date is todays date, so it is to show how overdue
the
order is!!!

Hope that all makes sense
Please help




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
Calculating difference between two times Jaycatt Excel Worksheet Functions 2 August 8th 06 08:01 PM
Need difference between two dates/times in hours ramsdesk Excel Worksheet Functions 10 April 25th 06 11:33 PM
Difference in dates calculations except between certain times. Steve Hud Excel Discussion (Misc queries) 1 January 13th 06 01:10 PM
HOURS DIFFERENCE IN TIME BETWEEN DIFFERENT DATES AND TIMES tankerman Excel Worksheet Functions 1 September 13th 05 04:31 PM
Difference between 2 times and dates Stefan Buijs Excel Worksheet Functions 1 May 26th 05 02:21 PM


All times are GMT +1. The time now is 08:45 PM.

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"