Identify duplicates and place an X beside the rows

maxim642

Board Regular
Joined
Feb 4, 2021
Messages
91
Office Version
  1. 365
Platform
  1. MacOS
EmployeeEmployee IDEmployee ID 2EmailDuplicates
John 111111j@job.com
John 222222l@job.comx
John 33334444l@job.comx
John 43335555x
John 55555r@job.comx
John 6t@job.com
John 798888

For the "Duplicates" column, I would like the calculation to check columns B:D for any duplications, ignoring blanks. If 1 or more duplications are found, return the value "x".

John 1, in the above, has no duplicates, hence the value is left blank.
John 2 has a duplicated value in the "Email" column, hence the value returned is "x".
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Book1
ABCDE
1EmployeeEmployee IDEmployee ID 2EmailDuplicates
2John 111111j@job.com 
3John 222222l@job.comX
4John 33334444l@job.comX
5John 43335555X
6John 55555r@job.comX
7John 6t@job.com 
8John 798888 
Sheet3
Cell Formulas
RangeFormula
E2:E8E2=IF(COUNTIF($B$2:$B$8,B2)>1,"X",IF(COUNTIF($C$2:$C$8,C2)>1,"X",IF(COUNTIF($D$2:$D$8,D2)>1,"X","")))
 
Upvote 1
Solution
Book1
ABCDE
1EmployeeEmployee IDEmployee ID 2EmailDuplicates
2John 111111j@job.com 
3John 222222l@job.comX
4John 33334444l@job.comX
5John 43335555X
6John 55555r@job.comX
7John 6t@job.com 
8John 798888 
Sheet3
Cell Formulas
RangeFormula
E2:E8E2=IF(COUNTIF($B$2:$B$8,B2)>1,"X",IF(COUNTIF($C$2:$C$8,C2)>1,"X",IF(COUNTIF($D$2:$D$8,D2)>1,"X","")))
Thank you very much!!
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,731
Members
448,987
Latest member
marion_davis

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