Drop Down with Description

Escarabajo

New Member
Joined
Aug 7, 2014
Messages
14
I am trying to figure out how I can have a drop down list to select from and have a description of the code I am selecting.

For example:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Code[/TD]
[TD]Description[/TD]
[/TR]
[TR]
[TD]1100[/TD]
[TD]Project Management[/TD]
[/TR]
[TR]
[TD]1200[/TD]
[TD]Project Coordination[/TD]
[/TR]
[TR]
[TD]1300[/TD]
[TD]Administration[/TD]
[/TR]
</tbody>[/TABLE]

Drop down only shows the code but no description. The code 1100 is the value I want to select but I will not always know what the code means without having to look it up.

Am I going about this in the wrong way, any help would be appreciated?
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Not sure if I follow you. I have a cost breakdown structure and I need to add these codes to the associated costs. I can get a drop down in a single cell to provide the cost code but not with the description to choose the right cost code.




There must be a reference table with the matching descriptions. Different formulas can do this one in example would be index match.


Sheet2

AB

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:121.6px;"><col style="width:219.2px;"></colgroup><tbody>
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]1[/TD]
[TD="bgcolor: #666699"]Code[/TD]
[TD="bgcolor: #666699"]Description[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]2[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ccffff]#ccffff[/URL] , align: right"]1100[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ccffff]#ccffff[/URL] "]Project Management[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]3[/TD]
[TD="align: right"]1200[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ccffff]#ccffff[/URL] "]Project Coordination[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]4[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ccffff]#ccffff[/URL] , align: right"]1300[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ccffff]#ccffff[/URL] "]Administration[/TD]

</tbody>

Spreadsheet Formulas
CellFormula
B2=IFERROR(INDEX(Sheet1!$B$2:$B$4,MATCH($A2,Sheet1!$A$2:$A$4,0)),"")
B3=IFERROR(INDEX(Sheet1!$B$2:$B$4,MATCH($A3,Sheet1!$A$2:$A$4,0)),"")
B4=IFERROR(INDEX(Sheet1!$B$2:$B$4,MATCH($A4,Sheet1!$A$2:$A$4,0)),"")

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0
You can either pull the code by entering description or enter the code to get the description.

Which way do you prefer?
 
Upvote 0
If you prefer to enter the description and the formulas to fill in the cost codes this will work:

Excel Workbook
AB
1CodeDescription
21100Project Management
31200Project Coordination
41300Administration
Sheet2
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top