C
cau83
Guest
Matching 2 lists is covered, however I have not found a solution for the type of matching I need to do.
I have 2 lists-- each one has many values. List 1 is setup like this:
Account Detail
A&P A&P TCA
xxx xxxxx
List 2 is like this:
Store Char1 Char2 Char3 etc.
33 Big Y Shoe A&P TCA
46 G TCA Fair Popsicle
List 2 has ~25 columns. Each store does not have 25 characteristics-- it varies. The characteristics are not in any particular order. I want to create a column in List 2 that tells me if any of the characteristics values in that row match any of the details from list 1. In other words, match one array against another array and look for a match of any individual value.
In the example I gave above, I'd get output telling me that store 33 does match a detail from List 1, but Store 46 does not.
Does that make sense? Any ideas?
Thanks,
Chris
I have 2 lists-- each one has many values. List 1 is setup like this:
Account Detail
A&P A&P TCA
xxx xxxxx
List 2 is like this:
Store Char1 Char2 Char3 etc.
33 Big Y Shoe A&P TCA
46 G TCA Fair Popsicle
List 2 has ~25 columns. Each store does not have 25 characteristics-- it varies. The characteristics are not in any particular order. I want to create a column in List 2 that tells me if any of the characteristics values in that row match any of the details from list 1. In other words, match one array against another array and look for a match of any individual value.
In the example I gave above, I'd get output telling me that store 33 does match a detail from List 1, but Store 46 does not.
Does that make sense? Any ideas?
Thanks,
Chris