Formula showing duplicates in large data set

MustaphaOj

New Member
Joined
Jul 8, 2020
Messages
20
Office Version
  1. 2016
Platform
  1. Windows
Hi All I would like help with making a formula that helps identify duplicates in a very large data set.
So for example the below tables shows
The end result of what I would ideally want the error check to look like. If I have duplicates of the same code and activity name together I’d like it to show in the next column. Thanks in advance

Activity ID Activity NameDuplicates
12344Plates3
12344Plates 3
12355Spoons0
12344Plates3
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Could you use something like this, with 1 meaning no duplicates?
Not sure how big your data is so there could be a performance issue?

20 07 13.xlsm
ABC
1Activity IDActivity NameDuplicates
212344Plates3
312344Plates3
412355Spoons1
512344Plates3
Dupes
Cell Formulas
RangeFormula
C2:C5C2=COUNTIFS(A$2:A$10,A2,B$2:B$10,B2)


If you really need the zero, then the following but it significantly increases the processing required.
=IF(COUNTIFS(A$2:A$10,A2,B$2:B$10,B2)=1,0,COUNTIFS(A$2:A$10,A2,B$2:B$10,B2))
 
Upvote 0
You are very welcome. Glad it worked for you. Thanks for letting us know. :)
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,429
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