Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
VV VV is offline
external usenet poster
 
Posts: 1
Default Dynamic list on a cell

Hi,

How can I create a dynamic list of values based on the value selected from
other cell. For example, I have a list countries on cell A1, and list of
Cities in cell B1. City list should be changed based on the value selected in
Country list. Is it possible in Excel ? I tried looking on onClick or
onChange events or some ting, but I couldn't find any. Any help on this
regard, is much appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Dynamic list on a cell

Sounds like you want dependent lists. See this:

http://contextures.com/xlDataVal02.html

--
Biff
Microsoft Excel MVP


"VV" wrote in message
...
Hi,

How can I create a dynamic list of values based on the value selected from
other cell. For example, I have a list countries on cell A1, and list of
Cities in cell B1. City list should be changed based on the value selected
in
Country list. Is it possible in Excel ? I tried looking on onClick or
onChange events or some ting, but I couldn't find any. Any help on this
regard, is much appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Dynamic list on a cell

Hi,

Here are the steps for creating a dynamic data validation list:

1. Create three or more list in the spreadsheet. For example:
A B C
New York Quebec Canada
Seattle Toronto US
Miami Victoria

You would name lists: US (A1:A3), Canada (B1:B3), Countries (C1:C2) this
last is optional

2. Select the cell where you want the initial validation list, for this
example, D1
3. Choose Data, Validation
4. From the Allow drop-down and choose List
5. In the Source box enter the following formula
=Countries
6. Move to the location where you want the dynamic (changing) list to
appear, say for example E1
7. Choose Data, Validation, List and in the Source box enter the formula
=INDIRECT(D1)

You can also make a self-referential dynamic data validation list.

If this helps, please click the Yes button.

Cheers,
Shane Devenshire

"VV" wrote:

Hi,

How can I create a dynamic list of values based on the value selected from
other cell. For example, I have a list countries on cell A1, and list of
Cities in cell B1. City list should be changed based on the value selected in
Country list. Is it possible in Excel ? I tried looking on onClick or
onChange events or some ting, but I couldn't find any. Any help on this
regard, is much appreciated.

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
Extracting values from a single dynamic cell to a list daily Terry Excel Worksheet Functions 1 June 11th 08 09:55 PM
select last cell in a dynamic list using a macro uncrox Excel Discussion (Misc queries) 4 July 19th 06 01:27 PM
Dynamic named list includes blank cell at bottom L Scholes Excel Discussion (Misc queries) 1 April 13th 06 06:13 PM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Charts and Charting in Excel 0 March 1st 06 01:05 AM
Active / Dynamic Filtered List (changes w/ change in cell value) [email protected] Excel Discussion (Misc queries) 3 March 31st 05 04:03 PM


All times are GMT +1. The time now is 12:26 AM.

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

About Us

"It's about Microsoft Excel"