A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Suppressing categories with 0 values



 
 
Thread Tools Display Modes
  #1  
Old May 16th, 2004, 03:56 AM
Confusious
external usenet poster
 
Posts: n/a
Default Suppressing categories with 0 values

Hi all,

I'm trying to build a dynamic chart for sales data. The output file contains two columns, A and B. Column A contains categories, i.e. Apples, Oranges, Pears, etc.,. and B contains sales data, i.e. 5, 0, 10, etc.,. respectively. The ouput data comes out monthly. Some months will contain sales from all categories, some ten, some fifty. I want the chart to only graph categories with non-zero values, i.e. if there are 100 categories and only 30 with sales numbers there is no point in showing the other 70 categories with zero values. I can format column B with zero values to show #N/A or "", but either way the categories are shown on the graph. I only know the autofilter feature to suppress "" (blank) cells so the chart doesn't show it, but this is cumbersome as the chart has to be update manually each time. Any thoughts?

Thanks,

VT
  #2  
Old May 16th, 2004, 09:03 AM
Frank Kabel
external usenet poster
 
Posts: n/a
Default Suppressing categories with 0 values

Hi
have a look at
http://andypope.info/charts/piezeros.htm

--
Regards
Frank Kabel
Frankfurt, Germany


Confusious wrote:
Hi all,

I'm trying to build a dynamic chart for sales data. The output file
contains two columns, A and B. Column A contains categories, i.e.
Apples, Oranges, Pears, etc.,. and B contains sales data, i.e. 5, 0,
10, etc.,. respectively. The ouput data comes out monthly. Some
months will contain sales from all categories, some ten, some fifty.
I want the chart to only graph categories with non-zero values, i.e.
if there are 100 categories and only 30 with sales numbers there is
no point in showing the other 70 categories with zero values. I can
format column B with zero values to show #N/A or "", but either way
the categories are shown on the graph. I only know the autofilter
feature to suppress "" (blank) cells so the chart doesn't show it,
but this is cumbersome as the chart has to be update manually each
time. Any thoughts?

Thanks,

VT


 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.