Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
Graeme
 
Posts: n/a
Default zero value remove chart

I want to plot a chart but only show data labels for the values which are
greater than zero. I cannot find a way to remove the zero values and have a
chart which has a large amount of worthless data labels. How can
automatically remove them?
  #2   Report Post  
Posted to microsoft.public.excel.charting
Jon Peltier
 
Posts: n/a
Default zero value remove chart

Apply a number format that hides zeros. A custom number format has four
parts, separated by semicolons:

0.00;-0.00;-;@

The four parts are for positive, negative, zero, and text values. Remove the
item in the zero's spot:

0.00;-0.00;;@

More on number formats:

http://peltiertech.com/Excel/NumberFormats.html

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

"Graeme" wrote in message
...
I want to plot a chart but only show data labels for the values which are
greater than zero. I cannot find a way to remove the zero values and have
a
chart which has a large amount of worthless data labels. How can
automatically remove them?



  #3   Report Post  
Posted to microsoft.public.excel.charting
James Silverton
 
Posts: n/a
Default Cell formats and grid lines.

Jon wrote on Wed, 23 Nov 2005 07:54:26 -0500:

JP 0.00;-0.00;-;@

JP The four parts are for positive, negative, zero, and text
JP values. Remove the item in the zero's spot:

JP 0.00;-0.00;;@

JP More on number formats:

JP http://peltiertech.com/Excel/NumberFormats.html

Again, making a comment while not the OP, that is a fascinating
discussion Jon. I was particularly interested to find out for
the first time how to change the color of a particular value.

A rather similar problem has intrigued me for some time: is it
possible to change a gridline for a particular value to a
different thickness or color? I can find a use for this when the
zero value for the y-axis is inside the chart rather than along
an edge.

Again, thanks in advance and my apologies if I should have been
able to find this in Help.


James Silverton.

  #4   Report Post  
Posted to microsoft.public.excel.charting
Jon Peltier
 
Posts: n/a
Default Cell formats and grid lines.

Official Excel gridlines are one color/style only. There are ways to fake a
gridline:

http://peltiertech.com/Excel/Charts/...Gridlines.html
http://peltiertech.com/Excel/Charts/AddLine.html

What you might want, if the zero is between the min and max, is to keep the
axis (a distinct line) at zero, but change the label position to "Low" so
they're out of the way.

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


"James Silverton" wrote in message
...
Jon wrote on Wed, 23 Nov 2005 07:54:26 -0500:

JP 0.00;-0.00;-;@

JP The four parts are for positive, negative, zero, and text
JP values. Remove the item in the zero's spot:

JP 0.00;-0.00;;@

JP More on number formats:

JP http://peltiertech.com/Excel/NumberFormats.html

Again, making a comment while not the OP, that is a fascinating discussion
Jon. I was particularly interested to find out for the first time how to
change the color of a particular value.

A rather similar problem has intrigued me for some time: is it possible to
change a gridline for a particular value to a different thickness or
color? I can find a use for this when the zero value for the y-axis is
inside the chart rather than along an edge.

Again, thanks in advance and my apologies if I should have been able to
find this in Help.


James Silverton.



  #5   Report Post  
Posted to microsoft.public.excel.charting
James Silverton
 
Posts: n/a
Default Cell formats and grid lines.

Jon wrote on Wed, 23 Nov 2005 09:46:24 -0500:

JP
http://peltiertech.com/Excel/Charts/...Gridlines.html
JP http://peltiertech.com/Excel/Charts/AddLine.html

JP What you might want, if the zero is between the min and
JP max, is to keep the axis (a distinct line) at zero, but
JP change the label position to "Low" so they're out of the
JP way.

?? Some clipping of less relevant information <<<<<<<<<<<<<

?? A rather similar problem has intrigued me for some time:
is it
?? possible to change a gridline for a particular value to a
?? different thickness or color? I can find a use for this
?? when the zero value for the y-axis is inside the chart
?? rather than along an edge.

Thanks again Jon for a very prompt reply and some fascinating
information. I will have to read your two web pages very
carefully. It is a pity that the Excel programmers have never
thought of implementing my idea.

James Silverton.



  #6   Report Post  
Posted to microsoft.public.excel.charting
Jon Peltier
 
Posts: n/a
Default Cell formats and grid lines.


"James Silverton" wrote in message
...
Jon wrote on Wed, 23 Nov 2005 09:46:24 -0500:

JP http://peltiertech.com/Excel/Charts/...Gridlines.html
JP http://peltiertech.com/Excel/Charts/AddLine.html

JP What you might want, if the zero is between the min and
JP max, is to keep the axis (a distinct line) at zero, but
JP change the label position to "Low" so they're out of the
JP way.

?? Some clipping of less relevant information <<<<<<<<<<<<<

?? A rather similar problem has intrigued me for some time: is it
?? possible to change a gridline for a particular value to a
?? different thickness or color? I can find a use for this
?? when the zero value for the y-axis is inside the chart
?? rather than along an edge.

Thanks again Jon for a very prompt reply and some fascinating information.
I will have to read your two web pages very carefully. It is a pity that
the Excel programmers have never thought of implementing my idea.

James Silverton.


To be fair, I don't think the Excel designers envisioned half of the ways we
abuse and contort their charting module. I'm always glad they made it as
flexible as they did, so I can add features I want the way I want.

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



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
Missing x-axis labels on chart in XL97 Rob Hick Charts and Charting in Excel 2 November 18th 05 05:40 PM
Rotating a chart, and more.. adambowie Charts and Charting in Excel 2 November 14th 05 09:47 AM
Create a combo chart with two of the same chart types Mark Parent Charts and Charting in Excel 2 October 14th 05 01:28 AM
How to remove a data point in a chart? Vicky Charts and Charting in Excel 6 July 15th 05 05:27 PM
Chart formatting Christianovitch Charts and Charting in Excel 1 January 19th 05 10:55 PM


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