Hide Error Values and Error Indicators in Cells
To hide error values (like #DIV/0!, #N/A, #VALUE!) and the green error indicators in Excel cells, use the methods below:
✅ 1. Hide Error Values in Cells
➤ Option A: Use IFERROR() Function
Wrap your formula to catch and hide errors.
=IFERROR(A1/B1, "")
- If
A1/B1causes an error (e.g., divide by zero), it will display blank instead. - You can also show a custom message:
=IFERROR(A1/B1, "Invalid")
➤ Option B: Use IF(ISERROR()) (for older Excel)
=IF(ISERROR(A1/B1), "", A1/B1)
✅ 2. Hide Green Error Indicators (Small Triangles)
Those indicators appear when Excel thinks a formula might be incorrect (e.g., number stored as text, or inconsistent formulas).
➤ Steps:
- Select the affected cells or the entire sheet.
- Go to File > Options > Formulas.
- Under Error Checking, uncheck:
- “Enable background error checking” (disables all indicators)
OR - Leave it checked, and uncheck specific rules under “Error checking rules” (e.g., “Numbers stored as text”).
- “Enable background error checking” (disables all indicators)
✅ 3. Conditional Formatting to Hide Errors (Optional)
Use this if you want to gray out or hide error cells visually:
Steps:
- Select the range.
- Go to Home > Conditional Formatting > New Rule.
- Choose “Use a formula to determine which cells to format”.
- Enter this formula:
=ISERROR(A1) - Click Format, and set the font color to match the background (e.g., white on white) or use a light fill.
🧠 Example: Combine All
To divide A1 by B1 but:
- Show blank if error
- Avoid green indicators
=IFERROR(A1/B1, "")
Then turn off error checking for that cell type in Options.