Check for Duplicate Rows in Mulitple Column

kparadise

Board Regular
Joined
Aug 13, 2015
Messages
186
A
B
C
D
E
F
G
H
I
Result
1
Matt
Tim
Joyce
x
x
x
x
x
x
Dup
2
Kyle
Joyce
Tim
x
x
x
x
x
x
Unique
3
Joyce
Matt
Tim
x
x
x
x
x
x
Dup

<tbody>
</tbody>
Hello,

I have 9 columns A:I, and have around 2 rows 1 - 21. In each of these cells there I a name. Row 1 = Group 1, Row 2 = Group 2, etc. What I am trying to accomplish is to look in all the Groups/Rows and determine if there are two Groups/Rows that have the same 9 people in it. The think here is, there will never be any sorting of names, it is all random. So "Matt" can be in Row 1 Column B, but then can also be in Row 2 Column D...
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Maybe:


Book1
ABCDEFGHIJ
1Name1Name2Name3Name4Name5Name6Name7Name8Name9Check
2MattTimJoyceAlyceBobCherDanEssyFredDupe
3KyleJoyceTimAlyceBobCherDanEssyFredUnique
4JoyceMattTimAlyceBobCherDanEssyFredDupe
Sheet5
Cell Formulas
RangeFormula
J2=IF(SUMPRODUCT(--(MMULT(COUNTIF(OFFSET(A$2:I$2,ROW(A$2:A$4)-ROW(A$2),0),A2:I2),{1;1;1;1;1;1;1;1;1})=9))>1,"Dupe","Unique")


I put in different names because this won't work right if you have duplicate names within the same row.
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,427
Members
448,961
Latest member
nzskater

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