#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 51
Default zeros

Why, in the result of a formula, does "0" sometimes appear as 0.00, (0.00),
or -? The formula and the formatting on all cells is the same and is a
simple formula like A4-B4.
Thanks
--
Allan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
Default zeros

I would select all those cells and format them alike.

"Flipper" wrote in message
...
Why, in the result of a formula, does "0" sometimes appear as 0.00,
(0.00),
or -? The formula and the formatting on all cells is the same and is a
simple formula like A4-B4.
Thanks
--
Allan



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default zeros

So what formatting do you think the cells do have?
Tell us what format the cell has for each of your results
0.00
(0.00)
-

I would bet that they are NOT all the same format.
--
David Biddulph


"Flipper" wrote in message
...
Why, in the result of a formula, does "0" sometimes appear as 0.00,
(0.00),
or -? The formula and the formatting on all cells is the same and is a
simple formula like A4-B4.
Thanks
--
Allan



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default zeros

Hi,

If the difference between A4 and B4 is very small but positive but you are
only displaying 2 decimals you could see 0.00. If the difference is very
small but negative you could see (0.00) and if the result was exactly 0 you
might see -

The format for this would be 0.00_);(0.00);-

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Flipper" wrote:

Why, in the result of a formula, does "0" sometimes appear as 0.00, (0.00),
or -? The formula and the formatting on all cells is the same and is a
simple formula like A4-B4.
Thanks
--
Allan

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default zeros

"Shane Devenshire" wrote:
If the difference between A4 and B4 is very small but positive but you are
only displaying 2 decimals you could see 0.00. If the difference is very
small but negative you could see (0.00) and if the result was exactly 0
you
might see -[.] The format for this would be 0.00_);(0.00);-


Or simply Accounting with "none" for Symbol. And with the default of 2
decimal places, the difference can be as large as about 0.0049... (meaning
any number of 9s).

The situation can be avoided by the prudent and prolific use of the ROUND
function, for example ROUND(A4-B4,2). And if A4 and B4 have values derive
from expressions, not just constants, it might be prudent to use
=ROUND(formula,2) in each of those cells.

PS: You might think that if you use ROUND(formula,2) in each of A4 and B4,
you should not need ROUND(A4-B4,2). But it would be better if you did the
latter as well to ensure that you do not encounter any surprises in other
formulas that might depend on that cell value.


----- original message -----

"Shane Devenshire" wrote in
message ...
Hi,

If the difference between A4 and B4 is very small but positive but you are
only displaying 2 decimals you could see 0.00. If the difference is very
small but negative you could see (0.00) and if the result was exactly 0
you
might see -

The format for this would be 0.00_);(0.00);-

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Flipper" wrote:

Why, in the result of a formula, does "0" sometimes appear as 0.00,
(0.00),
or -? The formula and the formatting on all cells is the same and is a
simple formula like A4-B4.
Thanks
--
Allan




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default zeros

Sorry about this response to an old thread that is surely no longer of
interest. My mistake in OE usage.


----- original message -----

"JoeU2004" wrote in message
...
"Shane Devenshire" wrote:
If the difference between A4 and B4 is very small but positive but you
are
only displaying 2 decimals you could see 0.00. If the difference is very
small but negative you could see (0.00) and if the result was exactly 0
you
might see -[.] The format for this would be 0.00_);(0.00);-


Or simply Accounting with "none" for Symbol. And with the default of 2
decimal places, the difference can be as large as about 0.0049... (meaning
any number of 9s).

The situation can be avoided by the prudent and prolific use of the ROUND
function, for example ROUND(A4-B4,2). And if A4 and B4 have values derive
from expressions, not just constants, it might be prudent to use
=ROUND(formula,2) in each of those cells.

PS: You might think that if you use ROUND(formula,2) in each of A4 and
B4, you should not need ROUND(A4-B4,2). But it would be better if you did
the latter as well to ensure that you do not encounter any surprises in
other formulas that might depend on that cell value.


----- original message -----

"Shane Devenshire" wrote in
message ...
Hi,

If the difference between A4 and B4 is very small but positive but you
are
only displaying 2 decimals you could see 0.00. If the difference is very
small but negative you could see (0.00) and if the result was exactly 0
you
might see -

The format for this would be 0.00_);(0.00);-

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Flipper" wrote:

Why, in the result of a formula, does "0" sometimes appear as 0.00,
(0.00),
or -? The formula and the formatting on all cells is the same and is a
simple formula like A4-B4.
Thanks
--
Allan



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
Zeros and #DIV/0! JD Excel Discussion (Misc queries) 5 September 6th 08 12:56 AM
when i megre cells that begin with zeros , I lose the zeros RDC Excel Discussion (Misc queries) 1 November 16th 07 03:31 PM
Essbase: Text zeros to number zeros santhu Excel Discussion (Misc queries) 1 March 23rd 07 01:01 PM
Charting zeros as non zeros Typical Village Idut Charts and Charting in Excel 3 February 8th 07 10:18 PM
save text field w/ leading zeros in .csv format & not lose zeros? Ques Excel Discussion (Misc queries) 1 May 4th 05 06:21 PM


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