KutoolsforOffice — One Suite. Five Tools. Get More Done.

How to find and replace exact match in Excel?

AuthorXiaoyangLast modified

Excel's Find and Replace feature normally replaces the search text wherever it appears. For example, if you replace tools with office, a cell containing Kutools becomes Kuoffice. To avoid changing partial matches, you need to tell Excel to replace only cells whose complete content matches the search term. The methods below show how to do this in Excel, how Word handles whole-word matches, and how Kutools for Excel provides additional control over the search scope.

In this tutorial:

Compare the three matching methods

These methods do not define a match in quite the same way. Excel and Kutools compare the search term with the full cell content, while Word checks whether the term appears as a complete word.

MethodWhat it matchesBest for
Excel's built-in Find and ReplaceCells whose entire content matches the entry in the Find what box.Quick exact replacements in a selected range, the active sheet, or the active workbook.
Microsoft WordA search term that appears as a complete word, even when other text appears in the same cell entry.Whole-word replacements when copying the data to Word and back to Excel is acceptable.
Kutools for ExcelCells whose entire content matches the entry in the Find what box.Exact replacements with flexible scope choices, including a selection, selected sheets, the active workbook, or specified open workbooks.

Use Find and Replace for exact matches in Excel

For an ordinary worksheet or workbook, Excel's built-in option is usually the simplest approach. Selecting Match entire cell contents limits the replacement to cells that contain only the text entered in the Find what box.

  1. Select the range you want to check. In this example, only cells containing exactly tools will be changed to 2015.
    Selecting the Excel range containing the exact matches to replace
  2. Press Ctrl + H to open the Find and Replace dialog box. Type the original text in Find what and the new text in Replace with.
    Entering the search and replacement values in Excel's Find and Replace dialog box
  3. Click Options >>, and then select Match entire cell contents. This prevents Excel from replacing the search text when it forms only part of a cell's content.
    Selecting Match entire cell contents in Excel's Find and Replace dialog box
  4. Click Replace All. Excel reports how many replacements were made, and cells such as Kutools remain unchanged.
    Excel message showing that the exact matches were replaced
  5. Click OK, and then close the Find and Replace dialog box.

Replace whole words in Excel data with Microsoft Word

Word offers a slightly different type of matching. Its Find whole words only option finds tools when it appears as a standalone word, including in an entry such as Excel tools, but ignores it inside Kutools. This is useful for word-based replacements, although the data must first be copied to Word and then pasted back into Excel.

  1. Copy the Excel data and paste it into a new Word document.
  2. Select the pasted data in Word, and then press Ctrl + H. In the Find and Replace dialog box, enter the text to find in the Find what box and the replacement in the Replace with box.
    Entering the search and replacement text in Word's Find and Replace dialog box
  3. Click More >> to expand the dialog box, select Find whole words only, and then click Replace All.
    Selecting Find whole words only in Word's Find and Replace dialog box
  4. Word replaces the whole-word matches in the selected content.
    Whole-word matches replaced in Microsoft Word
  5. Copy the updated data from Word and paste it back into Excel.

📝 Note:

The option also works with numbers. In the example below, Word replaces the standalone 1 in entries such as Tools-1 and Review-1 with sky. Values such as 21, 12, and 16 remain unchanged because the 1 is part of a larger number.

Original Word content containing the text to replaceArrow showing the replacement resultWord content after replacing standalone instances of 1 with sky

Replace exact text without changing partial matches with Kutools for Excel

Kutools uses the same whole-cell rule as Excel but gives you more control over where the replacement runs. In the Find and Replace pane, you can work with the current selection, selected worksheets, the active workbook, or specific open workbooks without setting up the search again for each sheet or file.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Integrated with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After installing Kutools for Excel, follow these steps:

  1. Click Kutools > Navigation.
    Opening the Kutools Navigation pane in Excel
  2. In the Navigation pane, click the Find and Replace button button to open the Find and Replace pane. Then configure the settings shown below.
    Configuring exact-match replacement in the Kutools Navigation pane
    1. Select the required search scope from the Within drop-down list. In this example, select Selection.
    2. Click the Range selection button button, and then select the range to process.
    3. Enter the search text in the Find what box and the replacement text in the Replace with box.
    4. Select Match entire Cell.
    5. Click Replace All.
  3. Only the cells whose entire content matches the search text are replaced.
    Exact text matches replaced with Kutools for Excel

Kutools for Excel - Supercharge Excel with over 300 essential tools, making your work faster and easier, and take advantage of AI features for smarter data processing and productivity. Get It Now


Frequently Asked Questions

Why does Excel replace text inside a longer word?

By default, Find and Replace looks for the search term anywhere in a cell. Select Match entire cell contents when you want Excel to replace only cells that contain the exact text entered in the Find what box.

What is the difference between whole-word and whole-cell matching?

Whole-word matching can find tools in Excel tools because it appears as a separate word. Whole-cell matching finds it only when tools is the complete content of the cell.

Can an exact-text replacement also be case-sensitive?

Yes. Select both Match case and Match entire cell contents. Excel will then match both the complete cell content and its capitalization.

Can I replace exact matches on selected worksheets only?

With Kutools for Excel, choose Selected Sheets in the Within list, and then select the worksheets you want to include. Excel's built-in dialog limits the scope to the active sheet or active workbook.

Why can’t Find and Replace locate text that looks identical?

The cell may contain leading or trailing spaces, line breaks, or other nonprinting characters. Whole-cell matching treats these as part of the content, even when they are not visible.


Demo: Replace exact text with Kutools for Excel

 
Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy AI-powered features for smarter and faster work! Download Now!

Best Office Productivity Tools

🤖Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions…
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |  Round without Formula ...
Super Lookup: Multiple Criteria VLookup  |   Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |  Big Formula Bar   |  Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells   |  Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!

All Kutools add-ins. One installer

Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.

ExcelWordOutlookTabsPowerPoint
  • All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
  • One installer, one license — set up in minutes (MSI-ready)
  • Works better together — streamlined productivity across Office apps
  • 30-day full-featured trial — no registration, no credit card
  • Best value — save vs buying individual add-in