Dynamic named range not picking up new entries?

memilanuk

New Member
Joined
Mar 12, 2009
Messages
9
Hello,

I'm working with an Excel 2003 file in Excel 2007 (at the moment, end use will be with 2003). I have a dynamic named range setup that looks like this:

='List Data'!$I$3:INDEX('List Data'!$I$3:$I$53, COUNTA('List Data'!$I$3:$I$53))

Right now there are maybe... 12 values in that column. Problem is, Excel is only recognizing 11 of them. It seemed to be working originally, when I just used $I:$I for the cell references... the existing values showed up in the other cells that use this list for in-cell validation. When I looked at the named range in the Name Manager, it showed a dashed line around the cells that it referenced. Then I added a value to the list... and that value didn't show up in the in-cell validation list. Checked in Name Manager - still outlined the same area, *not* including the new entry (much less the entire section from I3 to I53). I tried a few things, including F9 to recalculate and exiting and restarting Excel. No joy.

Then, at some point it just started working like it is supposed to... until I added another value to the list. Then it didn't show the newest addition again. I poked around on the 'Net and changed to the absolute cell reference ($I$3:$I$53) shown above, and it worked again. Until I added another value to the list. Now it doesn't show *that* new entry.

Any ideas as to what is going on here?

TIA,

Monte
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Have you tried specifying the column argument of Index?
='List Data'!$I$3:INDEX('List Data'!$I$3:$I$53, COUNTA('List Data'!$I$3:$I$53), 1)
 
Upvote 0
='List Data'!$I$3:INDEX('List Data'!$I$3:$I$53, COUNTA('List Data'!$I$3:$I$53))


I've always used offset:
=OFFSET('List Data'!$I$3,0,0,COUNTA('List Data'!$I$3:$I$53),1)

Not sure why though (?) Is index a better formula here?
 
Upvote 0
Have you tried specifying the column argument of Index?

Tried it just now... no change. Seems like the column argument would be un-necessary with only one column specified to begin with... or is it one of those parameters that just needs passed anyway?
 
Upvote 0
..Is index a better formula here?
OFFSET is volatile, INDEX is not.

memilnuk said:
..Seems like the column argument would be un-necessary with only one column specified to begin with... or is it one of those parameters that just needs passed anyway?
"If I don't specify it, I can't complain when it doesn't work."
Default values (and automatic type conversion) can be useful, but sometimes there are subtle differences. When things get odd, using full proper syntax is one of the first fixes to try. Specifying the column argument does not negativly effect performance. (It might improve it slightly, Excel doesn't need to do its "find default" routine.)

I can't reproduce your error.
Is there a value in I3? Are there any blanks between values in I3:I53?
Is calculation set to Automatic?
does a cell with the formula =ROWS(dynamicNamedRange) react properly?
 
Upvote 0
Mike,

That seems to have fixed it. As long as there is anything at all, even just a space, entered in $I$3 the named range recognizes new entries at the *other* end of the range... weird, but it works.

Thanks,

Monte
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,614
Members
449,091
Latest member
gaurav_7829

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