Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 51
Default Hiding Zero Values on Chart

Is it possible to automatically 'ignore' zero values when plotting a chart.
i.e. any data set with a value of zero would simply not be displayed on the
chart?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Hiding Zero Values on Chart

Are they zero values, or formulas that return zero? If they are zeros,
delete the zeros. If they are formulas, change the formula from

=A1

to

=IF(A1="",NA(),A1)

NA() leaves an error in the cell (#N/A) but doesn't appear on a line or XY
chart. You can use conditional formatting to hide the error.

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


"kippers" wrote in message
...
Is it possible to automatically 'ignore' zero values when plotting a
chart.
i.e. any data set with a value of zero would simply not be displayed on
the
chart?



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 51
Default Hiding Zero Values on Chart

Jon,

Thanks for the advice- they are simply zero values with no formula attached.
However, there are a lot of elements (series) (20-30) so when the graph is
generated it has large gaps where zero values exist. I was wonderign if there
was a way in which elements or series that have a zero value could be
eliminated fromt he graph itself (i.e. the actual series header on the grpah
would not even appear and teh graph would show only those series with a value
0?)


Cheers,

Paul

"Jon Peltier" wrote:

Are they zero values, or formulas that return zero? If they are zeros,
delete the zeros. If they are formulas, change the formula from

=A1

to

=IF(A1="",NA(),A1)

NA() leaves an error in the cell (#N/A) but doesn't appear on a line or XY
chart. You can use conditional formatting to hide the error.

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


"kippers" wrote in message
...
Is it possible to automatically 'ignore' zero values when plotting a
chart.
i.e. any data set with a value of zero would simply not be displayed on
the
chart?




  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Hiding Zero Values on Chart

No, it's not that easy nor is it dynamic. You could hide the entire
stretches where there are only zeros, since by default hidden cells are not
plotted.

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


"kippers" wrote in message
...
Jon,

Thanks for the advice- they are simply zero values with no formula
attached.
However, there are a lot of elements (series) (20-30) so when the graph is
generated it has large gaps where zero values exist. I was wonderign if
there
was a way in which elements or series that have a zero value could be
eliminated fromt he graph itself (i.e. the actual series header on the
grpah
would not even appear and teh graph would show only those series with a
value
0?)


Cheers,

Paul

"Jon Peltier" wrote:

Are they zero values, or formulas that return zero? If they are zeros,
delete the zeros. If they are formulas, change the formula from

=A1

to

=IF(A1="",NA(),A1)

NA() leaves an error in the cell (#N/A) but doesn't appear on a line or
XY
chart. You can use conditional formatting to hide the error.

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


"kippers" wrote in message
...
Is it possible to automatically 'ignore' zero values when plotting a
chart.
i.e. any data set with a value of zero would simply not be displayed on
the
chart?






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
Zero values in a log chart Joelle_Smith Charts and Charting in Excel 2 May 8th 23 03:42 AM
Return Matched Numeric Values across Rows Sam via OfficeKB.com Excel Worksheet Functions 2 January 2nd 07 11:03 PM
how can I limit my chart Richard Erlacher Charts and Charting in Excel 7 March 7th 06 12:08 PM
Chart problem: values in column A don't show as labels on x-axis digicat Excel Discussion (Misc queries) 1 January 9th 06 07:08 PM
Create new series (on the same chart) for every change of values in a combobox uriel78 Charts and Charting in Excel 5 April 15th 05 12:08 AM


All times are GMT +1. The time now is 07:28 AM.

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

About Us

"It's about Microsoft Excel"