How to remove duplicates in salesforce


How to Remove Duplicates in Salesforce Lightning Experience

  • Pick a contact record, and you’ll get a message if duplicates exist. This message will also be visible on the related…
  • Select up to three contact records to merge and click next.
  • Delegate one contact record as the master. Pick field values to keep, and hit next.
  • Make sure everything looks right and merge.

In Salesforce Classic

Click + (All Tabs) on the Navigation bar. Search for Duplicate Record Sets. Select the Duplicate Record Sets that need to be deleted. Click the Delete button.


What are duplicate rules in Salesforce?

Resolve and Prevent Duplicate Data in Salesforce

  • Learning Objectives. Explain the difference between matching rules and duplicate rules. …
  • Rules for Duplicate-Free Data. …
  • Activate a Matching Rule. …
  • Create a Custom Matching Rule for Contacts. …
  • Block Duplicates with Fuzzy Mailing Streets. …
  • Report on the Creation of Duplicate Accounts and Leads. …
  • Resources. …

How to dedupe in Salesforce?

  • What fields and rules you are going to use to match on
  • What fields you need to see when looking at the match report
  • What rules and criteria you are going to use to determine the “winner” (master) in the merge transaction. …

More items…

How to delete duplicate records in Salesforce?

  • Open a new excel file that is blank
  • Go back to the excel file with the records and right click the column letter of the column that includes the email addresses. …
  • Go back to the file which includes only email addresses. …
  • Now click only the first email address in the file and click: Format; then Conditional Formatting. …

More items…

How to duplicate a standard Salesforce button?

Salesforce Help has a fresh look and feel with all the same functionality you’re used to. Try out the new site and then let us know what you think! There’s link to share your feedback on every page.


How do I mass delete duplicates in Salesforce?

Select Show all Salesforce objects and select Duplicate Record Set (DuplicateRecordSet) object. Select Id and any other desired fields and follow the prompts to complete your export. For more information, review Exporting Data. Review the resulting CSV file to verify the DuplicateRecordSet to be deleted.

Can we remove duplicates in Salesforce reports?

You can’t remove the duplicates in the report; the report builder doesn’t do distinct so I’d recommend Excel.

How do I manage duplicates in Salesforce?

Manage Duplicates Globally Find duplicates across your org by running duplicate jobs. Use reports to share job results with others, and use duplicate record sets to merge the duplicates. Use information about completed jobs to track your progress in reducing duplicate records.

How do I find duplicates in Salesforce?

Hitting the ‘Find Duplicates’ button on the Lead record, presents the option to check the following options: Name. Last Name.

How do I report duplicates in Salesforce?

In Setup, use the Quick Find box to find Report Types.Create a report type, selecting Account, Contact, Lead, or Duplicate Record Set as the primary object. … Click Next.Relate Duplicate Record Items to the primary object that you selected.More items…

How do I avoid duplicate reports in Salesforce?

In the Matching Rules section, select the object to compare the records. Then select the matching rule that identifies the duplicates (set up in step 1). Select the field mapping for each matching rule, if needed. These steps will prevent users from entering duplicate data.

What is deduplication in Salesforce?

Deduplication and matching rules are what determines if there’s a potential duplicate record and creates a duplicate alert on the record you’re viewing. Besides native options in Salesforce and several tools to help you dedupe your Salesforce instance on the AppExchange, your organization will need to make changes.

How do you find duplicates in Salesforce lightning?

In Setup, use the Quick Find box to find Lightning App Builder. On accounts, contacts, or leads, add the Potential Duplicates component. Select how you want to alert sales reps to duplicates.

How do I merge duplicates in Salesforce?

Required Editions and User PermissionsFrom the Accounts tab, click Merge Accounts in the Tools section. … To find the duplicate accounts, enter a search string. … Select up to three accounts you want to merge. … Select one account as the master record.Select the fields that you want to retain from each record. … Click Merge.

How to Find Duplicates in Salesforce

Salesforce has the capability to effectively manage duplicates by simply adjusting the standard duplicate settings or by creating custom rules.

How to Remove Duplicates in Salesforce Lightning Experience

Once you have your duplication-catching rules in place, go through and do a quick check of your permissions. To merge duplicate contacts in Lightning Experience, you need permissions to “delete contacts.” If you want to merge Customer Portal enabled contacts, you need permissions to delete contact records and edit Self-Service Users.

How to Remove Duplicates in Salesforce Classic

In Salesforce Classic, you can remove duplicates by merging contacts. Check your permissions before getting started. To merge contacts, ensure you have permission to delete contact records. If you plan to merge Customer Portal enabled contacts, you’ll need to be able to delete contact records and edit Self-Service Users.

Prevent your users from entering duplicate records

Salesforce natively has tools to help discourage or inhibit users from entering duplicate data across any device. Duplicate management rules in Salesforce help identify potential duplicates records across accounts (business & person), contacts, leads & custom object records.

Identify if there are duplicate records within your org

Now rules have been set up to prevent duplicates from being created; you want to clean up any potential double-ups you already had in the system. We recommend using an app from the Salesforce AppExchange as a quick and easy way to understand the duplicate records within your system.

Clean up any duplicate records

The apps mentioned above all have the functionality to merge and delete duplicate records. There is also the ability to merge records natively within Salesforce.

Speak to the experts

If you find that large volumes of your records are duplicates or finding that the quality of your data is lacking, you should look to engage a data specialist. We recommend reaching out to Database Consultants Australia (DCA) to discuss the state of your data and how you can improve it further.

Sample Use Case

My use case was using Field Service. A Service Resource can log their Time Sheets against multiple Work Orders throughout the day, and their time needs to be associated with each specific Work Order as well as the Time Sheet for that day.

Solution Breakdown

As mentioned above – we need to create a custom object to temporarily store the records. We’ll create the records as part of the loop and delete them when we are done, but we’ll need something to pick from that isn’t the duplicate value.


What you do with the single selected record is up to you and fits your use case. Through a series of steps, I pre-populated the timesheet edit screen and also deleted the outdated TSEs so when the new TSEs are created, we don’t double count time.

Rules for Duplicate-Free Data

Matching rules and duplicate rules work together to ensure that your sales teams work with data that’s free of duplicates. Before your reps save new and updated records, matching rules and duplicate rules provide warnings of potential duplicates. You manage matching rules and duplicate rules in Setup.

Activate a Matching Rule

We provide standard matching rules for you. If you established your instance of Salesforce for Winter ’15 or earlier, like Maria, you activate the standard rules you want to use. Maria, however, wants to activate standard rules for only accounts and leads. She has other plans for her contacts, which we cover after this procedure.

Create a Custom Matching Rule for Contacts

For contacts, Maria wants to include fuzzy matching for the Mailing Street field.

Block Duplicates with Fuzzy Mailing Streets

Before an active matching rule can do anything, you pair it with a duplicate rule. You can include up to three matching rules in each duplicate rule, with one matching rule per object.

Report on the Creation of Duplicate Accounts and Leads

Maria doesn’t block reps from creating duplicates for accounts and leads. So Lincoln wants to see the quality of account and lead data and how well the duplicate rules work. To help Lincoln, Maria sets up custom report types.


Use these resources to learn more about matching rules and duplicate rules.

Hands-on Challenge

You’ll be completing this challenge in your own hands-on org. Click Launch to get started, or click the name of your org to choose a different one.


Leave a Comment