Excel IF Formula to Replace Zero With a Blank in Remarks
Question details
Copy values from SubRemarks to Remarks while displaying a blank when the source value is zero.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A Remarks column should reflect values from SubRemarks without showing numeric zeros.
- Observed behavior
- Text and nonzero values should appear in Remarks, while numeric zeros should appear blank.
Identify the SubRemarks source column and the first cell in the Remarks destination column. Check whether the data is in an Excel table or uses ordinary cell references.
Use an IF Formula in an Excel Table
Use a structured reference when SubRemarks and Remarks are columns in an Excel table.
Click the first data cell under the Remarks table header.
Type =IF([@SubRemarks]=0,"",[@SubRemarks]) in the cell or formula bar, then press Enter.
Confirm that Excel fills the formula down the Remarks column. If it does not, copy the formula into the remaining Remarks cells.

Use an IF Formula With Ordinary Cell References
Use this approach when the source and destination columns are not in an Excel table.
Display Blanks Instead of Zeros in WPS Spreadsheet
Use the IF function in WPS Spreadsheet to copy SubRemarks values into Remarks while displaying a blank for numeric zeros.
- 1. Open the workbook: Open WPS Spreadsheet and use Open to select your workbook.
- 2. Select the Remarks cell: Click the first destination cell in the Remarks column and identify its corresponding SubRemarks source cell.
- 3. Enter the IF formula: Type =IF(A2=0,"",A2), replacing A2 with the actual SubRemarks cell, and press Enter.
- 4. Fill the remaining rows: Drag the fill handle from the formula cell down the Remarks column, then use Save to keep the changes.

Frequently Asked Questions
Will the formula preserve text and negative numbers?
Yes. The formula =IF(A2=0,"",A2) displays text and nonzero numbers, including negative values, from A2.
Is the result cell actually empty when the source is zero?
No. The formula returns an empty text string, so the cell appears blank but still contains a formula.
Why does Excel show an error when I enter the formula?
Check that the source reference or table column name is correct. Depending on your regional settings, you may also need semicolons instead of commas, as in =IF(A2=0;"";A2).
How do I apply the formula to every row?
In an Excel table, enter the structured-reference formula in the first Remarks data cell and check whether it fills the column automatically. Otherwise, copy it down or drag the fill handle.




