How to Find Duplicate Sentences in a Word Document on Mac and Microsoft 365
Question details
The user is looking for a way to identify, highlight, and remove duplicate sentences within a Microsoft Word document.

- Product
- Microsoft Word
- Device & OS
- Mac, Windows
- Scenario
- Reviewing a lengthy document to ensure there are no unintended repeated sentences or redundant paragraphs.
- Observed behavior
- Microsoft Word does not feature a built-in command to detect duplicate sentences natively, requiring the use of external tools like Excel or custom VBA macros.
Before attempting any data transfer or macro execution, make a backup copy of your original Word document to prevent accidental formatting loss or text deletion.
Use Excel's Conditional Formatting
Transferring your document text to Excel allows you to use its powerful data analysis tools to quickly highlight duplicate entries.
Since Excel analyzes data cell by cell, you must first format your Word document so that every sentence is treated as a separate paragraph. This ensures each sentence lands in its own cell when pasted.
Open your Word document and press Ctrl+H (or Cmd+H on Mac) to open the Find and Replace dialog. In the 'Find what' box, type a period (.). In the 'Replace with' box, type a period followed by a paragraph mark (.^p), then click 'Replace All'.
Select all the text in your modified Word document (Ctrl+A), copy it (Ctrl+C), and paste it (Ctrl+V) into column A of a new, blank Excel spreadsheet.
Select column A in Excel. Navigate to the Home tab on the ribbon, click 'Conditional Formatting', hover over 'Highlight Cells Rules', and select 'Duplicate Values'.
In the dialog box that appears, choose your preferred highlighting color and click OK. Scroll through your spreadsheet to locate the highlighted exact duplicate sentences.

Use a Word VBA Macro
For advanced users, executing a Visual Basic for Applications (VBA) macro can identify duplicates directly within Word without exporting to Excel.
Find Duplicate Sentences Seamlessly with WPS Office
WPS Office provides an all-in-one suite where you can easily find and replace text in WPS Writer and instantly highlight duplicate sentences using WPS Spreadsheet without juggling separate heavy applications.
- 1. Prepare text in WPS Writer: Open your document in WPS Writer and use Find and Replace (Ctrl+H) to replace periods with paragraph marks to split your sentences.
- 2. Switch to WPS Spreadsheet: Click the '+' icon on the top tab bar to open a blank WPS Spreadsheet in the same window, and paste your copied text into column A.
- 3. Apply Conditional Formatting: Select the column, go to the Home tab, click Conditional Formatting > Highlight Cells Rules > Duplicate Values to instantly find repeated sentences.

Frequently Asked Questions
Why doesn't Microsoft Word have a button to find duplicate sentences?
Microsoft Word is designed primarily as a word processor focusing on text formatting and layout. Data analysis functions, such as identifying duplicate records or strings, are typically reserved for spreadsheet applications like Excel.
Will the Excel method find sentences with different punctuation?
No, Excel's Duplicate Values feature searches for exact character-for-character matches. If a sentence has an extra space, different capitalization, or a missing comma, it will not be marked as a duplicate.
Can I remove the duplicates automatically in Excel?
Yes. After pasting your sentences into Excel, you can use the 'Remove Duplicates' tool located under the Data tab. However, you should carefully review the text first to ensure you do not delete sentences that are identical but necessary in different contexts.




