![]() |
vlookup
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 |
vlookup
Assuming stock name A2:A100, and stock code B2:B100
=VLOOKUP("mama",A2:B100,2,0) Adjust to suit "sako 338" wrote: 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 |
vlookup
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 "Teethless mama" wrote: Assuming stock name A2:A100, and stock code B2:B100 =VLOOKUP("mama",A2:B100,2,0) Adjust to suit "sako 338" wrote: 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 |
All times are GMT +1. The time now is 07:28 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com