ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   drop down list help (https://www.excelbanter.com/excel-worksheet-functions/72215-drop-down-list-help.html)

tech_2006

drop down list help
 

hi there, I am new here.

I require some help.

I have a drop down list of values (such as names for example)
I also have in another cell right next to the selection of names, the
employee ID, for example.

What I want is that on A cell away from this list, I want the cell to
have a drop down list box. This is easily done (Data validation)
The next thing I want is that when the user selects an item from this
drop down list, I want the employee ID, for the selected value, to be
populated appropriatly in the next cell.

is this possible?

how?

thanks!


--
tech_2006
------------------------------------------------------------------------
tech_2006's Profile: http://www.excelforum.com/member.php...o&userid=31643
View this thread: http://www.excelforum.com/showthread...hreadid=513327


Pete_UK

drop down list help
 
Assume the user selects the item in cell A1. In cell B1 enter this
formula:

=VLOOKUP(A1,L$1:M$20,2,0)

this will bring the ID from the table of names and ID (assumed to
occupy L1 to M20) - adjust cell references as appropriate.

Hope this helps.

Pete



All times are GMT +1. The time now is 03:13 PM.

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