Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jon Jon is offline
external usenet poster
 
Posts: 183
Default MS Excel 2007 bug in difference between time

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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
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?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default MS Excel 2007 bug in difference between time

According to you example data, the correct result is indeed 7:30.

Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


On Fri, 19 Dec 2008 06:01:01 -0800, 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?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default MS Excel 2007 bug in difference between time

From 11 AM to 6:30 PM is 7 Hours and 30 Minutes. Or subtracting 11
hours from 18 hours and 30 minutes leaves 7 hours and 30 minutes. Please
re-examine expectations.

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?


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
subtract the time difference from another time difference Dannigirl Excel Discussion (Misc queries) 3 September 30th 07 03:47 PM
Difference in dates in Excel 2007 pcor New Users to Excel 7 September 25th 07 09:14 PM
Time difference calculations, daylight savings time, Excel Tim Excel Discussion (Misc queries) 1 December 28th 06 04:18 PM
Negative time should be allowed in Excel, eg time difference Bengt-Inge Larsson Excel Discussion (Misc queries) 2 October 13th 05 12:59 PM
How can I use a time difference in a subsequent formula in Excel? numberman37 Excel Worksheet Functions 10 July 26th 05 07:42 PM


All times are GMT +1. The time now is 12:20 AM.

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"