Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Hiding Errors on Printouts.

Hiding Errors on Printouts

Written by Allen Wyatt (last updated June 5, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021


Excel has a number of different errors that can appear in your worksheet, for any number of reasons. Errors values show up with a pound (hash) symbol followed by the type of error, as in #DIV/0! or #N/A.

When you print your worksheet, Excel prints the error values, by default. If you prefer, you can choose to have Excel not print the error values. Follow these steps:

  1. Display the Page Layout tab of the ribbon.
  2. Click the small icon at the lower-right of the Page Setup group. Excel displays the Page Setup dialog box.
  3. Make sure the Sheet tab is displayed. (See Figure 1.)
  4. Figure 1. The Sheet tab of the Page Setup dialog box.

  5. Use the Cell Errors As drop-down list to specify how you want the error values printed.
  6. Click OK to close the Page Setup dialog box.

In step 4, you have several options in the drop-down list:

  • Displayed. Prints the error values as they show in the worksheet.
  • <Blank>. Replaces the error value with a blank; effectively hides the error values.
  • --. Replaces the error value with two dashes.
  • #N/A. Replaces all error values with #N/A.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6144) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Excel here: Hiding Errors on Printouts.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Adding a Little Animation to Your Life

Tired of the same old boring Excel look? You can add some life to your worksheets by introducing some animation. Here's ...

Discover More

Favorites and Recents Don't Show Up when Starting Excel

When you start Excel, it helpfully offers recent or favorite workbooks you can open. If the display of these workbooks is ...

Discover More

Accepting Capitalization of a Proper Noun

If a word is normally supposed to be lowercase, Word helpfully lets you know if you incorrectly capitalize it. If you ...

Discover More

Best-Selling VBA Tutorial for Beginners Take your Excel knowledge to the next level. With a little background in VBA programming, you can go well beyond basic spreadsheets and functions. Use macros to reduce errors, save time, and integrate with other Microsoft applications. Fully updated for the latest version of Office 365. Check out Microsoft 365 Excel VBA Programming For Dummies today!

More ExcelTips (ribbon)

Custom Page Numbers on Printouts

Excel is rather weak on giving you control over how page numbers appear on a printout. This is never more apparent than ...

Discover More

Showing Print Preview for the Current Page

The Print Preview feature in Excel can be quite helpful. You might think it would be more helpful, though, if it ...

Discover More

Controlling the Printer in a Macro

Need to access the advanced capabilities of a printer from within an Excel macro? You may be out of luck, unless you ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is three less than 9?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.