dont show zero vaules in a chart

G

Guest

I have a chart that is tracking sales for the month, (by day) the chart has
Zero values due to an "IF" statment that has a false or the reference cell is
not yet filled in resulting in a "zero value"
the chart has a trend line that is tending based on all the remaining zero
values .

I have changed the Chart options to not display zeros, but this doesnt solve
it.
 
L

Lori H.

I'm having a similar problem, using a pie-in-pie chart on Excel 2003 (SP3).
I'm using NA() - this returns the #NA error
BUT when I go to tools > options to set the chart preference to ignore
empty, the option is grayed out (not functional). Is this due to security
settings (I am on a workplace computer), or is there something else I can
check?
 
J

Jon Peltier

The Ignore Empty Cells setting:
- Applies to Line and XY charts for Interpolate/Blank/Zero
- Applies to Column/Bar charts for Blank/Zero
- Applies to Area charts for Interpolate/Zero
- Does not apply at all to Pie charts
- Only applies to empty cells, not to cells containing "" or NA()
NA() results in interpolated lines in Line and XY charts
NA() is treated as zero in other charts
"" and other text and errors are treated as zero in all charts.

- Jon
 
L

Lori H.

So, is there a way to NOT show 0 values in a pie chart?
I want to data labels (other than 0), but I don't want to delete the labels
for the 0 values because I want the chart to update when the data changes (so
in the future if one of the 0s becomes >0, the data label should return).
 
J

Jake

Hello,

I have a similar problem about displaying zeroes, although mine is not to
display the category label when the value is zero but I don't want to use
filter to hide zeroes in the worksheet.

Please help.

Thanks


Jake
 
J

Jon Peltier

There are VBA ways:
search Google Groups for my name and 'hide zeros' or 'don't include zeros'
or similar terms

and formulaic ways:
check out Chip Pearson's site, http://cpearson.com, and look for his
techniques for extracting values according to certain rules

Choose your poison.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top