Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jhorsley
 
Posts: n/a
Default Only chart certain values


I'm trying to chart some data into a pie chart automatically once a moth
or so. I just want to add the data and have the chart chart itself.
The problem is that some of the data can come in with a zero value one
month and other months a value above 0. For the months that it comes
in as zero I don't want the chart to graph it.

Is there a way to do this?

Thanks

jhorsley


--
jhorsley
------------------------------------------------------------------------
jhorsley's Profile: http://www.excelforum.com/member.php...o&userid=26040
View this thread: http://www.excelforum.com/showthread...hreadid=480868

  #2   Report Post  
Ken Wright
 
Posts: n/a
Default Only chart certain values

Have the data you are pulling from be the result of formulas such as
=IF(xyz=0,NA(),xyz)

This means that in place of 0 you will have N/A and that will not be plotted
on the chart (Unless it is one specific type which will still show it -
Can't remember which).

Assume it's a line chart or something similar and you just don't want the
line dropping to the axis for the missing data.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------


"jhorsley" wrote in
message ...

I'm trying to chart some data into a pie chart automatically once a moth
or so. I just want to add the data and have the chart chart itself.
The problem is that some of the data can come in with a zero value one
month and other months a value above 0. For the months that it comes
in as zero I don't want the chart to graph it.

Is there a way to do this?

Thanks

jhorsley


--
jhorsley
------------------------------------------------------------------------
jhorsley's Profile:
http://www.excelforum.com/member.php...o&userid=26040
View this thread: http://www.excelforum.com/showthread...hreadid=480868



  #3   Report Post  
Jon Peltier
 
Posts: n/a
Default Only chart certain values

The problem with a zero is not that the wedge will show; it won't. The
problem is that a data label will show. Both suggestions so far, using
IF to replace zero with NA() or with "" still leave an unwanted label,
which either shows 0 or #N/A.

Andy Pope shows a dynamic range technique to omit these zeros on his web
site:

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

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


Ken Wright wrote:

Have the data you are pulling from be the result of formulas such as
=IF(xyz=0,NA(),xyz)

This means that in place of 0 you will have N/A and that will not be plotted
on the chart (Unless it is one specific type which will still show it -
Can't remember which).

Assume it's a line chart or something similar and you just don't want the
line dropping to the axis for the missing data.

  #4   Report Post  
Ken Wright
 
Posts: n/a
Default Only chart certain values

Dohhh - didn't even see the reference to a Pie chart :-(

Cheers Jon

Regards
Ken............

"Jon Peltier" wrote in message
...
The problem with a zero is not that the wedge will show; it won't. The
problem is that a data label will show. Both suggestions so far, using IF
to replace zero with NA() or with "" still leave an unwanted label, which
either shows 0 or #N/A.

Andy Pope shows a dynamic range technique to omit these zeros on his web
site:

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

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


Ken Wright wrote:

Have the data you are pulling from be the result of formulas such as
=IF(xyz=0,NA(),xyz)

This means that in place of 0 you will have N/A and that will not be
plotted on the chart (Unless it is one specific type which will still
show it - Can't remember which).

Assume it's a line chart or something similar and you just don't want the
line dropping to the axis for the missing data.



  #5   Report Post  
Thiem
 
Posts: n/a
Default Only chart certain values


Yes there is, however this will be a simple IF fuction

Say you chart info cells is B5:B10

Use the following in cell C5:C10 and use cells C5:C10 as your new data
range

=IF(B50,B5," ") and if any number = 0, it wont be calculated into you
pie chart

Cheers


Thiem


--
Thiem
------------------------------------------------------------------------
Thiem's Profile: http://www.excelforum.com/member.php...o&userid=27474
View this thread: http://www.excelforum.com/showthread...hreadid=480868



  #6   Report Post  
Thiem
 
Posts: n/a
Default Only chart certain values


Yes there is, however this will be a simple IF fuction

Say you chart info cells is B5:B10

Use the following formula in cell C5:C10 and use cells C5:C10 as your
new data range

=IF(B50,B5," ") and if any number = 0, it wont be calculated into you
pie chart

Cheers


Thiem


--
Thiem
------------------------------------------------------------------------
Thiem's Profile: http://www.excelforum.com/member.php...o&userid=27474
View this thread: http://www.excelforum.com/showthread...hreadid=480868

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
Zero values in a log chart Joelle_Smith Charts and Charting in Excel 2 May 8th 23 03:42 AM
Chart to report frequency of a value as a percentage of values johnnyrover Charts and Charting in Excel 1 August 27th 05 04:55 PM
Urgent Chart Assistance Brent E Charts and Charting in Excel 1 May 10th 05 09:09 AM
I want to ignore invalid values in scatter chart Phil Rowe Charts and Charting in Excel 2 May 6th 05 01:12 PM
line chart displays wrong values koche005 Charts and Charting in Excel 1 February 26th 05 09:43 PM


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