Matching multiple criteria that includes comma separated value

Rokcmd

New Member
Joined
Oct 18, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello - I'm looking for a formula to confirm a match between multiple criteria when one of the lookup arrays has comma separated values. For ex. in the screenshot below, if C2 & D2 match with the arrays A2:A4 & any of its adjacent comma separated values in B2:B4, the formula would return "Match".
 

Attachments

  • Example 1.png
    Example 1.png
    45.1 KB · Views: 6

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Not sure whether the following will cover it all but you can test it:

Excel Formula:
=MAP(C2:C7,D2:D7,LAMBDA(x,y,IF(SUM(--(y=--(TEXTSPLIT(XLOOKUP(x,$A$2:$A$7,$B$2:$B$7),", "))))>0,"Match","No Match")))
 
Upvote 0
Solution

Forum statistics

Threads
1,222,905
Messages
6,168,948
Members
452,227
Latest member
sam1121

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top