ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   drop down menu ( list) (https://www.excelbanter.com/excel-discussion-misc-queries/154009-drop-down-menu-list.html)

chad

drop down menu ( list)
 
I have made a drop down list to select different (text) names. Is there a way
to make each name correspond to a different number and place that number in a
different cell

For ex.

Cell # A1 Cell # A4
Chad 2
Nick 12
Jason 118


Peo Sjoblom

drop down menu ( list)
 
Use a lookup table


=IF(A1="","",VLOOKUP(A1,$K$1:$L$20,2,0))

where you would create a 2 column table with the list you are using in the
left column and the
numbers in the right column

In my example I used table in

$K$1:$L$20

you obviously need to have this in another cell as opposed to in the cell
with the dropdown





--
Regards,

Peo Sjoblom




"Chad" wrote in message
...
I have made a drop down list to select different (text) names. Is there a
way
to make each name correspond to a different number and place that number
in a
different cell

For ex.

Cell # A1 Cell # A4
Chad 2
Nick 12
Jason 118




challa prabhu

drop down menu ( list)
 
Hi,

For more information, please refer to this URL:
http://www.contextures.com/xlDataVal02.html.

Note: At the end of this page there are for more information corresponding
to list.

Challa prabhu

"Chad" wrote:

I have made a drop down list to select different (text) names. Is there a way
to make each name correspond to a different number and place that number in a
different cell

For ex.

Cell # A1 Cell # A4
Chad 2
Nick 12
Jason 118



All times are GMT +1. The time now is 08:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com