B
Barb Reinhardt
I need to create a bunch of named ranges. The series range I want to use
would be created using this OFFSET formula
I want do do the following:
For i = 2 To Cells(Rows.Count, "A").End(xlUp).Row
seriesrange =
OFFSET(Statics!$C$1,MATCH(Statics!$C:$C,Statics!$B$1)-1,0,COUNTIF(Statics!$C:$C,Statics!$B$1),3)
Next I
Anything that reads Statics!$B$1 will be replaced with Cells(i, 2)
What needs to change so that seriesrange is dynamically determined based on
the value of Cells(i,2)?
Thanks in advance,
Barb Reinhardt
would be created using this OFFSET formula
I want do do the following:
For i = 2 To Cells(Rows.Count, "A").End(xlUp).Row
seriesrange =
OFFSET(Statics!$C$1,MATCH(Statics!$C:$C,Statics!$B$1)-1,0,COUNTIF(Statics!$C:$C,Statics!$B$1),3)
Next I
Anything that reads Statics!$B$1 will be replaced with Cells(i, 2)
What needs to change so that seriesrange is dynamically determined based on
the value of Cells(i,2)?
Thanks in advance,
Barb Reinhardt