Trying to figure out how to make the chart data range selective. I have a single pie chart, yet I have the need to selectively display two different data ranges.
Range 1 is C5:D15
Range 2 is AA50:AB55
For both ranges, the data present is derived from formulas.
I'd like to use a couple option buttons to choose which data actually gets displayed in the chart.
I named the two data ranges, and grouped the option buttons. But when I tried to use an IF statement in the chart's data selection - I get 'not a valid function'.
Thanks for any help!
Range 1 is C5:D15
Range 2 is AA50:AB55
For both ranges, the data present is derived from formulas.
I'd like to use a couple option buttons to choose which data actually gets displayed in the chart.
I named the two data ranges, and grouped the option buttons. But when I tried to use an IF statement in the chart's data selection - I get 'not a valid function'.
Thanks for any help!