Excel Tutorials

How to Use Excel Find and Replace

Find and Replace looks like a two-box dialog and is hiding a genuinely powerful search tool behind an Options button most people never click. This lesson covers wildcards, scope, searching formulas versus values, replacing formatting and the settings that stop a Replace All from wrecking your data, using the Event Planner workbook from Excel Foundations, free to download below.

Download the Event Planner Workbook

Follow along in the same file used in the video. No email required.

⬇ Event Planner Workbook (.xlsx)

What Does Find and Replace Do?

Find locates every cell containing what you type. Replace does the same search and then swaps each match for something else. Between them they handle the bulk edits that would otherwise mean scrolling through a few thousand rows making the same correction over and over.

The reason it deserves a full lesson is that the default settings are deliberately broad. Out of the box, Excel matches your search term anywhere inside a cell and ignores capitalisation, which is helpful when you are hunting for something and dangerous when you are replacing it. Replacing North with N will also rewrite Northeast as Neast unless you change one setting.

Click Options >> and the dialog expands to reveal scope controls, case sensitivity, whole-cell matching, wildcard support and the ability to search by formatting rather than text. Those controls are the difference between a clean bulk edit and an afternoon of repair work.

How to Use Find and Replace in Excel

Step-by-step, matching the video above.

1

Open Find with Ctrl+F

Ctrl+F opens the Find tab of the Find and Replace dialog. Type what you are looking for and click Find Next to jump to each match in turn, or Find All to list every match at once.

2

Switch to Replace with Ctrl+H

Ctrl+H opens the same dialog on the Replace tab, which adds a Replace with box. You can also click between the two tabs once the dialog is open.

3

Click Options to reveal the controls that matter

The collapsed dialog hides most of its power. Clicking Options >> exposes Match case, Match entire cell contents, Within, Search, Look in and the two Format buttons.

4

Set the scope with Within and Search

Within switches between the current Sheet and the entire Workbook. Search chooses whether Excel scans by rows or by columns, which only changes the order matches are found in.

5

Choose what Look in should examine

Formulas searches the underlying cell contents, Values searches the displayed result, and Comments or Notes searches annotations. This is the setting that decides whether searching for SUM finds your formulas or nothing at all.

6

Narrow the match with the two checkboxes

Match case makes the search case-sensitive, so Total no longer matches total. Match entire cell contents requires the whole cell to equal your search term rather than merely containing it.

7

Preview with Find All before replacing

Find All lists every match with its sheet, cell address and value at the bottom of the dialog. Click any row to jump straight to that cell. This is the safety check that stops a bad Replace All.

8

Replace one at a time, or all at once

Replace changes the current match and moves to the next, letting you skip any you do not want. Replace All changes every match in scope immediately and reports how many it changed.

Select a range first and Find and Replace only looks inside that selection. It is the simplest way to keep a broad replacement from touching the rest of your sheet.
Using Wildcards in Find and Replace

Three characters turn Find and Replace from an exact-text tool into a pattern-matching one.

The asterisk matches any number of characters

Searching for North* finds North, Northeast, Northern Region and North America. Use it when you know how a value starts or ends but not what comes in between.

The question mark matches exactly one character

Q?-2026 matches Q1-2026 through Q4-2026 but will not match Q-2026 or Q12-2026, because each question mark stands for precisely one character.

The tilde escapes a wildcard so you can search for it literally

To find a genuine asterisk in your data, search for ~*. The tilde tells Excel to treat the next character as ordinary text rather than a wildcard, and ~? works the same way.

Wildcards work in the Find box, not the Replace box

An asterisk in the Replace with field is inserted as a literal asterisk. Patterns only apply to what you are searching for, not what you are writing back.

Worked Example: Find and Replace on a Customer List
What You TypeSettingsWhat It Matches
NorthdefaultsNorth, Northeast, Northern Region
NorthMatch entire cell contentsNorth only
North*wildcardsEvery value starting with North
Q?-2026wildcardsQ1-2026, Q2-2026, Q3-2026, Q4-2026
~*escaped wildcardA literal asterisk in the cell

The first two rows are the difference that catches people out most often. With the default settings, replacing North with N also turns Northeast into Neast. Ticking Match entire cell contents restricts the replacement to cells that contain nothing but the word North, which is almost always what you actually meant.

Finding and Replacing Formatting

The two Format buttons let you search by how a cell looks rather than what it says.

Search for cells by their format

Click Format next to the Find box and pick a fill colour, font, border or number format. Leave the Find what box empty and Excel finds every cell with that formatting regardless of its contents.

Replace one format with another

Set a format on both the Find and Replace sides to swap every yellow-filled cell to green, or every bold red font to plain black, across the whole sheet in one action.

Use Choose Format From Cell to copy an existing look

Inside the Format dialog, the dropdown arrow next to the Format button offers Choose Format From Cell, which picks up the formatting of a cell you click rather than making you rebuild it by hand.

