How to Remove Excel #VALUE! Errors and Return Blank Cells
Question details
The user wants to resolve #VALUE! errors resulting from arithmetic operations on text or empty cells, and display a blank cell instead of the error message.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Creating calculation formulas across columns where future data will be entered, leading to empty or text-based cells causing #VALUE! errors.
- Observed behavior
- The formula returns a #VALUE! error instead of executing the calculation or remaining blank when source cells do not contain valid numbers.
Ensure that the cells referenced in your formula do not inadvertently contain hidden spaces or text formatted as numbers before applying error-handling functions.
Use the IFERROR Function to Hide Errors
Wrap your existing formula in the IFERROR function to automatically replace any #VALUE! error with a blank cell.
The IFERROR function is the most efficient way to handle #VALUE! errors in Excel. It evaluates your formula, and if an error is detected, it outputs an alternative value of your choosing—in this case, an empty string.
Click on the cell currently displaying the #VALUE! error to make it active.
Click inside the Formula Bar at the top of the worksheet to edit your calculation.
Wrap your existing calculation inside the IFERROR function. For example, if your formula is =F3-G3, change it to =IFERROR(F3-G3, "").
Press Enter to save the formula. Then, click and drag the fill handle at the bottom-right corner of the cell to apply this updated formula to the rest of the column.

Correct Formula Syntax and Range References
Sometimes #VALUE! errors are caused by using incorrect operators inside functions, such as typing a hyphen instead of a colon inside a SUM function.
Easily Handle Formula Errors with WPS Spreadsheet
WPS Office provides a highly compatible and user-friendly spreadsheet tool that perfectly supports advanced logic like the IFERROR function. Easily manage formulas, clean up your data, and prevent #VALUE! errors from cluttering your reports.
- 1. Open your file in WPS Spreadsheet: Launch WPS Office and open the workbook containing the formula errors.
- 2. Locate the affected formula: Click on the cell displaying the #VALUE! error to view its contents in the formula bar.
- 3. Apply IFERROR: Modify the formula to =IFERROR(YourFormula, "") and press Enter. Drag the fill handle to apply the updated formula down the column.

Frequently Asked Questions
What causes the #VALUE! error in Excel?
The #VALUE! error typically occurs when a formula expects a numerical value but encounters text, spaces, or special characters. It can also happen if range references are typed incorrectly, like using a minus sign instead of a colon inside a SUM function.
Can I return a 0 instead of a blank cell using IFERROR?
Yes. Instead of using empty quotation marks, you can modify the formula to =IFERROR(YourFormula, 0). This instructs the spreadsheet to display a zero whenever an error is encountered.
Does the IFERROR function hide all types of spreadsheet errors?
Yes, the IFERROR function catches and handles all standard spreadsheet errors, including #VALUE!, #DIV/0!, #N/A, #NAME?, and #REF!. If you only want to handle specific errors like #N/A, you should use the IFNA function instead.
Why does my cell still show an error even though the source cells look blank?
If source cells appear blank but still cause a #VALUE! error during arithmetic calculations, they likely contain hidden spaces or invisible characters from imported data. You can use the TRIM function or Clear Contents on those cells to ensure they are truly empty.




