#1   Report Post  
heritage
 
Posts: n/a
Default zeros

I'm trying to display zeros as dashes. It works in most cells but in some
cells, it keeps displaying (0) even though the formatting is copied to the
relevant cell. BTW, the formatting is set to Accounting.

Thanks in advance!
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
maybe this number is actuially stored as 'Text'. What does the function
=ISNUMBER(Cell_reference)
return for this cell

"heritage" wrote:

I'm trying to display zeros as dashes. It works in most cells but in some
cells, it keeps displaying (0) even though the formatting is copied to the
relevant cell. BTW, the formatting is set to Accounting.

Thanks in advance!

  #3   Report Post  
CarlosAntenna
 
Posts: n/a
Default

If the value in the cell is coming from a formula, it may be that the value
has more than two decimal places and rounds to zero. In this case a zero
will be displayed. If the cell is truly blank or zero it will display a
dash.

Carlos

"heritage" wrote in message
...
I'm trying to display zeros as dashes. It works in most cells but in some
cells, it keeps displaying (0) even though the formatting is copied to the
relevant cell. BTW, the formatting is set to Accounting.

Thanks in advance!



  #4   Report Post  
CarlosAntenna
 
Posts: n/a
Default

There is a work-around for this. If you don't care abut losing precision,
you can set Tools options calculation precision as displayed. Then
the zeros will become dashes, but it may affect the value of other
calculations that reference these cells.

Carlos

"CarlosAntenna" wrote in message
...
If the value in the cell is coming from a formula, it may be that the

value
has more than two decimal places and rounds to zero. In this case a zero
will be displayed. If the cell is truly blank or zero it will display a
dash.

Carlos

"heritage" wrote in message
...
I'm trying to display zeros as dashes. It works in most cells but in

some
cells, it keeps displaying (0) even though the formatting is copied to

the
relevant cell. BTW, the formatting is set to Accounting.

Thanks in advance!





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
Format a cell to keep leading zeros. Shadyhosta New Users to Excel 5 July 27th 05 04:37 PM
is there a way to hide zeros in a line graph L Young Charts and Charting in Excel 6 January 22nd 05 01:48 AM
How do I stop excel removing zeros? tomcat Excel Discussion (Misc queries) 2 January 21st 05 05:40 PM
How do I eliminate zeros from my Excel database? HDOTM Excel Discussion (Misc queries) 1 January 13th 05 07:54 PM
EXcluding Zeros from the average in a row Geo Excel Discussion (Misc queries) 4 December 31st 04 04:07 PM


All times are GMT +1. The time now is 07:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"