I can't figure out how to hold chart references firm when inserting data

  • Thread starter Live Long & Prosper
  • Start date
L

Live Long & Prosper

I'm embarrassed to ask, but I can't figure it out :) I have 5 columns that
are charted and on a daily/weekly basis I have new data to enter with each
new day. I want the chart to reflect the data for the last 60 days.

My problem is when I insert new cells and push the data down, the refernces
in the chart move as well, so its not showing the last 60 days. I'd like
the chart to reflect sliding data (I think thats the term).

HELP :)
 
J

Jon Peltier

Use dynamic names as the chart data source. Here's a simple explanation
of dynamic charts with several links:

Dynamic Charts | PTS Blog
http://peltiertech.com/WordPress/dynamic-charts/

In your case, you need to define ranges which use the unchanging header
row as the reference. For example, define this name:

Name: TheDates
RefersTo: =OFFSET($A$1,1,0,60,1)

Name: TheValues1
RefersTo: =OFFSET(TheDates,0,1)

Assuming the headers are in row 1 and your dates in column A. Adjust
your chart so series 1 uses TheDates and TheValues1 instead of hard
coded cell addresses as its source data.

- Jon
 
K

Karissa

I have a similar graph showing rolling 12 months. Insert a row in between
the last row and the 2nd to last row. Copy the last row into the NEW second
to last row, then put your new data into the last row. Hide the row(s) you
no longer want on the graph.
 

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