Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a problem. I have two codes for the same stock. e.g. 1)AUROPHARMA and
2)AUROPHARM.NS. there are subtle differences. The stock list in one case in code 1 is about 500. the other list is my stocks in code 2. now how to get both the corresponding codes in two adjacent columns, provided it can at all be done. .. When i tried with vlookup(lookupvalue, database,columnno,true) to get approximate values i get "ATUL". instead of auroph....... I am familiar with vba and excel. Kindly advise me how to go about provided this can be done Mine is excel 2000 -- remove $$$ from email addresss to send email |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi R.,
vlookup(lookupvalue, database,columnno,true) to get approximate values i get "ATUL". instead of auroph....... "approximate" values work only if the "database" is sorted. It does not find the next best match, it simply finds the next/previous value, eg. if you are looking for "m" you will get "b" from that table: a b x y you will get "a" if you lookup "m" from this table: x a y b and #NV from this one: y x b a I use this type of lookup only with numbers, eg. to find the next best value around 80% if I have a table like this 79,123 79,45 80,123 .... arno |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thanks.
arno wrote in message ... Hi R., vlookup(lookupvalue, database,columnno,true) to get approximate values i get "ATUL". instead of auroph....... "approximate" values work only if the "database" is sorted. It does not find the next best match, it simply finds the next/previous value, eg. if you are looking for "m" you will get "b" from that table: a b x y you will get "a" if you lookup "m" from this table: x a y b and #NV from this one: y x b a I use this type of lookup only with numbers, eg. to find the next best value around 80% if I have a table like this 79,123 79,45 80,123 ... arno |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
vlookup and lookup | Excel Worksheet Functions | |||
About Lookup and Vlookup | Excel Discussion (Misc queries) | |||
=IF(AND(LOOKUP(F3,A21:A42)=F3,LOOKUP(B4,B21:B42)=B4),(VLOOKUP(B4,B | Excel Worksheet Functions | |||
LOOKUP or VLOOKUP | Excel Worksheet Functions | |||
LOOKUP or VLOOKUP | Excel Worksheet Functions |