Hi,
This example shows how to exclude zeros.
http://www.andypope.info/charts/piezeros.htm
You should be able to adapt for non numeric by replacing the formula in
C1 with,
=IF(ISNUMBER(B2),B2+(ROWS(B2:B$2)/1000*(B2<0)),0)
and copying down.
Another alternative is to hide rows and set chart option 'plot visible
cells only'. Then you only need code to hide rows.
Cheers
Andy
arran1180 wrote:
Hi there,
I have a pei chart based on a dynamic table that sometimes contains #NA for
the rows data.
The chart updates fine, but in the legend i get an entry for every row -
including all the NAs! is there any way i can avoud this that you can think
of?
I've used VBA plenty in Access, so am prepared to have a bash writing any
code in excel with any pointers you may have!
thx