Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 10
Default How to stop Pie Chart from using N/A# for values

Hello,

I have 2 columns: Column 1 is customer name. Column 2 is sales for the
period.

If a customer had no sales for the period the sales column will either be
N/A# or zero. When I plot in a pie chart, I only want to show customers who
had sales for that period.

Is there a way to only plot those customers with sales without having to
change the range and sort every period?

Customer Sales
Cust1 $100
Cust2 0
Cust3 $50
Cust4 N/A

The pie chart data labels show the customer regardless of sales and if I
blank out the customer, the value data label still shows 0 or N/A.

thanx for any direction.

db



  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,069
Default How to stop Pie Chart from using N/A# for values

Try using auto filter on the sales to show everything over 0. This will get
rid of the zero's and n/a, and create the chart from that data. If you need
to remove the filter but keep the filtered chart you will need to copy it
into word as an image and then copy it back to excel.
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"Dave" wrote:

Hello,

I have 2 columns: Column 1 is customer name. Column 2 is sales for the
period.

If a customer had no sales for the period the sales column will either be
N/A# or zero. When I plot in a pie chart, I only want to show customers who
had sales for that period.

Is there a way to only plot those customers with sales without having to
change the range and sort every period?

Customer Sales
Cust1 $100
Cust2 0
Cust3 $50
Cust4 N/A

The pie chart data labels show the customer regardless of sales and if I
blank out the customer, the value data label still shows 0 or N/A.

thanx for any direction.

db




  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 10
Default How to stop Pie Chart from using N/A# for values

Thanks for the input. This was for a user who isn't very good with Excel.
In one column I used an IF statement to pull customer names who had greater
than zero sales then in the next column I wrote a custom function that
creates a list of unique customers (igores blanks and errors) and adds the
number of customers found at the top of the array. I then used SUMIF to get
their total sales next to their names.

For the chart(s) I used a dynamic range that is based on the number of
unique customers I found thru my custom function. The range grows or
shrinks based on that number (I used the Offset function when defining the
range). A little too complicated for this user so I said "just use it -
it's magic."

db
"john" wrote in message
...
Try using auto filter on the sales to show everything over 0. This will
get
rid of the zero's and n/a, and create the chart from that data. If you
need
to remove the filter but keep the filtered chart you will need to copy it
into word as an image and then copy it back to excel.
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"Dave" wrote:

Hello,

I have 2 columns: Column 1 is customer name. Column 2 is sales for the
period.

If a customer had no sales for the period the sales column will either be
N/A# or zero. When I plot in a pie chart, I only want to show customers
who
had sales for that period.

Is there a way to only plot those customers with sales without having to
change the range and sort every period?

Customer Sales
Cust1 $100
Cust2 0
Cust3 $50
Cust4 N/A

The pie chart data labels show the customer regardless of sales and if I
blank out the customer, the value data label still shows 0 or N/A.

thanx for any direction.

db






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
can i stop repeating values? Haitham Excel Discussion (Misc queries) 2 August 3rd 06 09:01 AM
How do I stop #DIV/0! when some of my values are zero? japc90 Excel Discussion (Misc queries) 3 July 9th 06 07:13 PM
How do I stop line on chart - Pste-specl-values (BLANKS) in VB KoLM#s Charts and Charting in Excel 0 January 30th 06 12:38 PM
How do I stop excel replacing numerical values with the date? Becca C Excel Discussion (Misc queries) 2 December 21st 04 12:12 PM
Stop rounding values Keith Excel Worksheet Functions 3 November 11th 04 04:29 PM


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