To return nothing in Excel means to display an empty cell instead of a value, zero, or error message — often used to clean up formulas that show unwanted results when conditions aren't met. This is achieved using the EMPTY STRING ("") or the IF function with no output. No special tools or add-ins are required — this works in all modern versions of Excel on Windows, Mac, and online.
What You'll Need
- Microsoft Excel (2010 or later) — desktop, Mac, or online version
- A formula or cell reference that currently returns a value, error, or zero you want to hide
- Basic understanding of Excel formulas (e.g., IF, VLOOKUP, SUMIF)
Step-by-Step
- Identify the cell containing the formula that currently returns a value you want to suppress — for example, a formula like =A1/B1 may return #DIV/0! if B1 is blank or zero.
- Click the cell with the formula to select it, then look at the formula bar to see its current content.
- Modify the formula to wrap it inside an IF function that checks for the condition you want to avoid. For example, if you want to return nothing when B1 is zero or blank, change =A1/B1 to =IF(OR(B1=0,B1=""),"",A1/B1).
- If you're using a lookup function like VLOOKUP and want to return nothing when no match is found, change =VLOOKUP(A2,Data!A:B,2,FALSE) to =IFERROR(VLOOKUP(A2,Data!A:B,2,FALSE),"").
- Press Enter to apply the formula. The cell should now appear blank if the condition is met — no zero, no error text, no spaces.
- Copy the updated formula to other cells by dragging the fill handle (small square at the bottom-right corner of the selected cell) or using Ctrl+C and Ctrl+V.
- Verify results by testing with sample data: enter zero, blank, or invalid values in referenced cells to confirm the formula returns true emptiness (no visible output).
Common Mistakes
- Using a space (" ") instead of an empty string ("") — this makes the cell appear blank visually but still contains a space character, which can interfere with other formulas or data validation.
- Forgetting to close quotes in the empty string — writing =IF(A1>0,A1,) instead of =IF(A1>0,A1,"") will cause a formula error.
- Using IFERROR to hide all errors without checking if the error type is meaningful — for example, hiding #NAME? might mask a misspelled function name, making debugging harder.
- Assuming that "nothing" means the cell is truly empty — Excel still treats the cell as having a formula, so it won't be counted as empty by functions like COUNTA or ISBLANK.
- Trying to return "nothing" by deleting the formula — this removes the logic entirely, defeating the purpose of conditional display.
Tips
- Use IFERROR for general error suppression; use IF with explicit conditions (like =0 or ="") when you want to control specific scenarios.
- Combine multiple conditions using AND or OR inside IF — for example, =IF(AND(A1<>",A1<>0),A1*2,"") ensures the result only appears when A1 has a valid number.
- For conditional formatting, you can still highlight cells that return "" by using a custom formula like =LEN(A1)=0, even though the cell appears blank.
- If you're using the result in a chart, Excel will not plot cells that return "" — this is often desirable for cleaner visualizations.
- When sharing workbooks, explain to collaborators that "blank" cells still contain formulas — they may think the cell is empty and accidentally overwrite it.
- Use the Evaluate Formula tool (Formulas > Evaluate Formula) to step through your logic and confirm the "" output triggers correctly under different inputs.
Troubleshooting
- If the cell still shows a zero or error, double-check your formula syntax — missing commas, parentheses, or quotes are common causes.
- If the cell shows a space instead of blank, press F2 to edit, then use the arrow keys to check for hidden characters — delete any spaces inside the quotes.
- If your formula works in one cell but not another, check cell formatting: if the cell is formatted as "Text", Excel may display "" as text instead of treating it as empty — change the format to "General".
- If the formula works but you still see a thin border or shading that looks like content, turn off gridlines temporarily (View > Gridlines) to confirm the cell is truly empty visually.
- If you're using Excel Online and the formula doesn't update, refresh the page — cached views can delay formula recalculations.
- If you accidentally deleted the formula and now want to restore it, press Ctrl+Z immediately to undo — if too late, retype the formula carefully using the examples above.
- If you're working with a large dataset and performance slows, avoid excessive use of IFERROR on volatile functions like INDIRECT or OFFSET — consider restructuring data instead.