arc90 lab | tools: Link Thumbnail
Excel Help Forum
ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Microsoft Office Application Help - Excel Help forum > Excel Programming > Excel Charting

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-01-2005, 02:19 PM
jhorsley jhorsley is offline
Registered User
 
Join Date: 08 Aug 2005
Posts: 12
jhorsley is an unknown quantity at this point
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
Reply With Quote
  #2  
Old 11-02-2005, 11:09 AM
Thiem Thiem is offline
Registered User
 
Join Date: 22 Sep 2005
Posts: 28
Thiem is an unknown quantity at this point
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(B5>0,B5," ") and if any number = 0, it wont be calculated into you pie chart

Cheers


Thiem
Reply With Quote
  #3  
Old 11-02-2005, 11:10 AM
Thiem Thiem is offline
Registered User
 
Join Date: 22 Sep 2005
Posts: 28
Thiem is an unknown quantity at this point
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(B5>0,B5," ") and if any number = 0, it wont be calculated into you pie chart

Cheers


Thiem
Reply With Quote
  #4  
Old 11-02-2005, 06:17 PM
Ken Wright
Guest
 
Posts: n/a
Re: 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" <jhorsley.1xu3qi_1130875821.1594@excelforum-nospam.com> wrote in
message news:jhorsley.1xu3qi_1130875821.1594@excelforum-nospam.com...
>
> 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
>



Reply With Quote
  #5  
Old 11-02-2005, 06:50 PM
Jon Peltier
Guest
 
Posts: n/a
Re: 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.
>

Reply With Quote
  #6  
Old 11-04-2005, 12:50 PM
Ken Wright
Guest
 
Posts: n/a
Re: Only chart certain values

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

Cheers Jon

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

"Jon Peltier" <jonREMOVExlmvp@peltierCAPStech.com> wrote in message
news:%234EzU9$3FHA.3292@tk2msftngp13.phx.gbl...
> 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.
>>



Reply With Quote
Reply

Bookmarks

New topics in Excel Charting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -4. The time now is 08:15 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0