LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
John Michl
 
Posts: n/a
Default How do you link 2 drop-down menus?

Apologies if this is a duplicate post. Not sure if the first one went
through.

Here's a simple example.
In column G starting row1 enter
[Select One]
France
Germany
Mexico
USA

In column G starting row 1 enter
N/A
2
2
1
1

In cell A1, create a data validation drop down. From the menu, Data
Validation List and then type in or select range G1:G5 as the
validation list. Select OK to finish this out. In cell one, choose
"[Select One]" from the drop down.

In cell B1, enter =VLOOKUP(A1,$G$1:$H$5,2,False). Which means, find
the value in cell A1 by searching vertically in the first column of
range G1:H5. When found, pull the corresponding value in the second
column. False means it must find an exact match.

Hope that helps.

- John Michl
www.JohnMichl.com

 
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
Link To Drop Down Menu JANA Excel Worksheet Functions 5 October 26th 05 01:34 PM
How do you link drop down lists in excel? Angel aAlegria Excel Discussion (Misc queries) 1 August 18th 05 10:21 PM
formulas for drop down menus Char Excel Discussion (Misc queries) 0 July 18th 05 07:29 PM
how do i set up drop down menus to populate cells in excel? Louise Scott Excel Discussion (Misc queries) 2 May 29th 05 07:19 PM
how do I insert drop down menus into excel that are dependent on . Nicole Excel Discussion (Misc queries) 1 March 15th 05 10:51 PM


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