Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP | Excel Discussion (Misc queries) | |||
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) | New Users to Excel | |||
IF(a1="x",(vlookup 18K rows,2,false),(vlookup 18K,3,false)) RAM? | Excel Worksheet Functions | |||
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( | Excel Worksheet Functions | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |