Replace text or numbers
- Select the range of cells you want to search.
If you want to search the entire worksheet, click any cell in the worksheet.
- On the Edit menu, click Replace.
- In the Find what box, enter the text or numbers you want to search for or choose a recent search from the Find what drop down box.
Note You can use wildcard characters in your search criteria.
-
If you want to specify a format for your search, click Format and make your selections in the Find Format dialog box.
If Format is not available in the Find and Replace dialog box, click Options and then click Format.
- Click Options to further define your search. For example, you can search for all of the cells that contain the same kind of data, such as formulas.
In the Within box, you can select Sheet or Workbook to search a worksheet or an entire workbook.
- In the Replace with box, enter the replacement characters and specific formats if necessary.
If you want to delete the characters in the Find what box, leave the Replace with box blank.
- Click Find Next.
- To replace the highlighted occurrence or all occurrences of the found characters, click Replace or Replace All.
Note To cancel a search in progress, press ESC.