Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Dynamically Change Chart Data Range

Hi All,

I have a chart that I want to be able to update automatically. I used an ADDRESS function to get the reference of the cell that I want. And if I use INDIRECT I can get calculations to happy with this cell reference so I know that it is correct to there.
=ADDRESS(MATCH($C$2,$B$1:$B$10000,0),2,1,1)
And if I reference the solution to the above using this formula,
=SUM($B$6:INDIRECT('event lookup (2)'!$D$2,TRUE))
I get the correct answer.

There are several series on this graph and I don't want to have to manually update all of them. I'm looking for a way within the Series Formula [x-values], so have this value linked in somehow.

The table: I have several columns of data and I want the X-values only to include up to a certain date, say 3/1/2012. So I want my x-values to be $B$6:$B$80, but next time I update, I will want it to be $B$6:$B$85 cued off of the date in a cell at the top of the table.

How can I use this cell reference in my X values to make the graph dynamic?

Thanks,
Chelsea
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default Dynamically Change Chart Data Range

On Wednesday, May 2, 2012 3:08:28 PM UTC-5, chelseamd89 wrote:
Hi All,

I have a chart that I want to be able to update automatically. I used
an ADDRESS function to get the reference of the cell that I want. And
if I use INDIRECT I can get calculations to happy with this cell
reference so I know that it is correct to there.
=ADDRESS(MATCH($C$2,$B$1:$B$10000,0),2,1,1)
And if I reference the solution to the above using this formula,
=SUM($B$6:INDIRECT('event lookup (2)'!$D$2,TRUE))
I get the correct answer.

There are several series on this graph and I don't want to have to
manually update all of them. I'm looking for a way within the Series
Formula [x-values], so have this value linked in somehow.

The table: I have several columns of data and I want the X-values only
to include up to a certain date, say 3/1/2012. So I want my x-values to
be $B$6:$B$80, but next time I update, I will want it to be $B$6:$B$85
cued off of the date in a cell at the top of the table.

How can I use this cell reference in my X values to make the graph
dynamic?

Thanks,
Chelsea




--
chelseamd89


You can do this with a formula using offset from the bottom
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamically change data in chart title Bill James Charts and Charting in Excel 2 January 9th 08 05:17 AM
Dynamically Change a Pivot Table's Data Range Dan Thorman Excel Programming 4 May 2nd 07 09:28 PM
How to dynamically change the series range of a chart ? ptek Excel Programming 6 October 6th 06 07:13 PM
How to dynamically change the series range of a chart ? ptek Charts and Charting in Excel 2 October 5th 06 04:42 AM
Dynamically change column color in chart Everett[_2_] Excel Programming 1 August 7th 03 02:00 AM


All times are GMT +1. The time now is 04:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"