Charts that get Bigger/Smaller

M

mark.wolven

I posted earlier about creating a dynamic chart, and I've found lots
of links to tutorials that show you how to move a range - like the 6
recent months, or charts that grow as you add data.

But what about a chart that can get smaller, in theory, this should
work the same, but I am having trouble implementing this. Basically, a
user selects a option from a drop down. Based on their choice, the
data range can be populated 3 different ways, with say 5, 10, or 20
rows of data. With the extra rows being populated by a formula that
leaves behind a "". The problem that I cannot get past, is that the
Chart always displays 20 rows - with extra blank labels and extra zero
values.

Thoughts?
 
J

Jon Peltier

What kind of chart? If it's a line or XY chart, use NA() instead of "" in
your formulas. It leaves an ugly #N/A error in the cells, but the error will
not plot in the chart.

- Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top