Hey! ANyone know how to not plot values if they equal zero in the graphs?
Thanks!!
keith
Hey! ANyone know how to not plot values if they equal zero in the graphs?
Thanks!!
keith
I had this problem. I wrote a macro that scanned my data and wherever it found a value of zero it deleted the cell contents. They then do not plot on charts. My data values were complex formulas, so I wrote a second macro to reinstate the formulas so that the cells were able to display correct values when the base data changed.
Hi,
Depending on the chart type you could have used a formula instead of VBA.
=IF(test=0,NA(),test)
where test is you complex formula.
Cheers
Andy
bob777 wrote:
> I had this problem. I wrote a macro that scanned my data and wherever it
> found a value of zero it deleted the cell contents. They then do not
> plot on charts. My data values were complex formulas, so I wrote a
> second macro to reinstate the formulas so that the cells were able to
> display correct values when the base data changed.
>
>
--
Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks