0
votes

enter image description here

I am trying to check whether the value in each cell within Column A is in Column D. Some cells in Column D have multiple values within a single cell. If the value of Column A IS found in Column D then I want the formula to return what's in Column B (value next to Column A that matched).

3

3 Answers

0
votes

If you are looking at just row by row analysis then try this:

=if(iserror(search(a2,d2)),"",b2)

if you are trying to match any row in D then I suggest breaking out all items in D into an item per row and then doing a VLOOKUP

0
votes

Can you copy column B to Column E? If so,

=Vlookup("" & A1 & "", D:E, 2,0) and scroll down.

If not, a similar index(match( function will work with a wild card. (*)

0
votes

Try:

enter image description here

Formula in C2:

=IF(SUMPRODUCT(--(ISNUMBER(SEARCH(A2,$D$2:$D$5))))>0,B2,"")

Drag down..