I'm attempting to look up a value from one column, and if found, copy the corresponding cell in a second column to new cell.
Column B is a list of names Column M is another list of names, which is also found in Column B, and this list has an ID # associated to it in column L.
what I want to do is is the following; If value in B2 is found in column M, then copy the adjacent cell in L, to column A beside the name looked up.
One note about the names in Column M, they are a little off but can be matched by grab X number of characters in the cell in column B.
So far I've come up with the following:
=INDEX($L$1:$L$130,SMALL(IF(ISNUMBER(SEARCH(LEFT($B2,10),$M$1:$M$130)),MATCH(ROW($M$1:$M$130),ROW($M$1:$M$130))),ROW(A1)))
Thoughts or suggestions.. If there is a better way I'm game. I found the above searching Google and working on this yesterday. I'm not sure I fully under stand the ROW(A1) at the end
Thanks.