Try this:
Put a new worksheet in your workbook, then:
A1: Product
B1: Cost
A2: Prod_A (or whatever products you have)
B2: Prod_A_Cost
Continue filling in the list
When done...
Select from A2 through the last item in Col_B
Insert>Name>Define
Name in workbook: LU_ProdCost
Refers to: (your already selected list)
Click the [OK] button
Next, switch to your input sheet
Select the Product input cells
Data>Validation
Allow: List
Source: =OFFSET(LU_ProdCost,0,0,,1)
Click the [OK] button
Select the Product cells (I'll assume they begin in cell B2)
B2: =IF(ISBLANK(A2),"",VLOOKUP(A2,LU_ProdCost,2,0))
Copy that formula down as far as you need.
Results:
The Product input cells will only allow valid products.
The Cost cells will lookup each product in the LU_ProdCost list
and return the corresponding Cost.
Is that something you can work with?
***********
Regards,
Ron
XL2002, WinXP-Pro