Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

VLOOKUP, HOW TO FIND PRICE BY NAME ON EXCEL

im currently learning excel and trying to do some excercise on excel Vlookup
the current question that i had is

  1. find the price product id
  2. find the price by product id
  3. find the stock by product id
  4. find product name by ID
  5. find product name by stock
  6. find product price by name

i can solve 1 – 6 question and always getting error on question 6
i tried

=VLOOKUP(I20;C6:D10;2;0)

and having #N/A
I dont understand why, pls help 🙂

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

the excel screenshot

>Solution :

You can’t use Vlookup() to return price by product name because Vlookup() always search on first column of table and in your case product name is second column (as per your current formula). Use INDEX()/MATCH() in this case like-

=INDEX(C6:C10,MATCH(I20,D6:D10,0))
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading