How to Replace an Entire Excel Cell Based on a Starting Word in WPS Office
Question details
User needs to find and clear or replace the entire contents of Excel cells when the text begins with a specific word such as "Dept:".

- Product
- WPS Office Excel
- Device & OS
- not provided
- Scenario
- Working with spreadsheet data where cells contain labels such as Dept:Sales and the user wants to clear or overwrite all cells that start with a specific word.
- Observed behavior
- Cells beginning with the specified word require manual editing unless a wildcard Find and Replace operation is used.
Open the workbook in WPS Office Excel and select the worksheet or range you want to search. If you only want to change part of the sheet, highlight that range before opening Find and Replace.
Use Find and Replace with an Asterisk Wildcard
Best for clearing or overwriting every cell whose contents begin with a specific word or phrase, such as Dept:.
The asterisk (*) wildcard matches any remaining characters after the starting word. When Replace with is left blank, WPS Office clears the entire matching cell; when replacement text is entered, WPS Office overwrites the full cell content.
Click the Home tab, click Find & Replace, and then choose Replace. You can also press Ctrl+H to open the Replace dialog.
In the Find what box, type the starting word followed by an asterisk. For example, type Dept:* to match cells that begin with Dept:.
Leave the Replace with box blank to clear matching cells, or type the replacement text you want to use for the entire cell.
Click Replace All to update all matching cells in the current sheet or selected range. Then click Close and save the workbook.

Replace Entire Excel Cells That Start with a Specific Word in WPS Office
Use the Find and Replace wildcard feature in WPS Office Excel to clear or overwrite entire cells that begin with a word such as Dept:. It keeps your Excel files compatible and saves manual editing time.
- 1. Open your workbook: Open your workbook in WPS Office Excel and select the worksheet or target range.
- 2. Open the Replace dialog: Click Home > Find & Replace > Replace or press Ctrl+H.
- 3. Enter the wildcard search pattern: In the Find what box, type your starting word plus an asterisk, such as Dept:*.
- 4. Choose blank or replacement text: Leave Replace with blank to clear matching cells or enter new text to overwrite them.
- 5. Apply and save: Click Replace All, close the dialog, and save the file.

Frequently Asked Questions
Can I use this wildcard method for words other than Dept:?
Yes. In the Find what box, replace Dept: with any starting word or phrase, then add an asterisk immediately after it. For example, Status:* matches every cell that begins with Status:.
Will Replace All with Dept:* remove only the starting word or the entire cell content?
It replaces the entire cell content. If you leave Replace with blank, the whole cell is cleared; if you enter new text, the whole cell becomes that text.
How do I restrict the replacement to a specific column or range?
Select the column or range before opening Find and Replace, or choose it in the Find and Replace dialog. Replace All then affects only the selected cells.
Where is Find and Replace in WPS Office Excel?
Click Home > Find & Replace > Replace, or press Ctrl+H.




