adding new x & y values to charts automatically

G

Guest

Hi,

I have a number (approx. 30)of sales charts that each month need to change
the series for, so that the charts will include the new months sales.

Is there anyway other than to go into each individual graph, and change the
series - adding one addition column for the new month ... i.e from A1 to c1
for January to March to A1 to D1 for January to April.

If anyone can help - I'd really appreciate it, as this is just too time
consuming


Thanks
 
G

Guest

Thanks Alex,

The website seems really useful - I'm sure I'll be able to find the solution
to this problem there

Rgds
Daniel
 
A

Alex Delamain

This might help further:

Create a named range using Insert Name Define (e.g. call it "Numcols")

=Offset($a$1,0,0,1,counta($1:$1))

Then create a further range for each row of data

=offset(numcols,rownumber,0)

where row number is the number of rows below row 1 for the dat
concerned (ie if you want to plot row 2 then rownumber =1.)

Then plot your charts with the data series as worksheet1!yourdatanam
and x axis as worksheet1!numcols

Every time you add a new column to row 1 then all graphs will updat
and add that column
 

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