Hi
I am trying to create a zoom and scroll chart and trying to follow the instructions below I cannot create a named range called =OFFSET(C2, 0, 0, $D$1, 0). I suspect it is because you cannot create a named range that uses a Function name. If this is the case, what would the writer have meant?
Create a Dynamic Named Range
Step 1
Repeat Step 2 from "Create a Variable Data Range" to find a new range the same size as the two previous ones. A range containing cells D2 to D802 is the same size as the example's previous two ranges.
Step 2
Select all the cells in this new range.
Step 3
Click "Formulas" in the program's ribbon. Click "Define Name" in the Defined Names group to open the New Name dialog box.
Step 4
Type the following formula into the text box labeled "Name": =OFFSET(A1, 0, 0, $D$1, 0)
Step 5
Replace "A1" in the formula with the first cell from the second range. With this example, change the formula to: =OFFSET(C2, 0, 0, $D$1, 0)
Step 6
Replace "$D$1" with the address of a new blank cell. Later, the zoom bar will change this cell's value. For example, to choose cell F10 for this purpose, change the formula to: =OFFSET(C2, 0, 0, $F$10, 0)
Step 7
Bookmarks