+ Reply to Thread
Results 1 to 5 of 5

Delete duplicates in Word

  1. #1
    Registered User
    Join Date
    11-17-2022
    Location
    Chicago
    MS-Off Ver
    Office 19
    Posts
    3

    Delete duplicates in Word

    Hey guys

    I have a word document with emails. Can we sort this and delete duplicates in word? I appreciate the help you guys are amazing! I have a couple different files so if anyone has some way to do this it would be very helpful.
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Delete duplicates in Word

    There is no easy way to do this in Word. I suggest you Find & Replace ", " to "paragraph mark", and " " to "paragraph mark" (your data is kind of messy), then copy the data to Excel then use Data > Remove Duplicates, then copy back to Word.

    The attached Word file is your original data with Find & Replace to get each email address on one line.
    The attached Excel file is that list with duplicates removed.
    Copying back to the Word file is left as an exercise to the student.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    11-17-2022
    Location
    Chicago
    MS-Off Ver
    Office 19
    Posts
    3

    Re: Delete duplicates in Word

    First off, thank you!

    I am a little confused. I wanted to try this on another group of email addresses. I could delete all the commas, which made a lot of sense. However, how do I format the names so I can paste them into a single row in excel? That was a significant issue, and I do not understand how to do that.

    I appreciate the help!

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Delete duplicates in Word

    Maybe I don't understand what final result you want.

    I suggest you Find & Replace ", " to "paragraph mark", and " " to "paragraph mark" (your data is kind of messy)
    This will result in one email address per line in your Word file

    then copy the data to Excel then use Data > Remove Duplicates, then copy back to Word.
    This will result in one email address per row in one column in Excel

    You do not want them in a single row in Excel. You can't do anything useful with that.

    Do you need the final result in a single line in Word? If so you have to do another Find & Replace to change "paragraph mark" back to ", "

  5. #5
    Registered User
    Join Date
    04-05-2023
    Location
    Alskas, USA
    MS-Off Ver
    Office 16
    Posts
    6

    Re: Delete duplicates in Word

    Yes, you can sort and remove duplicates in a Word document with emails. Here's how you can do it:

    Open your Word document and select the emails you want to sort and remove duplicates from.

    Click on the "Sort" button in the "Paragraph" section of the "Home" tab.

    In the "Sort Text" dialog box, select "Paragraphs" in the "Sort by" dropdown menu and choose the sort order you prefer, such as ascending or descending.

    Click "OK" to apply the sorting.

    To remove duplicates, select the sorted emails and click on the "Remove Duplicates" button in the "Table Tools" tab.

    In the "Remove Duplicates" dialog box, select the columns you want to remove duplicates from, such as "Email Address" or "Subject", and click "OK" to apply the removal.

    Save your sorted and deduplicated document by clicking on "File" > "Save" or "File" > "Save As" if you want to create a new file.

    You can repeat these steps for other Word documents with emails.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 09-03-2022, 05:39 AM
  2. Replies: 4
    Last Post: 06-10-2018, 08:51 PM
  3. [SOLVED] Macro to find duplicates, concatenate cells, then delete old duplicates (2)
    By cny in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2016, 06:05 AM
  4. Macro to find duplicates, concatenate cells, then delete old duplicates
    By givemepuppies in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 03-04-2016, 02:43 AM
  5. [SOLVED] Macro to find duplicates, concatenate Unique Values, then delete old duplicates
    By lesoies in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2013, 04:32 PM
  6. Replies: 6
    Last Post: 04-10-2013, 01:15 AM
  7. Replies: 17
    Last Post: 07-05-2011, 05:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1