Dropdown list/Multiple choice??
Hi.
I have 2 lists like this: Code Name X12 David Z55 Arnold AB223 Meechie etc I would like to do cell validation and give user the option of using drop down list in either of the columns, while the other column gets populated by using VLOOKUP. Is this possible, or an insane request?! Pls do help KDDXB |
It is quite possible. Take a look at the following look for some guidance on
how to set about it. http://www.contextures.com/xlDataVal01.html -- Regards Roger Govier "KDD" wrote in message ... Hi. I have 2 lists like this: Code Name X12 David Z55 Arnold AB223 Meechie etc I would like to do cell validation and give user the option of using drop down list in either of the columns, while the other column gets populated by using VLOOKUP. Is this possible, or an insane request?! Pls do help KDDXB |
Hi
Create a sheet p.e. Employees, with columns Code and Name (column headers in row 1, no empty rows in table) - and fill it. Create named ranges p.e. EmplCode=OFFSET(Employees!$A$1,1,,COUNTA(Employees !$A:$A)-1,1) EmplTable=OFFSET(Employees!$A$1,1,,COUNTA(Employee s!$A:$A)-1,2) On your input sheet, select wanted range in column Code, and create a data validation list with source =EmplCode Into next column, p.e. into cell B2, enter the formula like this: =IF(ISERROR(VLOOKUP(A2,EmplTable,2,0)),"",VLOOKUP( A2,EmplTable,2,0)) and copy it down. -- Arvi Laanemets ( My real mail address: arvil<attarkon.ee ) "KDD" wrote in message ... Hi. I have 2 lists like this: Code Name X12 David Z55 Arnold AB223 Meechie etc I would like to do cell validation and give user the option of using drop down list in either of the columns, while the other column gets populated by using VLOOKUP. Is this possible, or an insane request?! Pls do help KDDXB |
All times are GMT +1. The time now is 01:59 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com