Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to filter a 2nd list based on selection in 1st list.

I have two lists States and Counties that I have created with
Data/Validation. I would like when the user selects a State to only
show in the Counties lists the counties for that state.

Does anyone have a suggestion or sample code how to do this? Any help
is appreciated.

States List has 4 items
NY
NJ
PA
CT

Counties List has counties that start with the state initials:
NY-Suffolk
NY-Nassau
NJ-Bergen
NJ-Essex
....
....

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default How to filter a 2nd list based on selection in 1st list.

See

http://www.contextures.com/xlDataVal02.html

In article . com,
"ImOk" wrote:

I have two lists States and Counties that I have created with
Data/Validation. I would like when the user selects a State to only
show in the Counties lists the counties for that state.

Does anyone have a suggestion or sample code how to do this? Any help
is appreciated.

States List has 4 items
NY
NJ
PA
CT

Counties List has counties that start with the state initials:
NY-Suffolk
NY-Nassau
NJ-Bergen
NJ-Essex
...
...

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to I filter one list based on another list? Erlend Excel Discussion (Misc queries) 3 April 24th 23 09:08 AM
Filter multiple workbooks from drop down list selection mellors Excel Worksheet Functions 1 July 18th 10 04:09 PM
Filter the results of a list based on a previous vlookup against the same list Mizpah Excel Worksheet Functions 2 August 18th 06 10:28 AM
validation list - filter based on selection jen Excel Worksheet Functions 2 June 22nd 06 02:52 AM
limit cell list selection based on the selection of another list lorraine Excel Worksheet Functions 2 December 14th 04 08:17 PM


All times are GMT +1. The time now is 08:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"