Remove or Hide Any Formula Error in Google Sheets (IFERROR & IFNA)

Use IFERROR and IFNA wrappers to suppress #N/A, #REF!, #VALUE!, #DIV/0! and show a blank, zero, or custom message so dashboards and downstream formulas stay clean.

What the video covers

Show how to wrap existing formulas with IFERROR or IFNA to hide or replace common formula errors and apply the change across a column in Google Sheets.

Watch the video on YouTube

Step-by-step instructions

  1. Open the sheet and select an error cell
    Open your Google Sheets file and click a cell that currently shows a formula error such as #N/A, #REF!, #VALUE!, or #DIV/0!.
  2. Edit the formula to add IFERROR
    In the formula bar, wrap the existing formula with IFERROR. Example: change =A2/B2 to =IFERROR(A2/B2, 0) to return 0 on error.
  3. Return a blank or custom message
    Replace the fallback with an empty string to show a blank cell: =IFERROR(VLOOKUP(A2, D:E, 2, FALSE), ""). Or use custom text: =IFERROR(A2/B2, "—") to signal an intentionally hidden error.
  4. Use IFNA for lookup-missing cases
    If you only want to suppress missing-value errors from lookups but still see other errors, use IFNA: =IFNA(XLOOKUP(A2, D:D, E:E), "Missing Data"). IFNA only intercepts #N/A results.
  5. Apply the wrapper to the whole column
    After updating one formula, use the fill handle: drag the bottom-right corner down or double-click the handle to copy the wrapped formula down the column so all rows use the same error handling.

Watch the video

Video thumbnail for Remove or Hide Any Formula Error in Google Sheets (IFERROR & IFNA) Play tutorial

Watch on YouTube

Why it matters

Formula errors display as disruptive tags, break dashboard layouts, and can cascade into other calculations. Wrapping formulas with IFERROR/IFNA lets you present clean results and control what appears when a formula fails.

Check your result

After applying the wrapper, cells that previously showed error tags should display your chosen fallback (blank, zero, or custom text) while non-error results remain unchanged.

Troubleshooting

If a structural error persists (e.g., incorrect range references), use IFNA only for lookup/missing-value cases so you still see other error types for debugging. If copied results are incorrect, inspect one original formula inside the wrapper to confirm ranges and arguments are correct.