Dro pdown list formulas

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a table of product and prices and i want to create a drop down list to
select product with a formulae in another cell that returns the relevant
retail price dependant on the product selected from the drop down list, with
another cell returning the cost price
 
Name Table the 2-column list of products and prices.

Data validate the cells of interest with Allow set to List and Source
set to:

=INDEX(Table,0,1)

Let A2 on some sheet be such a data validated cell. In B2 you can invoke:

=VLOOKUP(A2,Table,2,0)

to retrieve the price associated with the product selected in A2.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top