creating range for chart

T

tony_bender

I have an Excel application that returns relevant data into a table
that has a set number of columns but the rows may vary. I have a
corresponding graph based on the results. The problem is when the
number of rows returned is more or less than the original, so my graph
is incomplete.

Presently the 'source' data for the graph reads

y1 axis =Report!$C$7:$C$12
y2 axis =Report!$B$7:$B$12
x axis labels; =Report!$A$7:$A$12

This graphs fine if I have exactly 6 rows of data, but if I have more
the chart does not recognize these.

How would I program this so the chart knows to expand or contract based
on the number of rows with live data?

Thank you,

Tony B
 

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