Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2008

Tip: Looking for answers? Try searching our database.

Data Validation: How to create a dynamic range in column A and use it     for a drop-down list

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike C - 23 Mar 2008 02:05 GMT
I am trying to define a dynamic range on sheet 3, which I want to be
able to use as a dropdown list as a part of the data validation "list"
option.

But whenever I select the drop down list after creating the validation
rule (via data > validation), I cannot see my list.

Perhaps I am using the wrong formula for the dynamic range?

Here is what I am doing.

List is in Sheet 3, rows 1-10 (and growing).

Defined name is: =OFFSET('Sheet3!A1,0,0,COUNTA('Sheet3!!$A:$A))

In sheet 1, column C, I am selecting the column, then selecting data,
validation, list (and placing "=nameofmylist" in the source box.

Thanks for any thoughts......
Per Jessen - 23 Mar 2008 02:48 GMT
Hi Mike

Name the range which containing your validation list (including some
empty rows) - via "Insert > Name"

Then set the source (Data> Validation> List>) "=NamedRange" and make
sure that the checkbox "Ignore blank cells" is checked.

Using named ranges is the only way to refer to validation lists on
other sheets.

Regards,

Per

> I am trying to define a dynamic range on sheet 3, which I want to be
> able to use as a dropdown list as a part of the data validation "list"
[quoted text clipped - 15 lines]
>
> Thanks for any thoughts......
Debra Dalgleish - 23 Mar 2008 03:07 GMT
Use an absolute reference ($A$1) to the starting cell in the Offset
formula, instead of a relative reference (A1):

  =OFFSET(Sheet3!$A$1,0,0,COUNTA(Sheet3!$A:$A))

> I am trying to define a dynamic range on sheet 3, which I want to be
> able to use as a dropdown list as a part of the data validation "list"
[quoted text clipped - 15 lines]
>
> Thanks for any thoughts......

Signature

Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.