binaryfingers
Technical User
- Jul 26, 2002
- 118
Hi
I am hoping you can help advise on a best pratice solution with named ranges.
I have 5 sheets that are all formatted in the same style.
On each sheet I have a chart that I am using named ranges on.
the coding is as follows:
chart1Forecast
=OFFSET('GameStation Sales Report Jan06-Dec06.xls'!chart1XValues,4,0)
chart1Range
=OFFSET('sheet 1'!$BC$154,0,0,1,COUNTA('sheet 1'!$154:$154))
chart1Values
=OFFSET('gs sales.xls'!chart1XValues,3,0)
chart1XValues
=OFFSET('sheet 1'!$BC$154,0,MATCH(Summary!$C$1,'gs sales.xls'!chart1Range,0)-1,1,13)
I then call forecast and values as data series and xvalues as x axis data.
What I would like to do is repeat this for 5 charts each per sheet (sheet 1 to sheet 5) (so each sheet has 5 charts)
Using named ranges, local or global...is there a best pratice way of achieving this?
Eg, utilise Chart1 on sheet 1, sheet 2, sheet 3, sheet 4 and sheet 5 as all the data is in the same style, just reflecting the different sales/values. this way I will only have to create 5 sets of chart named ranges instead of 25?
Hope you can help..
Thanks
I am hoping you can help advise on a best pratice solution with named ranges.
I have 5 sheets that are all formatted in the same style.
On each sheet I have a chart that I am using named ranges on.
the coding is as follows:
chart1Forecast
=OFFSET('GameStation Sales Report Jan06-Dec06.xls'!chart1XValues,4,0)
chart1Range
=OFFSET('sheet 1'!$BC$154,0,0,1,COUNTA('sheet 1'!$154:$154))
chart1Values
=OFFSET('gs sales.xls'!chart1XValues,3,0)
chart1XValues
=OFFSET('sheet 1'!$BC$154,0,MATCH(Summary!$C$1,'gs sales.xls'!chart1Range,0)-1,1,13)
I then call forecast and values as data series and xvalues as x axis data.
What I would like to do is repeat this for 5 charts each per sheet (sheet 1 to sheet 5) (so each sheet has 5 charts)
Using named ranges, local or global...is there a best pratice way of achieving this?
Eg, utilise Chart1 on sheet 1, sheet 2, sheet 3, sheet 4 and sheet 5 as all the data is in the same style, just reflecting the different sales/values. this way I will only have to create 5 sets of chart named ranges instead of 25?
Hope you can help..
Thanks