Introduction
When working with a lot of data in Excel, it can
be difficult and time consuming to locate specific information. You can
easily search your workbook using the Find feature, which also allows you to modify content using the Replace feature.
Optional: Download our practice workbook.
Watch the video below to learn more about using Find & Replace.
To find content:
In our example, we'll use the Find command to locate a specific department in this list.
- From the Home tab, click the Find and Select command, then select Find from the drop-down menu.
- The Find and Replace dialog box will appear. Enter the content you want to find. In our example, we'll type the department's name.
- Click Find Next. If the content is found, the cell containing that content will be selected.
- Click Find Next to find further instances or Find All to see every instance of the search term.
- When you are finished, click Close to exit the Find and Replace dialog box.
You can also access the Find command by pressing Ctrl+F on your keyboard.
Click Options to see advanced search criteria in the Find and Replace dialog box.
To replace cell content:
At
times, you may discover that you've repeatedly made a mistake
throughout your workbook (such as misspelling someone's name) or that
you need to exchange a particular word or phrase for another. You can
use Excel's Find and Replace feature to make quick revisions. In our example, we'll use Find and Replace to correct a list of department names.
- From the Home tab, click the Find and Select command, then select Replace from the drop-down menu.
- The Find and Replace dialog box will appear. Type the text you want to find in the Find what: field.
- Type the text you want to replace it with in the Replace with: field, then click Find Next.
- If the content is found, the cell containing that content will be selected.
- Review the text to make sure you want to replace it.
- If you want to replace it, select one of the replace options. Choosing Replace will replace individual instances, while Replace All will replace every instance of the text throughout the workbook. In our example, we'll choose this option to save time.
- A dialog box will appear, confirming the number of replacements made. Click OK to continue.
- The selected cell content will be replaced.
- When you are finished, click Close to exit the Find and Replace dialog box.
Generally, it's best to avoid using Replace All
because it doesn't give you the option of skipping anything you don't
want to change. You should only use this option if you're absolutely
sure it won't replace anything you didn't intend it to.