Errors may be inevitable in worksheets containing complex formulas. Thankfully, you do not need to investigate and correct each of them. It is OK to hide errors you expect and not to correct them to improve the look and feel of your worksheet. In this guide, we’re going to show you how to hide formula errors in Excel.

Download Workbook

Using formulas to hide errors

Our first tip is a well-known formula auditing approach in Excel. Excel provides several error-auditing functions including IFERROR which allows you to return any other value in its second argument if the formula in the first argument returns an error. You can simply return an empty string ("") to hide any error message from the formula in the first argument.

How to hide formula errors in Excel - IFERROR

Following is a list of other error-related functions in Excel:

Using conditional formatting to hide

You can always hide any cell content by choosing the same font and background colors. Errors are not the exceptions. The trick is to make the coloring dynamic. You may already know that the Conditional Formatting feature allows you to alter cell(s) formatting according to its own or other cell values. However, you may not know that you can specifically target errors.

  1. Select the range that you anticipate seeing an error.
  2. Follow Home > Conditional Formatting (Styles) > New Rule in the Ribbon to open New Formatting Rule dialog.
  3. Click Format only cells that contain item in the Rule list.
  4. Select Errors item in Format only cells with dropdown.
  5. Click Format button to open Cell Format dialog.
    How to hide formula errors in Excel 06 - Conditional Formatting
  6. Activate Font tab.
  7. Click Color selector to see the colors.
  8. Select the same color with background.
  9. Click OK buttons to apply the formatting.
  10. Voila!

Hiding errors in the printed document

Errors in the worksheet may not bother you, or you want to see them to keep them in check. However, they look worse in a printed document. Thankfully, there is a feature to hide errors only in printed documents.

  1. You need to open the Page Setup dialog first. Use the link in the Print (Ctrl + P) section or the tiny arrow in Page Layout > Page Setup.
  2. Activate Sheet tab.
  3. Select a suitable option in Cell errors as Obviously option will be the most suitable for hiding.
  4. Click OK to apply.
    How to hide formula errors in Excel - Print

Hiding formula error indicators

This tip does not address the errors directly but the error indicators in cells. As you know, Excel displays a little triangle at the top-left corner by default when a cell contains an error value.

Although these indicators may be helpful for beginner users, they become annoying rapidly. Especially if you are OK to display error messages like #N/A which indicates an unmatched condition in a lookup formula. You can hide them entirely or alter their color and scenarios they become visible in Excel Options.

  1. Follow File > Options to open Excel Options
  2. Activate Formulas tab
  3. Uncheck Enable background error checking to hide them completely.
  4. Click OK to apply the change.
  5. No more indicators.