Duplicate check

Ahmed Fawad

Board Regular
Joined
Mar 1, 2011
Messages
63
Office Version
  1. 2016
Platform
  1. Windows
AB
322
324
328
333
512
59
356
3513
3516
3710
3711
3713

<!--StartFragment--> <colgroup><col width="65" span="2" style="width:65pt"> </colgroup><tbody>
<!--EndFragment--></tbody>

A and B has different values, IF Both values in A & B in a same is repeated again in other row there should be a conditional formatting by formula which indicates that's its duplicate values entered.


How to do it?
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
You can change in that same values in any row..... All I need to have a check both values in same row is not repeating in the list.... if so there should be an auto format or we can add another column where it shows that values in this row is duplicate.


Thanx
 
Upvote 0
Select Column A & B > Go to Data > Remove duplicates > If your data has headers select My Data has headers > select columns A & B > Click ok
 
Upvote 0
ChkAB
322
324
328
333
512
59
356
324
333

<colgroup><col><col span="2"></colgroup><tbody>
</tbody>


See in above sample, Last two rows has the duplicate values from the list. We can set the Duplicate chk in 1st Column.


Thanx
 
Upvote 0
Try this formula in C2

=IFERROR(IF(SUMPRODUCT(--((A2&"@"&B2)=$A$1:A1 & "@" & $B$1:B1)),"Duplicate","Unique"),"Unique")

Drag down
 
Upvote 0
Array formula, You must CTRL+SHIFT+ENTER the formula, not just ENTER,

In C2

=IF(OR($A$1:A1&"@"&$B$1:B1=A2&"@"&B2),"DUPLICATE","UNIQUE")
 
Upvote 0

Forum statistics

Threads
1,214,403
Messages
6,119,308
Members
448,886
Latest member
GBCTeacher

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