ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Search of particular combinations (https://www.excelbanter.com/excel-worksheet-functions/229795-search-particular-combinations.html)

kashish

Search of particular combinations
 
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


Mike H

Search of particular combinations
 
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

"kashish" wrote:

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



All times are GMT +1. The time now is 12:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com