R
Ronster
I'm comparing one string array with another using VLOOKUP. About half
the list matches exactly if I use FALSE in the Range_Lookup. On the
items that don't match I used TRUE in the Range_Lookup but found it
doesn't get the closest match. See example:
Test Table Array
AAABBBCCC
AAACCCCCC
AAACCCDDD
Lookup Value = AAACCCCC
VLOOKUP returns 1st item in Table (AAABBBCCC) ????????????
Of course item 2 (AAACCCCCC) is the better match but VLOOKUP doesn't
see it that way.
Does anyone know of a way around this problem? Maybe a character by
character match function that returns the item that matchs the most
number of correct characters?
Thanks in advance.
the list matches exactly if I use FALSE in the Range_Lookup. On the
items that don't match I used TRUE in the Range_Lookup but found it
doesn't get the closest match. See example:
Test Table Array
AAABBBCCC
AAACCCCCC
AAACCCDDD
Lookup Value = AAACCCCC
VLOOKUP returns 1st item in Table (AAABBBCCC) ????????????
Of course item 2 (AAACCCCCC) is the better match but VLOOKUP doesn't
see it that way.
Does anyone know of a way around this problem? Maybe a character by
character match function that returns the item that matchs the most
number of correct characters?
Thanks in advance.