Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kalabbi
 
Posts: n/a
Default How do I hide data labels in a pie chart that have a value of 0?

I have a workbook that contains a lot of pie charts that pull data from the
various worksheets. Sometimes the value is "0" for a data point and I would
like to know if there is a way to hide the data labels for these data points
so I don't have to manually hide them. The data in this workbook is changed
often so I don't want to delete the data labels and then have to go through
the process of re-inserting them later.
  #2   Report Post  
John Mansfield
 
Posts: n/a
Default

Andy Pope has a solution on his site . . .

http://www.andypope.info/charts/piezeros.htm

----
Regards,
John Mansfield
http://www.pdbook.com

"Kalabbi" wrote:

I have a workbook that contains a lot of pie charts that pull data from the
various worksheets. Sometimes the value is "0" for a data point and I would
like to know if there is a way to hide the data labels for these data points
so I don't have to manually hide them. The data in this workbook is changed
often so I don't want to delete the data labels and then have to go through
the process of re-inserting them later.

  #3   Report Post  
Jon Peltier
 
Posts: n/a
Default

If all your labels contain is the value, you can use a custom number
format. Double click the labels, click on the Number tab, select Custom
in the left hand list, and enter soemthing like this

0;;;

in the box. A custom number format has up to four items, arranged like this:

{positive format};{negative format};{zero format};{text format}

The format above tells Excel to use "0" as the format for positive
numbers, nothing for negatives, nothing for zeros, and nothing for text.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

Kalabbi wrote:
I have a workbook that contains a lot of pie charts that pull data from the
various worksheets. Sometimes the value is "0" for a data point and I would
like to know if there is a way to hide the data labels for these data points
so I don't have to manually hide them. The data in this workbook is changed
often so I don't want to delete the data labels and then have to go through
the process of re-inserting them later.

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
How do I get my data labels on a pivot chart to retain their form. s de maia Charts and Charting in Excel 1 March 18th 05 03:34 AM
Pie Chart Data Labels gb_S49 Charts and Charting in Excel 4 January 26th 05 02:37 PM
Help with data not getting plotted Scott Ehrlich Excel Discussion (Misc queries) 2 January 25th 05 05:17 AM
Help with data not getting plotted Scott Ehrlich Charts and Charting in Excel 1 January 23rd 05 05:15 PM
changing proportion of chart and data table Dawn Parks Charts and Charting in Excel 3 January 6th 05 01:18 AM


All times are GMT +1. The time now is 07:06 AM.

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"