Formula Errors

How to Fix FIND Returning #VALUE! When Searching for a Space in WPS Spreadsheets

Khadija KhanKhadija Khan Nov 13, 2026 869 views

Question details

The user needs to resolve a #VALUE! error from the FIND function when searching for a space, where the cell either contains no standard space or contains an invisible or non-breaking space instead of a normal space.

How to Fix FIND Returning #VALUE! When Searching for a Space in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
Using the FIND function to locate a space in a cell and receiving a #VALUE! error.
Observed behavior
FIND returns #VALUE! because the searched text is absent or the cell contains a non-breaking space such as CHAR(160) instead of a standard space.
Before you start

Open the WPS Spreadsheets workbook and select the cell containing the FIND formula. Use an empty helper column to test cleaned text without overwriting the original data.

Solution 1Recommended

Replace non-breaking spaces before using FIND in WPS Spreadsheets

Use this solution when the cell appears to contain a space but FIND still returns #VALUE!, usually because the cell contains CHAR(160) or another invisible character.

A standard space has the code CHAR(32), but imported or copied data often contains a non-breaking space with the code CHAR(160). FIND looks for a normal space, so it cannot match CHAR(160) and returns #VALUE!.

1
Select a helper cell

Click an empty helper cell next to your data, such as C2.

2
Enter the SUBSTITUTE formula

Type =SUBSTITUTE(B2,CHAR(160)," ") and press Enter to replace non-breaking spaces with standard spaces.

3
Apply the formula to all needed cells

Drag the fill handle down the helper column to clean every cell referenced by your FIND formula.

4
Point FIND to the cleaned helper column

Change your formula to =FIND(" ",C2) so it searches the corrected text.

5
Make the cleanup permanent if needed

Copy the helper column, right-click the original data range, and choose Paste Special > Values to replace the original values.

Replace non-breaking spaces before using FIND in WPS Spreadsheets
Result: After replacing CHAR(160) with a standard space, FIND normally returns the numeric position of the space instead of #VALUE!.
WPS Spreadsheets formula help

Fix FIND #VALUE! Formula Errors in WPS Spreadsheets

Use WPS Spreadsheets to clean non-breaking spaces, inspect character codes, and update your FIND formula so it returns the correct position or a friendly message instead of #VALUE!. The built-in functions work with familiar spreadsheet formulas.

  1. 1. Open the workbook: In WPS Spreadsheets, open the workbook and click the cell containing the FIND formula that returns #VALUE!.
  2. 2. Create a cleaning helper column: Insert an empty helper column and enter =SUBSTITUTE(B2,CHAR(160)," ") in the first data row to convert non-breaking spaces to standard spaces.
  3. 3. Update the FIND formula: Change the formula to search the helper column, for example =FIND(" ",C2).
  4. 4. Handle missing spaces: If the cell may not contain a space, use =IFERROR(FIND(" ",C2),"No space found") to remove the #VALUE! error.
Step-by-step formula troubleshooting for FIND #VALUE! errors and invisible spaces in WPS Spreadsheets.Full compatibility with Microsoft Excel .xlsx files, including FIND, SUBSTITUTE, CHAR, and IFERROR functions.Free and lightweight spreadsheet editing with a familiar interface for fast formula fixes.Built-in formula features make it easy to clean non-breaking spaces without leaving your workbook.
microsoft office alternative - wps office

Frequently Asked Questions

Why does FIND return #VALUE! even though the cell looks like it has a space?

The cell likely contains a non-breaking space with the code CHAR(160) instead of a standard space with the code CHAR(32). Use =SUBSTITUTE(B2,CHAR(160)," ") to replace it, then run FIND again.

How can I check which invisible character is in a cell?

Select a helper cell and use =CODE(MID(B2,1,1)) to return the character code for the first character. Change the position number to inspect other characters in the cell.

Can I make FIND show a message instead of #VALUE! when no space exists?

Yes. Wrap the formula with IFERROR, for example =IFERROR(FIND(" ",B2),"No space found"). This returns the message when FIND cannot locate a standard space.

Does TRIM remove non-breaking spaces in WPS Spreadsheets?

No. TRIM removes standard spaces but does not remove CHAR(160). To remove non-breaking spaces, use =SUBSTITUTE(B2,CHAR(160)," ").

Will this fix also work in Microsoft Excel?

Yes. The same FIND, SUBSTITUTE, CHAR, and IFERROR formulas work in both WPS Spreadsheets and Microsoft Excel because they share common spreadsheet function behavior.