How to Replace Excel #### Errors with a Blank or Custom Symbol
Question details
The user wants to replace #### errors in Excel with blanks or specific custom symbols.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Calculating time differences or handling numeric values that result in negative times or text overflow.
- Observed behavior
- The target cell displays a series of hash characters (####) instead of the expected calculated value or a clean blank space.
Before altering your formulas, double-check if the #### error is simply due to the column being too narrow by double-clicking the column header right boundary to auto-fit the width.
Use an IF Formula to Handle Negative Times
Prevent #### errors by using an IF function to display a blank or custom symbol when a calculation results in a negative time value.
Excel's default date system cannot process or display negative time values, resulting in the #### error. Using an IF statement lets you intercept the negative calculation and display a more visually appealing alternative, such as an empty cell or a custom text character.
Click on the cell where you want the time difference or calculation result to appear.
Type the formula =IF(A1-B1<0, "", A1-B1) into the formula bar. Replace A1 and B1 with your actual cell references.
If you want to show a specific symbol instead of a blank space, replace the empty quotation marks with your symbol, such as =IF(A1-B1<0, "-", A1-B1) or =IF(A1-B1<0, "N/A", A1-B1).
Press Enter to apply the formula. Negative results will now be intercepted and show your chosen blank or symbol.

Adjust Column Width to Fit Content
If the #### error is caused by a large number or long date format rather than a negative time, widening the column will instantly resolve it.
Easily Manage Spreadsheets and Formulas with WPS Office
WPS Spreadsheet provides a highly compatible environment for handling your workbook data. You can effortlessly utilize standard functions like IF to manage data display errors, calculate time correctly, and seamlessly adjust formatting.
- 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your existing spreadsheet document.
- 2. Apply the IF formula: Select the cell showing the #### error and enter the standard formula =IF(A1-B1<0, "", A1-B1) in the formula bar.
- 3. Format easily: Right-click the cell, select 'Format Cells', and effortlessly manage your date and time displays under the Number tab.

Frequently Asked Questions
Why does my spreadsheet show #### instead of a number?
This happens when a column is not wide enough to display the entire number or date, or when a formula calculates a negative date or time, which the default date system is not designed to display.
Can I use IFERROR to hide #### errors?
No, because the #### display caused by negative time or narrow columns is not classified as a standard formula error (like #VALUE! or #DIV/0!). You need to use an IF function to test for negative values logically.
How do I show negative time values without hiding them?
To display negative time as a normal value (e.g., -1:30), you can change your workbook settings to use the 1904 date system. Go to Options > Advanced, and under 'When calculating this workbook', check the 'Use 1904 date system' box.




