#1   Report Post  
Posted to microsoft.public.excel.misc
Charlie
 
Posts: n/a
Default Regarding Excel

Supp cell-A1 has a list box with 3 options - America,UK,India.Now if i choose
America from that list then it should show me the cities of America in a list
box in cell no B1..Same way if i choose UK then in cell B1, it should show
the cities of UK .

Please help!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default Regarding Excel

"Charlie" wrote:
Supp cell-A1 has a list box with 3 options - America,UK,India.Now if i choose
America from that list then it should show me the cities of America in a list
box in cell no B1..Same way if i choose UK then in cell B1, it should show
the cities of UK .


Try Debra's page at:
http://www.contextures.com/xlDataVal13.html
Data Validation -- Dependent Dropdowns from a Sorted List

Another good source is Bob Phillips':
http://www.xldynamic.com/source/xld.Dropdowns.html
Dynamic Dependent Dropdowns

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #3   Report Post  
Posted to microsoft.public.excel.misc
papou
 
Posts: n/a
Default Regarding Excel

Hello Charlie
The trick is to use Data Validations Lists and use "related names" for them.
Input your country names starting in A1, define a name = Countries
Place your cities in three different areas of your workbook (starting in B1
for America, C1 for India and D1 for Uk) and
name each list of cities using for prefix the country name used in your list
of countries ie:
AmericaCities refers to the range of cities in America
IndiaCities refers to the range of cities in India
UkCities refers to the range of cities in Uk
Create a Data Validation list for the list of countries and use the name
"Countries" as the source range.
Create a Data Validation list for the list of cities and use this formula in
the Source range :
=INDIRECT($A$8&"Cities")
Where in this example A8 contains the country chosen in your first list.

HTH
Cordially
Pascal



"Charlie" a écrit dans le message de
news: ...
Supp cell-A1 has a list box with 3 options - America,UK,India.Now if i
choose
America from that list then it should show me the cities of America in a
list
box in cell no B1..Same way if i choose UK then in cell B1, it should show
the cities of UK .

Please help!!



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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Open Excel 2003 from Windows Explorer pmpjr Excel Discussion (Misc queries) 9 September 11th 06 03:58 PM
Need suggestions for some uses of Ms Excel Bible John Excel Discussion (Misc queries) 1 February 27th 06 05:30 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM


All times are GMT +1. The time now is 12:30 PM.

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"