Problem with dynamic range

RogerC

Well-known Member
Joined
Mar 25, 2002
Messages
536
I am trying to name two dynamic ranges to be used to create a dynamic chart.

I'm attempting to create the range names:
XValues in cell B13:
=OFFSET('Sheet3'!$B$5,COUNTA('Sheet3'!$C:$C)-'Sheet3'!$E$1,0,'Sheet3'!$E$1,1)
YValues in cell B14:
=OFFSET('Sheet3'!XValues,0,1)

The XValues range works fine.
When I enter the YValues OFFSET formula in the formula bar Excel replaces the name of the worksheet with the name of my workbook and the cell returns a value of 0. Any idea what I may be doing wrong?
This message was edited by RogerC on 2002-08-28 16:04
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Why aren't you assigning your OFFSET functions to defined name ranges instead of a cell reference?
 
Upvote 0
I was following the example spreadsheet I downloaded from Tushar's website. His 'Last So Many' example uses cell references in the 'Refers To:' when defining the range names. After I eliminated references to cells and entered the OFFSET directly in the 'Refers To:' the YValues range worked correctly. :)
Strangely, Tushar's spreadsheet example using cell references worked also! But when I used them in mine it didn't. ?
This message was edited by RogerC on 2002-08-28 16:41
This message was edited by RogerC on 2002-08-28 16:42
 
Upvote 0

Forum statistics

Threads
1,213,490
Messages
6,113,956
Members
448,535
Latest member
alrossman

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