Duplicate email and phone entries for a Constituent
We have quite a few constituents who have the same email address and/or phone number duplicated in their record. Is there an easy way to remove the duplicate entries?
Comments
-
@Debby Herold None that I am aware of. And this goes to why there should be proper procedures for inputting and why if someone does not know what they are doing, then they should not be doing it. Many of the RE problems would be solved by this simple step. Us database folks waste more time fixing up others messes because some folks have no idea what they are doing and non-profits have a bad habit of hiring incompetent people and keeping them. I worked with a person who imported alumni emails, but put all the wrong emails into the records because they did not have the import set up properly. Good Grief.
2 -
@Joe Moretti what a nightmare!
You would think this would be a standard/easy query to set up for cleaning up the database. I have been driving myself crazy trying to find a way to do a comparison between phone numbers and emails to no avail. If I manually see one I clean it but we have THOUSANDS of records (some imported from our old system). We also use the RELO sync to sync records from Luminate Online and that process frequently adds existing (and duplicate) phone numbers and emails to constituent records. It drives me bonkers.
There has to be an easy way to scan for these duplicate entries within a constituent's record.1 -
@Debby Herold yes! There absolutely is a way to do this using the Delete Phones plug-in

You'll need to do an import first to either change the phone number to blank (as described in the first article above) or change the type to something that's not in use on any other records (I had a phone type set up for this purpose called “DELETE”).
You will need to identify the duplicates in Excel but this is pretty straightforward:
- Export a list of all phones/emails - make sure you include phone import ID. You could also do it for only a subset of constituents if you wanted, as long as you include all their phones/emails, but the deduplication process is no more complicated for 100,000 records than it is for 10 so you might as well include them all!
- Open the list in Excel and copy it so you now have 2 identical sheets.
- Make sure it's sorted so that the phone number you would prefer to keep is higher up than potential duplicate numbers, e.g. ones marked as primary or whatever. You may not care which one you keep, if they're both identical, so you might be able to skip this step.
- Using Excel's Remove Duplicates tool, deduplicate ONE of the sheets by constituent ID and phone number. Make sure you untick the phone import ID field since those will all be different so it won't identify any duplicates!
- On the unduplicated sheet, add an xlookup formula (or vlookup or index/match or countif, whatever floats your boat!) next to every phone number to check whether that phone import ID still exists on the deduplicated sheet.
- If not, that number was removed during the deduplication and is a duplicate. Those are the ones you're going to want to include in your import and then remove with the plug-in.
5 -
Thank you @Alan French … it seems a bit intimidating but I'll give it a try.
0 -
@Debby Herold happy to talk you through it on a video call or write out more detailed instructions if needed! ?
1 -
@Debby Herold
Great info Alan has already provided, here's just a few “breakdown” so hopefully make it “easier” to consume:- The Delete Phone plugin can either delete ALL phone/email of a certain “Phone/Email Type” or delete all phone/email that has a “blank” phone number/email address.
- It is probably easiest, (without dealing with adding Phone/Email type into configuration by using the “Delete blank phone” option
- So if you are to go this route, all you need to do is “identify” which specific phone/email record you want to delete, and use the “import phone" function to change the phone/email record to blank (by using ^ character as the phonenumber/emailaddress field to update to.)
- Once you have updated all the ones you want to get rid of, then you need to run the Delete Phone plugin using the delete blank phone option and make sure no one is logged into the RE database view. (best done at off hours)

You can do All records or use a constituent query to do a subset first 
At a minimal, you output these fields to create import file. You MAY not need to care about any phone/email that is already “inactive” as they normally won't show up anyway, so you can filter and delete all the inactive=yes first 
Assuming this is the resulting file and you are ready to “blank” out the email (PhoneNum), see next screenshot 
enter ^ replacing the dup email in the PhoneNum column for the dup you want to blank out (removing row 27 and row 94 as you are not making change to the email you keeping). 2 -
Thanks so much @Alex Wong!
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 402 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 655 Blackbaud Grantmaking™
- 576 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 941 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 120 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 240 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)

