How do I get an Excel or PowerPoint stacked Bar Chart to not chart #N/As?
I have data like this
Date Sales Net
Jan-12 1.5 .5
Feb-12 2.6 1.5
N/A #N/A #N/A
N/A #N/A #N/A
I have the N?As in the range of the data because they may get data at some point, hence Dynamic.
I do not want to use offset, since it doesn’t work well in a chart created in Powerpoint.
There are over 125 slides and 100’s of charts, so manual changes are not good.
I am creating the charts in Powerpoint, then adding links to the data page behind the chart. Updating is fine, but after breaking all those links (I have a macro for this),
The offset named ranges will not update, since the formula needs a sheet name (like Sheet1!), but Powerpoint calls it ‘Chart in Microsoft PowerPoint’.
I hope I explained this enough.
Thanks
Since I can’t use offset or named ranges to good effect, I created this PPT macro to reset the data range in my data
1) any row of data that is not to be charted has an x axes value of zero and not #N/A
2) in F1 of Data sheet has to count the number of rows to chart, using countif not = 0
3) name the chart, I used StackedBar1
run macro
If someone has an easier solution, please let me know.