Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Negative times are displayed a ###########

Dear Experts,
How can I get the real figure if I have the following message?
Negative times are displayed a ###########.
Actually I got the above massage from the below formula.
=2:49 - 3:17, (hh:mm format)
Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Negative times are displayed a ###########

This is because it is running over midnight.

Try

=MOD(A2-B2,1)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Omar" wrote in message
ups.com...
Dear Experts,
How can I get the real figure if I have the following message?
Negative times are displayed a ###########.
Actually I got the above massage from the below formula.
=2:49 - 3:17, (hh:mm format)
Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Negative times are displayed a ###########

You can overcome that by using the 1904 date/time system, but at a price.
ToolsOptionsCalculation tab, check 1904 date system
Note that all dates in your workbook will change.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"Omar" wrote in message ups.com...
| Dear Experts,
| How can I get the real figure if I have the following message?
| Negative times are displayed a ###########.
| Actually I got the above massage from the below formula.
| =2:49 - 3:17, (hh:mm format)
| Thanks.
|


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Negative times are displayed a ###########

You can change the date system to 1904 system BUT all dates in your w/book
will be out by 4 years. (Tools=Options==Calculation)

Or convert to decimal times (multiply by 24) and format cells as general or
number.

Multiply result of subtraction by 60 to get results in minutes.

HTH

"Omar" wrote:

Dear Experts,
How can I get the real figure if I have the following message?
Negative times are displayed a ###########.
Actually I got the above massage from the below formula.
=2:49 - 3:17, (hh:mm format)
Thanks.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default Negative times are displayed a ###########

Omar,
You have certainly these hh:mm's in appropriate cells, say A1 and A2. For
obtaining allways the meaningful result (within 24 hours, of course) use
conditionally

=IF(A1<A2;1+A1-A2;A1-A2)

- it "borrows" a necessary day to the calculation.
--
Petr


"Omar" wrote:

Dear Experts,
How can I get the real figure if I have the following message?
Negative times are displayed a ###########.
Actually I got the above massage from the below formula.
=2:49 - 3:17, (hh:mm format)
Thanks.


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
Zero displayed in place of negative values TC Excel Discussion (Misc queries) 3 May 9th 07 08:07 PM
negative dates or times are displayed as # # # # Amr Shehata Excel Worksheet Functions 4 February 2nd 07 11:35 AM
negative dates or times are displayed as # # # # Amr Shehata New Users to Excel 3 November 9th 06 12:34 PM
Negative Times Displayed as # # # # AntnyMI Excel Discussion (Misc queries) 1 September 21st 06 04:43 PM
Whats the function to count the total times a word is displayed Monk Excel Discussion (Misc queries) 3 December 10th 04 10:39 PM


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