#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Dropdown Menu?

Hi,

This is driving me a little insane.... :) so please help.

Ok here's the setup: I have 3 columns - 1st being the states, 2nd column
shows cities in those states, and 3rd has climate zone values.

Some states have 3 cities some 55...

Alltogether i have over 700 cities...


1. I want to select a state from a drop down menu (this i know how to do)
2. Next I want to select a city but I want to have a drop down menu that has
only cities within the state selected;
3. and last i want to display the climate zone value for that selected
city....

Thanks a million!
  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Dropdown Menu?

Debra Dalgleish has material on this at her:
http://www.contextures.com/xlDataVal02.html
Excel -- Data Validation -- Create Dependent Lists
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---
"zoran144" wrote:
Ok here's the setup: I have 3 columns - 1st being the states, 2nd column
shows cities in those states, and 3rd has climate zone values.

Some states have 3 cities some 55...

Alltogether i have over 700 cities...


1. I want to select a state from a drop down menu (this i know how to do)
2. Next I want to select a city but I want to have a drop down menu that has
only cities within the state selected;
3. and last i want to display the climate zone value for that selected
city....


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Dropdown Menu?

You need dependent lists dropdowns.

See Debra's site for this.

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


Gord Dibben MS Excel MVP

On Wed, 3 Dec 2008 16:08:01 -0800, zoran144
wrote:

Hi,

This is driving me a little insane.... :) so please help.

Ok here's the setup: I have 3 columns - 1st being the states, 2nd column
shows cities in those states, and 3rd has climate zone values.

Some states have 3 cities some 55...

Alltogether i have over 700 cities...


1. I want to select a state from a drop down menu (this i know how to do)
2. Next I want to select a city but I want to have a drop down menu that has
only cities within the state selected;
3. and last i want to display the climate zone value for that selected
city....

Thanks a million!


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Dropdown Menu?

Thanks guys!!!!! Got the answer he
http://www.contextures.com/xlDataVal13.html

Great website - you wont see any questions from me in a while now.


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Dropdown Menu?

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.

Then to display the data for that city/state:

=SUMPRODUCT(--(A1:A600=City),--(B1:B600=State),Climate)

Where City is the cell where the city drop down is located and State is the
cell where the State drop-down is located, and Climate is the column where
the climate data is displayed.

If this helps, please click the Yes button.

Cheers,
Shane Devenshire

"zoran144" wrote:

Hi,

This is driving me a little insane.... :) so please help.

Ok here's the setup: I have 3 columns - 1st being the states, 2nd column
shows cities in those states, and 3rd has climate zone values.

Some states have 3 cities some 55...

Alltogether i have over 700 cities...


1. I want to select a state from a drop down menu (this i know how to do)
2. Next I want to select a city but I want to have a drop down menu that has
only cities within the state selected;
3. and last i want to display the climate zone value for that selected
city....

Thanks a million!

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
filter dropdown menu so 2nd drop menu is customized menugal Excel Worksheet Functions 1 September 4th 07 05:25 PM
Create Dropdown menu without using the Validation on the Data Menu lostinformulas Excel Worksheet Functions 0 July 13th 06 08:47 PM
dropdown menu or Jump menu the dude Excel Discussion (Misc queries) 1 March 26th 06 07:58 PM
Dropdown menu Klont Excel Worksheet Functions 1 February 21st 06 10:37 AM
Dropdown menu ghost1967 Excel Worksheet Functions 5 January 12th 05 03:57 AM


All times are GMT +1. The time now is 10:38 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"