Create a Macro for identifying duplicate

AnilVaish

New Member
Joined
Jan 24, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I have list of 1Million contacts which contains Company Name, Contact First Name, Contact Last Name, Contact Full Name and Email address.
I want to source another 100k contacts from the same companies but it should be unique contacts, should not match the existing ones. But i source contacts in a bulk. I want someone to create a macro which should identify the duplicates from the million database. It should use a logic of (Company + Full Name) and shows value as duplicate.
Thanks for the help!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Have you looked at power query? You can pull your data into PQ and it will do this for you quite easily.

Data Tab / From Table Range.
 
Upvote 0
Welcome to the Board!

Yeah, I think it might be pushing the limits to try to do this with the traditional Excel methods.
If not Power Query, I would opt for a relational database program like Microsoft Access, which handles these kind of relational database questions much more gracefully than Excel does.
 
Upvote 0
Hi,
Can you please help me with the same in Power query. I dont have any idea.
Have you looked at power query? You can pull your data into PQ and it will do this for you quite easily.

Data Tab / From Table Range.
 
Upvote 0
I agree with Joe4 above about leveraging the power of a database. SQL or Access.

But, if you highlight your data and click on Data/From Table/Range.
Excel will ask you to create a table if it's not in one. Do that.
Then you will see this.

Maybe start with a subset of data to get familiar with the tool.



Untitled.png
 
Upvote 0
Hello All,
I dont want to remove duplicates, i want to identify which records are duplicate. Can someone help me with power query OR MS access.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,952
Members
449,095
Latest member
nmaske

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