View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
msbutton27 msbutton27 is offline
external usenet poster
 
Posts: 7
Default How to I subtract two dates & times to obtain a time

Thanks for the reply, but the equation below fails. I setup Column A,B and C
as time you suggested below and it gives me the #VALUE! sign :(

Any other suggestions on what I might be doing wrong.

"Mike H" wrote:

Hi,

=B1-A1

format as [hh]:mm

Mike

"msbutton27" wrote:

Hi folks, I have hopefully what will be a quick and easy question.

I have two colums (A & B) that hold two date and time values, a start and
complete time.
Jul 19 2009 08:30 Jul 19 2009 12:54

I want to be able to find out the actual time difference, for example above
would show 4:24 hours.

In some cases the start and complete dates could be a day or 2 apart,
therefore I would want the output to be displayed in hour format, for example:

Jul 17 2009 08:30 Jul 19 2009 12:54

Column C should be 52:24 hours.

Is there a way to do this.