Finding match of two sets of data

Gman33

New Member
Joined
Feb 22, 2017
Messages
4
Hello everyone,

I am having a problem and I'm a newbie with excel so looking for some help!

I need to compare two sets of data and find a match, for example...

I need to compare User 1 Row with each Row of Group B to see if User 1 picked User 6 and User 6 also picked User 1 for a positive match. This needs to be done for all Group A users to all Group B users. If a match for Pick1, then "match pick 1" would display "match w/ user#"

Group APick1Pick2Match Pick 1Match Pick 2
User:167
User:279
User:3610
User:4910
User:5108
Group B
User:612
User:712
User:823
User:923
User:1045

<tbody>
</tbody>


Thank you,
Gman
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Welcome to the forum.

If I understood correctly, this formula will report the phrase "Match User # X" when the choice by a Group A User matches the Choice of the Group B User.

I altered the data to simplify user numbers. Copy D2 across and down as necessary.

ABCDE
1Group A UserPick1Pick2Match Pick 1Match Pick 2
2167Match User# 6
3279
43610
54910
65108
7Group B User
8612
9712
10823
11923
121045

<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet36

Worksheet Formulas
CellFormula
D2=IF(INDEX(B$8:B$12,MATCH(B2,$A$8:$A$12,0))=$A2,"Match User# "&B2,"")

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Welcome to the forum.

If I understood correctly, this formula will report the phrase "Match User # X" when the choice by a Group A User matches the Choice of the Group B User.

I altered the data to simplify user numbers. Copy D2 across and down as necessary.

ABCDE
1Group A UserPick1Pick2Match Pick 1Match Pick 2
2167Match User# 6
3279
43610
54910
65108
7Group B User
8612
9712
10823
11923
121045

<tbody>
</tbody>
Sheet36

Worksheet Formulas
CellFormula
D2=IF(INDEX(B$8:B$12,MATCH(B2,$A$8:$A$12,0))=$A2,"Match User# "&B2,"")

<tbody>
</tbody>

<tbody>
</tbody>

This did not work. Also it is static and doesn't roll down the list to check for matches.
 
Upvote 0
What?

There is only one match in your sample data. The other green cells display blank because there are no matches.
 
Upvote 0
Perhaps you could post some more sample data together with the expected results for each datum. We can dig into it until your objectives are met.
 
Upvote 0

Forum statistics

Threads
1,215,943
Messages
6,127,814
Members
449,409
Latest member
katiecolorado

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