how to make a list with products and prices

Copper Contributor

how do I make e productlist (dropdown) with the right price?

So if I select for example banana, I want that the next cell automatically gives the right price for the banana. Is that possible?


10 Replies

Hi @excelhelp  

Its simple, click on Data  ---> Data Validation ---> List ---> define the range of list.

Pictorial illustration along with sample excel file is attached for more clarity and understanding: Thanks, Tauqeer


Dropdown list.JPG


I can make that list, but when I select a pear, the price doesn't change along.

Tanx@Jan Karel Pieterse perhaps I am not following the instructions correctly, because it doesn't work. I get an error in the formula.

Which error do you get?


I selected 'Pear' and the price got changed.

Alternatively, you can share your file with list of values you need in a drop down list. Thanks





I attached a sample file

The drop list (data validation ) in column A is changing Product

In Column B I have a Vlookup & Match Function extracting the Price from a Master List




Also the Label in Cell B2 is another drop list >. so if you switch that label from Price to color all the Vlookup functions return colors

Conclusion the you should have a master list with all data and then using a drop list & a Vlookup function you pull out what you need.

Hope that helps

Nabil Mourad

Hi, I'm looking for a similar solution but can't figure it out.

I have a "Parts" column and a "Value" column. When I select a part, I would like the value cell to automatically update with the correct price.

I have another sheet with a table containing the parts and a value - this is where the data needs to come from.

Can anyone help?
Look in Help for the XLOOKUP function. If you do not see that function, try the VLOOKUP function instead.