Filtering Data Using not Exact Match

New Contributor
I am trying to extract / filter a list of names based on if a player is attending. For example if Player A is FALSE(not playing) only show the last 3 pairs highlighted in the example below.

I have a list of names of players. Column A (Players) Column B (Attending T / F)

Player A - FALSE
- Player B - TRUE
- Player C - TRUE
- Player D - TRUE

I then have a list of pairs for example. Column D (Pairs not played)

- Player A & Player B
- Player A & Player C
- Player A & Player D
- Player B & Player C
- Player B & Player D
- Player C & Player D

Thus far I have 
Excel Formula:

For example Kim and Kimberley are 2 different values. 


3 Replies
best response confirmed by TerrorTot38 (New Contributor)

Hi @TerrorTot38 


under the assumption, that the names in a pair are in one singel cell and always separated by a &-sign, this could be one solution:




The formula is tricky because it needs to split the pair first and then do the comparison agains the list of players.

It would be much easier, if you have the names of the pairs in two separate columns:






Thank you very much for the help with this solution as both look great. My only problem is with the number of players we have there is up to 191 unique pairings.

I'm happy to share a one drive file with a bigger data set as this works fine for 4 players.

Hi @TerrorTot38 


in the end, the only thing that you probably need to do is to adjust the cell range in the example to your needs.