Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88886

So apparently the INDIRECT function doesn't work with data validation in Excel when using a dynamic named range

$
0
0

Trying to create a drop-down list in a cell where the source is a dynamic named range. The named range refers to:

=$A$2:INDEX($A:$A,COUNTA($A:$A))

Essentially the range starts at A2 and extends down to the last value in the column so that when I add or remove a value I don't end up with blanks in my list or the new values missing. I can use the following as the data validation source for my list with no problem:

=Named_Range

It provides me with a drop-down list of everything in the named range.

However, when I type the named range's name (Named_Range) into a cell (say F1) and use the following as the data validation source for my list, I don't get the drop-down list:

=INDIRECT(F1)

Searching around revealed that this is a know issue, but I can't get my head around a workaround.


Viewing all articles
Browse latest Browse all 88886

Trending Articles