View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default MS Excel 2007 bug in difference between time

Jon,

The difference between 2 times is a number of hours so perhaps you should be
using this.

=((C2-B2)*1440)/60

But this will return 7.5, why do you suppose it should be something different?

Mike

"Jon" wrote:

I've created a simple worksheet to return the difference between two times,
however, the first time is being reported incorrectly by 2 hours.

B2 - 11:00
C2 - 18:30
D2 - =C2-B2

MS Excel 2007

The result of D2 is returned as 07:30, whilst this should read 05:30. This
problem does not happen with another cell.
Am I using some incorrect formula?