Function Problems

How to Replace an Entire Excel Cell Based on a Starting Word in WPS Office

Ayan MasoodAyan Masood Nov 13, 2026 868 views

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:".

How to Replace an Entire Excel Cell Based on a Starting Word
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.
Before you start

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.

Solution 1Recommended

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.

1
Open Find and Replace

Click the Home tab, click Find & Replace, and then choose Replace. You can also press Ctrl+H to open the Replace dialog.

2
Enter the wildcard pattern

In the Find what box, type the starting word followed by an asterisk. For example, type Dept:* to match cells that begin with Dept:.

3
Set the replacement value

Leave the Replace with box blank to clear matching cells, or type the replacement text you want to use for the entire cell.

4
Run Replace All

Click Replace All to update all matching cells in the current sheet or selected range. Then click Close and save the workbook.

Use Find and Replace with an Asterisk Wildcard
Wildcard replacement applied: The entire cell content is replaced, not just the starting word.
WPS Office Excel

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. 1. Open your workbook: Open your workbook in WPS Office Excel and select the worksheet or target range.
  2. 2. Open the Replace dialog: Click Home > Find & Replace > Replace or press Ctrl+H.
  3. 3. Enter the wildcard search pattern: In the Find what box, type your starting word plus an asterisk, such as Dept:*.
  4. 4. Choose blank or replacement text: Leave Replace with blank to clear matching cells or enter new text to overwrite them.
  5. 5. Apply and save: Click Replace All, close the dialog, and save the file.
Uses Find and Replace with * wildcards to target entire cells that begin with a specific wordClears or overwrites matching cells in one action without manual cell-by-cell editingFull compatibility with Microsoft Excel .xlsx and .xls filesFree, lightweight spreadsheet interface familiar to Microsoft Excel users
microsoft office alternative - wps office

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.