Search of particular combinations

K

kashish

In Column A & B there is different name but I want "yes" for below
particular combination else "No"

A A Yes
A B Yes
A C Yes
A D Yes
B A Yes
B B Yes
B C Yes
B D Yes
C A Yes
C B Yes
C C Yes
C D Yes
D A Yes
D B Yes
D C Yes
D D Yes
A E No
D F No
C L No
 
M

Mike H

Hi,

Build your self a table of 'Yes' combinations somewhere out of the way, I
used column J and it looks like this and note aa is in a single cell.

aa
ab
ac
ad
ba
bb
bc
bd
ca
cb
cc
cd
da
db
dc
dd


then this formula in c1 and drag down


=IF(ISNA(VLOOKUP(A1&B1,$J$1:$J$16,1,FALSE)),"No","Yes")

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top