#1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 270
Default Adjusting series

I have a simple chart (column) based on the following:

B5 = Top C5 = 0
B6 = Left C6 = 5
B7 = Right C7 = 8
B8 = Bottom C8 = 0

The x-axis has 'Top', 'Left', 'Right' and 'Bottom' and the Y-axis the
values.

What I would like to do is have the chart only show the elements that are
not zero (they will never be negative). So in the above case the chart would
only show 'Left' and 'Right' - however should 'Top' or 'Bottom' or both
become 0 then they should be incorporated. Conversely should 'Left' or
'Right' or any other value become 0 then they would drop out.

Am I making sense?
Any ideas?
Sandy


  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Adjusting series

This isn't really dynamic, but you can filter the data on column C. Select
the data (including the header row: make sure you have a header row), go to
Data Menu Filter AutoFilter. Right click the little down arrow icon on
column C, choose (Custom), in the dialog's left hand dropdown choose Does
Not Equal, and in the right hand box type zero. The rows containing zero are
hidden, and the chart doesn't display those points, because by default a
chart shows data only from visible cells.

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


"Sandy" wrote in message
...
I have a simple chart (column) based on the following:

B5 = Top C5 = 0
B6 = Left C6 = 5
B7 = Right C7 = 8
B8 = Bottom C8 = 0

The x-axis has 'Top', 'Left', 'Right' and 'Bottom' and the Y-axis the
values.

What I would like to do is have the chart only show the elements that are
not zero (they will never be negative). So in the above case the chart
would only show 'Left' and 'Right' - however should 'Top' or 'Bottom' or
both become 0 then they should be incorporated. Conversely should 'Left'
or 'Right' or any other value become 0 then they would drop out.

Am I making sense?
Any ideas?
Sandy



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 270
Default Adjusting series

Thank you Jon
I adapted your idea and incorporated the filter into a macro to automate the
process - works great
Sandy

"Jon Peltier" wrote in message
...
This isn't really dynamic, but you can filter the data on column C. Select
the data (including the header row: make sure you have a header row), go
to Data Menu Filter AutoFilter. Right click the little down arrow icon
on column C, choose (Custom), in the dialog's left hand dropdown choose
Does Not Equal, and in the right hand box type zero. The rows containing
zero are hidden, and the chart doesn't display those points, because by
default a chart shows data only from visible cells.

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


"Sandy" wrote in message
...
I have a simple chart (column) based on the following:

B5 = Top C5 = 0
B6 = Left C6 = 5
B7 = Right C7 = 8
B8 = Bottom C8 = 0

The x-axis has 'Top', 'Left', 'Right' and 'Bottom' and the Y-axis the
values.

What I would like to do is have the chart only show the elements that are
not zero (they will never be negative). So in the above case the chart
would only show 'Left' and 'Right' - however should 'Top' or 'Bottom' or
both become 0 then they should be incorporated. Conversely should 'Left'
or 'Right' or any other value become 0 then they would drop out.

Am I making sense?
Any ideas?
Sandy





  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 235
Default Adjusting series

The link below requires more work - but it provides a dynamic option.

http://www.cellmatrix.net/index.php/...de_zero_values

--
John Mansfield
http://cellmatrix.net





"Sandy" wrote:

Thank you Jon
I adapted your idea and incorporated the filter into a macro to automate the
process - works great
Sandy

"Jon Peltier" wrote in message
...
This isn't really dynamic, but you can filter the data on column C. Select
the data (including the header row: make sure you have a header row), go
to Data Menu Filter AutoFilter. Right click the little down arrow icon
on column C, choose (Custom), in the dialog's left hand dropdown choose
Does Not Equal, and in the right hand box type zero. The rows containing
zero are hidden, and the chart doesn't display those points, because by
default a chart shows data only from visible cells.

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


"Sandy" wrote in message
...
I have a simple chart (column) based on the following:

B5 = Top C5 = 0
B6 = Left C6 = 5
B7 = Right C7 = 8
B8 = Bottom C8 = 0

The x-axis has 'Top', 'Left', 'Right' and 'Bottom' and the Y-axis the
values.

What I would like to do is have the chart only show the elements that are
not zero (they will never be negative). So in the above case the chart
would only show 'Left' and 'Right' - however should 'Top' or 'Bottom' or
both become 0 then they should be incorporated. Conversely should 'Left'
or 'Right' or any other value become 0 then they would drop out.

Am I making sense?
Any ideas?
Sandy






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
Adjusting Macro M.A.Tyler Excel Discussion (Misc queries) 2 March 24th 07 06:07 PM
Adjusting Referances Lanza52 Excel Worksheet Functions 0 August 21st 06 12:49 AM
Adjusting Formula Jasmine Excel Worksheet Functions 0 June 6th 06 02:24 PM
Adjusting one data set based another meddington New Users to Excel 3 September 7th 05 07:48 PM
series graph -- one series being added to another series rich zielinski via OfficeKB.com Charts and Charting in Excel 3 March 30th 05 06:23 PM


All times are GMT +1. The time now is 08:20 AM.

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"