#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Graphwork

Hello

I am producing a simple spreadsheet for analysis of a clients life
insurance needs. The results within the sheet will then create a graph
showing the various areas they need to cover. I have done this in a
pie chart (pay mortgage, funeral costs, clear credit card debt etc)

The chart is just fine however because I have about 15 possible cells
to complete on the spreadsheet, depending on the client, some will
remain empty (as they have no such need) The problem i have is that
the resulting graph is cluttered up with legends for the '0' or zero
categories. Is there an easy way to select these to not appear? I only
want those with amounts above zero to show on the graph

Thanks heaps


Tony

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Graphwork

Hi I don't think this is possible to automate the chart to display non-zero
entries only. The only way round it would be to put the zeros at the top or
bottom, perhaps by sorting, then re-create the chart excluding the zero
entries. It would be possible to write a macro that automates this, but
depending on how often the chart would need to be refreshed it'd probably be
best just to manually re-sort and re-create the chart as and when needed.

" wrote:

Hello

I am producing a simple spreadsheet for analysis of a clients life
insurance needs. The results within the sheet will then create a graph
showing the various areas they need to cover. I have done this in a
pie chart (pay mortgage, funeral costs, clear credit card debt etc)

The chart is just fine however because I have about 15 possible cells
to complete on the spreadsheet, depending on the client, some will
remain empty (as they have no such need) The problem i have is that
the resulting graph is cluttered up with legends for the '0' or zero
categories. Is there an easy way to select these to not appear? I only
want those with amounts above zero to show on the graph

Thanks heaps


Tony


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Graphwork

Remove the legend. Put custom labels into a cell next to the data. Suppose
your categories are in column A and the values in column B. Then in C1 enter
this formula

=IF(B1=0,"",A1&" ("&B1&")")

This makes C1 look blank unless there is a value in B1, then it gives you a
label like "Mortgage (1500)". You can get fancier with the label, of course.

Then use one of these free Excel utilities to apply the labels in column C
to the data in your chart:

Rob Bovey's Chart Labeler, http://appspro.com
John Walkenbach's Chart Tools, http://j-walk.com

When a wedge isn't showing, its value is zero, so the data label doesn't
appear.

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


"Not-so-Old Excel Veteran" <Not-so-Old Excel
wrote in message
...
Hi I don't think this is possible to automate the chart to display
non-zero
entries only. The only way round it would be to put the zeros at the top
or
bottom, perhaps by sorting, then re-create the chart excluding the zero
entries. It would be possible to write a macro that automates this, but
depending on how often the chart would need to be refreshed it'd probably
be
best just to manually re-sort and re-create the chart as and when needed.

" wrote:

Hello

I am producing a simple spreadsheet for analysis of a clients life
insurance needs. The results within the sheet will then create a graph
showing the various areas they need to cover. I have done this in a
pie chart (pay mortgage, funeral costs, clear credit card debt etc)

The chart is just fine however because I have about 15 possible cells
to complete on the spreadsheet, depending on the client, some will
remain empty (as they have no such need) The problem i have is that
the resulting graph is cluttered up with legends for the '0' or zero
categories. Is there an easy way to select these to not appear? I only
want those with amounts above zero to show on the graph

Thanks heaps


Tony




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Graphwork

On May 12, 1:27 am, "Jon Peltier"
wrote:
Remove the legend. Put custom labels into a cell next to the data. Suppose
your categories are in column A and the values in column B. Then in C1 enter
this formula

=IF(B1=0,"",A1&" ("&B1&")")

This makes C1 look blank unless there is a value in B1, then it gives you a
label like "Mortgage (1500)". You can get fancier with the label, of course.

Then use one of these free Excel utilities to apply the labels in column C
to the data in your chart:

Rob Bovey's Chart Labeler,http://appspro.com
John Walkenbach's Chart Tools,http://j-walk.com

When a wedge isn't showing, its value is zero, so the data label doesn't
appear.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutionshttp://PeltierTech.com
_______

Thanks a lot for this, it is appreciated. I will work on this today.
What is the '&' for in the formula please. I am only just and so
getting into mre advanced formulas and not too sure on its relevance

T

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Graphwork

The ampersand is used to join together bits of text.

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


wrote in message
oups.com...
On May 12, 1:27 am, "Jon Peltier"
wrote:
Remove the legend. Put custom labels into a cell next to the data.
Suppose
your categories are in column A and the values in column B. Then in C1
enter
this formula

=IF(B1=0,"",A1&" ("&B1&")")

This makes C1 look blank unless there is a value in B1, then it gives you
a
label like "Mortgage (1500)". You can get fancier with the label, of
course.

Then use one of these free Excel utilities to apply the labels in column
C
to the data in your chart:

Rob Bovey's Chart Labeler,http://appspro.com
John Walkenbach's Chart Tools,http://j-walk.com

When a wedge isn't showing, its value is zero, so the data label doesn't
appear.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutionshttp://PeltierTech.com
_______

Thanks a lot for this, it is appreciated. I will work on this today.
What is the '&' for in the formula please. I am only just and so
getting into mre advanced formulas and not too sure on its relevance

T



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



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