Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / December 2005

Tip: Looking for answers? Try searching our database.

Excel dropdown with text and value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mr. App - 26 Dec 2005 12:19 GMT
Is it possible to create a dropdown in Excel that will act like an HTML
dropdown, meaning that when opening the dropdown we will see, for example,
the texts Red,Green,Yellow, and each one has it's own value, for example:
Red=1
Green=2
Yellow=3
So we will see the names in the dropdown but what i want after selecting an
option is to get it's value.

Thanks.
Duke Carey - 26 Dec 2005 17:48 GMT
Use a two column table, with the left column containing Red, Green, etc and
the 2d column containing the corresponding numeric values.  In the
Data-Validation dialog, choose List and use the left column of the table as
your source.  Then simply do a vlookup on the user's choice to determine the
correct value

> Is it possible to create a dropdown in Excel that will act like an HTML
> dropdown, meaning that when opening the dropdown we will see, for example,
[quoted text clipped - 6 lines]
>
> Thanks.
Debra Dalgleish - 27 Dec 2005 03:15 GMT
You could do this with programming. There's a sample workbook on my web
site that shows a product name and code in the Data Validation dropdown
list. After an item is selected, the cell shows only the product name.
You may be able to adapt this to your workbook.

On the following page:

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

Under Data Validation, look for "Data Validation Columns"

> Is it possible to create a dropdown in Excel that will act like an HTML
> dropdown, meaning that when opening the dropdown we will see, for example,
[quoted text clipped - 6 lines]
>
> Thanks.

Signature

Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.