Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Negative Zero (-0.00)

Hiya,

Im just doing a spreadsheet and have two columns auto-sumed (A15 & B15 show
totals).

I have a forumla in C15 which is '=A15-B15', yet the answer is coming out as
-0.00 when in actual fact it should be 0.00 (without the negative in front).
Is there a way to fix this as it is messing up other forumla's in the
spreadsheet because it is a negative value and not a 'positive' zero.

Thanks,
Samuel.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Negative Zero (-0.00)

=ROUND(A15-B15,2)
--
David Biddulph

"Samuel" wrote in message
...
Hiya,

Im just doing a spreadsheet and have two columns auto-sumed (A15 & B15
show
totals).

I have a forumla in C15 which is '=A15-B15', yet the answer is coming out
as
-0.00 when in actual fact it should be 0.00 (without the negative in
front).
Is there a way to fix this as it is messing up other forumla's in the
spreadsheet because it is a negative value and not a 'positive' zero.

Thanks,
Samuel.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Negative Zero (-0.00)

Hi,

You'll probably find that the cell isn't zero at all but is showing as zero
because your only showing 2 decimal places.

Try this to eliminate it but be aware it does change the value of the number

=ROUND(A15-B15,2)

Mike

"Samuel" wrote:

Hiya,

Im just doing a spreadsheet and have two columns auto-sumed (A15 & B15 show
totals).

I have a forumla in C15 which is '=A15-B15', yet the answer is coming out as
-0.00 when in actual fact it should be 0.00 (without the negative in front).
Is there a way to fix this as it is messing up other forumla's in the
spreadsheet because it is a negative value and not a 'positive' zero.

Thanks,
Samuel.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Negative Zero (-0.00)

Hi,

Computers work in binary, we work in decimals

Here is everything you need to know about this issue (and more):

http://support.microsoft.com/kb/78113/en-us
http://support.microsoft.com/kb/42980
http://support.microsoft.com/kb/214118
http://www.cpearson.com/excel/rounding.htm
http://docs.sun.com/source/806-3568/ncg_goldberg.html

If this helps, please cliick the Yes button.
--
Thanks,
Shane Devenshire


"Samuel" wrote:

Hiya,

Im just doing a spreadsheet and have two columns auto-sumed (A15 & B15 show
totals).

I have a forumla in C15 which is '=A15-B15', yet the answer is coming out as
-0.00 when in actual fact it should be 0.00 (without the negative in front).
Is there a way to fix this as it is messing up other forumla's in the
spreadsheet because it is a negative value and not a 'positive' zero.

Thanks,
Samuel.

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
Changing color of negative bar when using Invert if negative Breck Charts and Charting in Excel 9 March 4th 08 12:40 PM
I want to get negative hours if subtraction of hours is negative hema Excel Worksheet Functions 5 April 30th 07 10:02 AM
Set negative numbers to zero. Do not calculate with negative valu Excel Headache Excel Discussion (Misc queries) 4 September 14th 06 08:56 PM
Formula to make Negative Values Positive & Positive Values Negative? mustard Excel Discussion (Misc queries) 4 September 26th 05 10:05 PM
2003= negative number&2004= negative number How Do I Calculate gro Jason Excel Worksheet Functions 1 January 14th 05 05:24 PM


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