How to Keep an Excel Formula Cell Blank Until Another Cell Has a Value
Question details
The user needs a formula cell to remain completely blank instead of displaying a calculation result when the referenced input cell is empty.

- Product
- Excel / Spreadsheets
- Device & OS
- not provided
- Scenario
- Setting up a worksheet template where future data will be entered, and wanting to hide premature calculations to keep the sheet looking clean.
- Observed behavior
- Formulas like =C14-C13 execute and display a result (often a negative number, zero, or error) even when the input cell C14 has not yet been filled.
Identify the exact cell reference that needs to be filled before the calculation should run, and ensure your core formula works correctly when all data is present.
Use the IF Function to Return a Blank String
Wrap your existing formula inside an IF statement to check if the target cell is empty before triggering the calculation.
By utilizing the IF function, you can create a conditional statement that evaluates whether a specified cell is blank. If it is blank, the formula returns an empty string (""), leaving the cell visually empty.
Click on the cell containing your current formula (e.g., D14).
Edit the formula bar to wrap your calculation in an IF function. For example, change =C14-C13 to =IF(C14="","",C14-C13).
Press Enter to save the formula. Then, click and drag the fill handle at the bottom-right corner of the cell down the column to apply it to other rows.

Return a Zero Value Until Data is Entered
Use this method if your worksheet formatting or downstream calculations require the cell to show a 0 instead of being completely blank.
Manage Formulas Easily in WPS Spreadsheet
WPS Spreadsheet provides seamless support for all standard Excel functions, including the IF statement. You can easily manage complex data calculations, nest formulas, and keep your worksheets looking professional.
- 1. Open your document: Launch WPS Spreadsheet and open your existing workbook.
- 2. Locate the calculation cell: Click on the cell where you want the conditional result to be displayed.
- 3. Input the IF formula: Type your IF formula, such as =IF(A2="","",A2*B2), into the formula bar.
- 4. Fill the series: Press Enter, then drag the small green square (fill handle) down to apply the blank-check formula to the rest of your data.

Frequently Asked Questions
Why does my formula show #VALUE! when the referenced cell looks blank?
This usually happens if the referenced cell contains a hidden space, an apostrophe, or invisible text instead of being truly empty. Select the "blank" cell and press the Delete key to clear it completely, or use the TRIM function.
Can I check multiple cells before calculating a formula?
Yes, you can use the OR or AND functions inside your IF statement. For example, =IF(OR(C14="",C13=""),"",C14-C13) ensures the calculation only runs if both input cells are filled.
How do I hide error messages like #DIV/0! if a cell is empty?
Instead of checking for blank cells manually, you can use the IFERROR function. Wrapping your formula like =IFERROR(C14/C13, "") will automatically return a blank cell instead of an error if C13 is empty or zero.