Clear the format criteria when you are done

Format settings persist in the dialog for the rest of your session. If a later search mysteriously returns no results, an old format filter is usually still active, and Clear Find Format resets it.

Practical Cleanup Jobs

The tasks Find and Replace handles faster than any formula.

Strip stray spaces out of imported data

Search for two spaces and replace with one, then repeat until Excel reports zero replacements. For leading and trailing spaces, TRIM is the better tool, but Replace All handles doubled internal spaces instantly.

Remove characters entirely by replacing with nothing

Leave the Replace with box completely empty and every match is deleted. This is how you strip out currency symbols, stray hyphens or thousands separators from a text import.

Fix a renamed column across every formula

With Look in set to Formulas, replacing an old sheet or range name updates every formula referring to it at once, rather than editing them individually.

Convert line breaks inside cells

Hold Alt and type 0010 on the numeric keypad in the Find what box to enter a line break character, then replace it with a comma and a space to flatten multi-line addresses into one line.

Common Find and Replace Mistakes to Avoid

⚠️

Running Replace All without Match entire cell contents

This is the classic. Replacing North with N also converts Northeast to Neast and Northern to Nern. Tick Match entire cell contents whenever you mean the whole value.

⚠️

Leaving Within set to Workbook by accident

The setting persists between searches. A replacement you intended for one sheet quietly runs across every sheet in the file, including the ones you had forgotten were in there.

⚠️

Searching for a formula while Look in is set to Values

With Look in on Values, Excel searches the displayed results, so searching for VLOOKUP returns nothing even though the formulas are right there. Switch Look in to Formulas.

⚠️

Forgetting that a leftover format filter is still active

Format criteria stay set for the whole session. When a search that should obviously find something returns no results, click the Format dropdown and choose Clear Find Format.

⚠️

Not escaping an asterisk you actually want to find

Searching for * matches every non-empty cell, because Excel reads it as a wildcard. Type ~* to search for a literal asterisk character.

⚠️

Skipping Find All before Replace All

Find All shows you the exact list of what is about to change, with cell addresses. Thirty seconds of checking beats undoing a replacement you discover three saves later.

⚠️

Assuming Replace All can always be undone

Ctrl+Z does reverse a Replace All in the current session, but not after the file has been saved and closed. On a large or important replacement, save a copy first.

Beyond the Spreadsheet

3 Things You Find and Replace by Hand.Updated Once in Updoot.

Bulk-editing the same value across ten tabs means the value is living in ten places it should not be.

📇
You find and replace
A customer name across every sheet
Customer Profiles
One record, updated once, reflected everywhere
📋
You find and replace
A renamed step in every procedure doc
SOP Management Library
Edit the SOP once with full revision history
💼
You find and replace
An owner's name across the pipeline
Sales CRM
Reassign leads in one click, no search required

Free 14-day trial. No credit card required.

Frequently Asked Questions

What is the shortcut for Find and Replace in Excel?

Ctrl+F opens Find and Ctrl+H opens Replace. Both open the same dialog, just on different tabs, and you can switch between them once it is open.

How do I replace only whole cells and not partial matches?

Click Options, then tick Match entire cell contents. Excel will then only replace cells whose full value equals your search term, leaving longer values that merely contain it untouched.

Can I use wildcards in How to Use Excel Find and Replace?

Yes. An asterisk matches any number of characters, a question mark matches exactly one, and a tilde before either one lets you search for that character literally.

How do I search for an actual asterisk or question mark?

Put a tilde in front of it. Searching for ~* finds a literal asterisk and ~? finds a literal question mark, instead of treating them as wildcards.

Why can't Find and Replace find my formula?

The Look in setting is probably on Values, which searches displayed results rather than cell contents. Change Look in to Formulas and the search will match the formula text.

How do I search across every sheet in a workbook?

Click Options and change Within from Sheet to Workbook. Remember to change it back afterwards, because the setting stays put for later searches.

Can I find and replace cell formatting instead of text?

Yes. The Format buttons beside each box let you match on fill colour, font, border or number format, and replace one format with another across the sheet.

How do I delete a character everywhere using Replace?

Type the character in Find what and leave Replace with completely empty. Replace All then removes every occurrence.

Can I undo a Replace All?

Ctrl+Z reverses it while the workbook is still open in the same session. Once the file is saved and closed the change is permanent, so save a copy before a large replacement.

How do I limit Find and Replace to part of my sheet?

Select the range first, then open Find and Replace. Excel restricts the operation to the selected cells only.

What does Find All do?

Find All lists every match at the bottom of the dialog with its sheet name, cell address and value. Clicking a row jumps to that cell, which makes it a useful preview before replacing anything.

Ready for data that's already connected?

Every business starts with a spreadsheet. Updoot is where you scale past it, records link themselves automatically.

Start Your Free Trial →