Dynamic Chart using OFFSET

deanjackson150

New Member
Joined
Oct 8, 2013
Messages
2
Hi there,

So I'm trying to create a chart that updates itself dynamically and displays the last 7 weeks worth of data prior to the current date. I watched a handy tutorial online about creating named ranges out of the OFFSET functions that relate to the specific data column entries and have tried entering this into the Series for the Chart.

I'm aware that the reference must include the document name for this but excel still won't accept either that or the full file path (as output by the CELL,"filename" function).

Just wondering what I might be doing wrong, or if anybody can shed light on this. Thanks in advance!
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
I don't use named ranges, but you could.

I have the following in sheet 'R TL'

Excel 2010
VWXYZAAAB
4NPTGraph Ranges
57Apr-110.78May-110.2112
58May-110.21Jun-110.9511
59Jun-110.95Jul-111.0010
60Jul-111.00Aug-111.299
61Aug-111.29Sep-110.528
62Sep-110.52Oct-111.017
63Oct-111.01Nov-110.536
64Nov-110.53Dec-111.465
65Dec-111.46Jan-124.164
66Jan-124.16Feb-123.283
67Feb-123.28Mar-122.842
68Mar-122.84Apr-120.181
69Apr-120.18
70May-12
71Jun-12
72Jul-12
73Aug-12
R TL
Cell Formulas
RangeFormula
Z57=OFFSET($V$5,COUNTA(W:W)-AB57-1,0,1,1)
AA57=OFFSET($W$5,COUNTA(W:W)-AB57-1,0,1,1)


and then my graph range is as follows:
=SERIES(,'R TL'!$Z$57:$Z$68,'R TL'!$AA$57:$AA$68,1)
 
Upvote 0
Forgot to say, I add the monthly data to column W, the formulas in columns Z:AB then automatically take the last 12 entries, and the graph is linked to this range. Now and again, when i want to hide a few more lines, I just drag the graph range down a bit. (well I used to, as you can see the data is old...:) )
 
Upvote 0
Forgot to say, I add the monthly data to column W, the formulas in columns Z:AB then automatically take the last 12 entries, and the graph is linked to this range. Now and again, when i want to hide a few more lines, I just drag the graph range down a bit. (well I used to, as you can see the data is old...:) )

Thanks very much for your help and advice! Appreciate it.

:)
 
Upvote 0

Forum statistics

Threads
1,217,089
Messages
6,134,505
Members
449,875
Latest member
Nurul96

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top