ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   removal of zero in column chart (https://www.excelbanter.com/charts-charting-excel/26417-removal-zero-column-chart.html)

Caroltchr

removal of zero in column chart
 
I have a worksheet that charts weekly values. I put these values into
a chart, which is regularly updated as I change the weekly values. I
don't want any zerio values to be charted. Is there any way for me to
have the chart only display the 0 values and display NO COLUMN if the
value was zero? thanks.


bj

Where does the X axis cross the Y axis?
If what you mean is that you dont want the catagories with 0 to be plotted,
the simplest way to do it depends on whether you have the data in columns or
rows.
Since the charts by default only plot from visible cells, You can hide the
columns or rows with zeros in them and the chart will not have a spot for
that area.
You can use auto filter to hide zeros for data in columns. you have to
physically hide and unhide zeros ifor data n rows

"Caroltchr" wrote:

I have a worksheet that charts weekly values. I put these values into
a chart, which is regularly updated as I change the weekly values. I
don't want any zerio values to be charted. Is there any way for me to
have the chart only display the 0 values and display NO COLUMN if the
value was zero? thanks.



John Mansfield

An alternative to bj's suggestion would be to use array formulas with a
secondary chart reference to eliminate the zero values. This site shows how
and provides a workbook that can be downloaded.

http://www.pdbook.com/index.php/exce...o_zero_values/

--
Regards,
John Mansfield
http://www.pdbook.com


"Caroltchr" wrote:

I have a worksheet that charts weekly values. I put these values into
a chart, which is regularly updated as I change the weekly values. I
don't want any zerio values to be charted. Is there any way for me to
have the chart only display the 0 values and display NO COLUMN if the
value was zero? thanks.



Caroltchr

thanks. i downloaded and incorporated the worksheet. worked great.



All times are GMT +1. The time now is 07:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com