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 / Worksheet Functions / November 2005

Tip: Looking for answers? Try searching our database.

Using a 'Select' (Data Validation) List?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dezdan@gmail.com - 21 Nov 2005 19:03 GMT
Howdy! I have a spreadsheet with a few hundred entries in it on sheet
1. One of the columns in the sheet is State, and an adjacent column is
County. I am only working with 3 or 4 states, but combined they have a
lot of counties! Since the Data Validation list option only holds so
many entries, I have had to add just the counties most used.

What I would like to do, is when a certain state is selected in column
'A' from a list, the list for column 'B' will show Only counties from
that state. Now I know the basics of how to do this - using an if
statement to check to see what column 'A' is, and to then pull the list
of counties from another sheet (sheet 3 for me), but I do not know how
to put it all together code wise. Any help would be very much
appreciated!

Thanks!
~Dan
Ron Coderre - 21 Nov 2005 19:22 GMT
I believe this website will get you on the right track:
http://www.contextures.com/xlDataVal02.html

Does that help?

***********
Regards,
Ron

> Howdy! I have a spreadsheet with a few hundred entries in it on sheet
> 1. One of the columns in the sheet is State, and an adjacent column is
[quoted text clipped - 12 lines]
> Thanks!
> ~Dan
dezdan@gmail.com - 21 Nov 2005 19:57 GMT
Thanks for the reply Ron! It does help, but it appears that it will not
work across sheets (ie: all my data will have to be on the same sheet -
which I don't want). Any other suggestions?

Thanks,
~Dan
Ron Coderre - 21 Nov 2005 20:15 GMT
All of which data would have to be on one sheet?
Which part isn't working?
Does the dependent list display the wrong data? No data?
Are you using Dynamic Ranges?

Does that help?

***********
Regards,
Ron

> Thanks for the reply Ron! It does help, but it appears that it will not
> work across sheets (ie: all my data will have to be on the same sheet -
> which I don't want). Any other suggestions?
>
> Thanks,
> ~Dan
dezdan@gmail.com - 29 Nov 2005 23:12 GMT
Thanks for the follow-up Ron, and sorry about my delay.

My data for the both the main list and the dependent list are on the
same sheet, though the lists are being used on another sheet in the
same workbook. My trouble is is creating the dependent data validation
using the INDIRECT function. I am using: =INDIRECT(Data!A2)  for which
I receive the following error: "You may not use references to other
worksheets or workbooks for Data Validation criteria." This is where I
am currently stuck. I really do not want to have the data for the list
on the same sheet that I am working on. Any help?

Thanks,
~Dan
Gord Dibben - 21 Nov 2005 22:53 GMT
Dan

You can use Lists from other sheets if you name the Lists.

Gord Dibben Excel MVP

>Thanks for the reply Ron! It does help, but it appears that it will not
>work across sheets (ie: all my data will have to be on the same sheet -
>which I don't want). Any other suggestions?
>
>Thanks,
>~Dan
dezdan@gmail.com - 30 Nov 2005 18:42 GMT
My list are named, however my trouble is creating a dependent data
validation list using the INDIRECT function. I receive the error: "You
may not use references to other worksheets or workbooks for Data
Validation criteria."

~Dan
 
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



©2009 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.