Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Linking a cell to a drop down list

What I would like to do is have a drop-down list that lists all the
divisions/departments of a company, and when I select a particular
division/department from the drop-down list, I would like the box
underneath or anywhere on the worksheet to automatically update with
the appropriate ID number that is assigned to each division. Is this
possible? If so, how can this be done in excel? Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Linking a cell to a drop down list

Let us say you have your department ID's in A1:A10 and department
descriptions in B1:B10.

Right-click the menu area and bring up the Forms toolbar.
Click Combo-box and draw it on the screen.
While still selected (select with Ctrl+click if necessary) double-
click and go to the Control tab.
Set Input range to B1:B10. Thus your combo box will show the
department names.
Set Cell link, say, G2. Now, once a department is selected, its
ordinal number within B1:B10 will appear in G2.
Choose another cell to display department ID. In this cell put the
formula:
=INDEX(A1:A10,G2)

The last cell will show the department ID.

HTH
Kostis Vezerides

On Feb 27, 7:38 pm, wrote:
What I would like to do is have a drop-down list that lists all the
divisions/departments of a company, and when I select a particular
division/department from the drop-down list, I would like the box
underneath or anywhere on the worksheet to automatically update with
the appropriate ID number that is assigned to each division. Is this
possible? If so, how can this be done in excel? Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Linking a cell to a drop down list

Use Data Validation for in-cell drop-down for selecting an item and VLOOKUP
for filling in the ID number.

See Debra Dalgleish's site for more on VLOOKUP and Data
Validation lists for entering the choices.

http://www.contextures.on.ca/xlFunctions02.html

http://www.contextures.on.ca/xlDataVal01.html

Note the section on using DV lists from another worksheet by naming the list.


Gord Dibben MS Excel MVP


On 27 Feb 2007 08:38:30 -0800, wrote:

What I would like to do is have a drop-down list that lists all the
divisions/departments of a company, and when I select a particular
division/department from the drop-down list, I would like the box
underneath or anywhere on the worksheet to automatically update with
the appropriate ID number that is assigned to each division. Is this
possible? If so, how can this be done in excel? Thanks.


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
Drop down list linking altah Excel Worksheet Functions 1 January 13th 07 12:45 AM
linking items from drop down list in excel jog Excel Worksheet Functions 1 September 5th 06 12:36 PM
linking data between sheets using drop down list JohnOC Excel Worksheet Functions 4 March 13th 06 04:25 PM
Limit drop down list and linking to other info Intuit Excel Worksheet Functions 13 February 2nd 06 09:48 PM
Linking Drop-down list to worksheets Compnerd Excel Discussion (Misc queries) 0 March 7th 05 06:13 PM


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