excel vba - If cell contains a specific value from a Column, show a third cell value -
here's i'm trying do:
i have 2000 order numbers in a:a, examples:
125787 358946 358961 i have 2000 strings include these order numbers in b:b, examples:
12542-marlboro-125787 19009-bryn athyn-358946 21037-edgewater-358961 i have 3000 person names in c:c associated whit cities listed in column b, examples:
frank smith - marlboro john park - bryn athyn kevin decker - edgewater i want match/find order numbers a:a in b:b , return person's name (in c:c) associated city , put name in new column d:d. hope make sense...
or formula. in d1, enter
=if(a1<>"",index(c:c,match(concatenate("*",a1),b:b,0)),"")
Comments
Post a Comment