vlookup

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

Guest

I am using vlookup to populate a cell with a stock code depending on what the
stock name is in the adjacent cell. it works fine when i type the stock name
in the cell, but when i use a formula to put the stock name in the cell
vlookup returns #N/A

any help appreciated
 
Assuming stock name A2:A100, and stock code B2:B100

=VLOOKUP("mama",A2:B100,2,0)

Adjust to suit
 
Try reformatting your source cells (e.g. text as text or number as number).
Often if the vlookup is trying to read a number that is formatted as text it
will return the result #N/A
 

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