To add to Peter's response, you can make a separate column for the pie
labels (presuming you're using labels, not the legend, for the slices) that
yields an empty string for those values that are zero. This way, you get no
labels for zero-value items:
Label Chart label Value
Tom =IF(C2<>0, A2, "") 1
Sally =IF(C3<>0, A3, "") 0
etc.
Use the Chart Label column for the chart. You can hide that column.

Signature
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------
> In a pie chart no slice is shown for a zero value, so unlike other chart
> types you don't really need to cater for it. Or, do you mean not display
[quoted text clipped - 20 lines]
>>
>> D
Jon Peltier - 31 Mar 2005 05:05 GMT
Alternatively, you can use a custom number format that excludes zero
displays, like one of these:
0;;;
0%;;;
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______
> To add to Peter's response, you can make a separate column for the pie
> labels (presuming you're using labels, not the legend, for the slices) that
[quoted text clipped - 7 lines]
>
> Use the Chart Label column for the chart. You can hide that column.
Earl Kiosterud - 31 Mar 2005 16:52 GMT
Jon,
I don't think I follow. The idea is to make the label disappear when the
value is zero. The label and the value are in separate cells.

Signature
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------
> Alternatively, you can use a custom number format that excludes zero
> displays, like one of these:
[quoted text clipped - 21 lines]
>>
>> Use the Chart Label column for the chart. You can hide that column.
Peter T - 31 Mar 2005 17:28 GMT
Earl,
Jon's neat idea will display no value in the label, and the label
"apparently" disappear providing labels are formatted with Fill and Border
"None".
In Format labels..., try custom number format like this:
General;General;
"General" can be changed as required but nothing after the second ";", the
zero value format.
This also assume that Labels are set to "show value" rather than "show
label" in Chart Options > Data Labels.
We never did learn what the OP didn't want to show, so we don't know if his
Labels show values or labels, if indeed his problem concerns labels !
Regards,
Peter T
PS your idea is very clever !
> Jon,
>
[quoted text clipped - 31 lines]
> >>
> >> Use the Chart Label column for the chart. You can hide that column.
Earl Kiosterud - 01 Apr 2005 16:09 GMT
Peter,
Yeah. I presumed the OP wanted category names for labels, not values. I
think Jon's solution was for showing values.

Signature
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------
> Earl,
>
[quoted text clipped - 56 lines]
>> >>
>> >> Use the Chart Label column for the chart. You can hide that column.
Jon Peltier - 02 Apr 2005 04:41 GMT
Earl -
That's right, I was thinking of values, and I replied to your post without noticing
that the formulas pointed to the labels.
- Jon
> Peter,
>
> Yeah. I presumed the OP wanted category names for labels, not values. I
> think Jon's solution was for showing values.