Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. 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: Easy Value Hiding.

Easy Value Hiding

by Allen Wyatt
(last updated September 2, 2016)

6

Excel provides many different ways to hide the content of your workbooks. Perhaps one of the easiest (and most novel) ways is to use the custom formatting feature of the program. Follow these steps:

  1. Select the cells whose content you want to hide.
  2. Display the Home tab of the ribbon.
  3. Click the small icon at the bottom-right of the Number group. Excel displays the Format Cells dialog box.
  4. Make sure the Number tab is displayed.
  5. In the list of format categories, select Custom. (See Figure 1.)
  6. Figure 1. The Number tab of the Format Cells dialog box.

  7. In the Type box, enter three semicolons (;;;).
  8. Click on OK.

Now the information in the cell is not visible, nor will it print. You can, however, see the information in the Formula Bar, and it can be overwritten if you enter anything else in the cell.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6122) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Easy Value Hiding.

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

Ranges on Multiple Worksheets

Referring to a range of cells on the current worksheet is easy. But what if you want to refer to a range on a number of ...

Discover More

Mysterious Boxes around Paragraphs

Do you have some mysterious and unwanted boxes showing up around the paragraphs in your document? Here are some ideas on what ...

Discover More

Turning Off Gridlines

The purpose of gridlines is to make it easy to identify and select cells in a spreadsheet. If you find the gridlines to be ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

Getting Rid of Leading Zeros in a Number Format

Excel, by default, displays numbers with a leading zero, if they are less than 1. Here's how you can get rid of those leading ...

Discover More

Creating Two-Line Custom Formats

Creating custom formats is a very powerful way to display information exactly as you want it to appear. Most custom formats ...

Discover More

Adding a Custom Format to those Offered by Excel

Adding a custom format to Excel is easy. Having that custom format appear in all your workbooks is a different story ...

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}] 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 8 - 2?

2015-08-13 15:47:54

Kim Wennerberg

I find this useful because by its very nature, Excel is both a data tool and a data display tool. Sometimes I want data to be there, but not have it visible. I have used color font = color of fill previously, but this is nicer.


2013-09-27 06:36:35

Shravan Kumar Yadav

Tips is amazing to me. But what is its use.


2013-07-08 09:30:11

Bryan

This is really clever, though I can't think of a reason you would ever need to use it.


2013-07-06 22:40:13

Vicki Murray

If it is just one item, go to the cell that has a title in it (e,g,: cell A1) and change the custom format as shown but after the 3 semi-colons, enter the text for the header. No matter what the value of the cell is, it will read your header.
Take it one set further. Go to the "protection" tab (shown above), click "Hidden" and and "Lock" if desired to lock in the value. Then protect or lock the spreadsheet. Now the value of the cell can't be seen. If you calculate on the cell, it looks like you are operating on a text.


2013-07-06 13:17:48

Walter Antoku

I just usually change the font to "white", assuming I'm printing to a white background.


2013-07-06 09:26:07

Mohammad Al khalidy

Thank you, very nice tip,
By the way, i used to display the zero values as -, using ##,#;-##,#;"-"


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.