Skip to main content

How to quickly hide cell contents in Excel?

Author: Xiaoyang Last Modified: 2024-08-09

When we operate a worksheet, sometimes there are some important data which you don't want others to see. In this case, you may need to set some cell contents to be invisible. Please apply the following steps to hide cell contents in Excel.

a screenshot of showing and hiding cell contents

Hide cell contents with Cell Format feature

Hide cell contents by random strings


Hide cell contents with Cell Format feature

1. Select the range cells that you want to hide the cell values.

2. Then click Home > Format > Format Cells…, see screenshot:

a screenshot of opening the Format Cells dialog box

3. And a Format Cells dialog box will display, click Number on the top ribbon, and then click Custom in the Category list, in the Type box, please enter ";;;" (three semicolons). See screenshot:

a screenshot of formatting the selected cells

4. Then click OK. And the cell contents you selected have been hidden.

Notes: 1.The selected cells appear blank on the worksheet, but a value appears in the formula bar if you click one of the cells.

2. The hidden cell values can be removed when you select and delete them. And they are also can be changed.

If you want to display the hidden values, click General in the Category list to apply the default number format.

You may notice that even you have hidden the cell content, but the cell content will display in the formula bar when you click these cells. But some users may want to prevent others from viewing the cell contents from both cells and formula bars, how to get it done? The following method will solve this problem easily.


In addition to hide cell content and displaying noting in the selected cell, we can also hide the cell contents and display randomly strings with Kutools for Excel’s Encrypt Cells utility.

Kutools for Excel - Packed with over 300 essential tools for Excel. Enjoy permanently free AI features! Download now!

1. Select the cells whose contents you will hide, and click Kutools Plus > Encrypt Cells.

2. In the popping up Encrypt Cells dialog box, type password in both Password box and Confirm box, and then click the Ok button.

a screenshot of using password to encrypt contents of selected cells

Then you will see all cell contents in the selected range are replaced by random strings. See screen shot below:

a screenshot showing random strings covering the selected cells

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy permanently free AI features! Get It Now

Notes:

(1) When clicking the cells with hidden cell contents, you will not view the cell contents in the formula bar too.

(2) You can restore the hidden cell contents with selecting these cells, clicking Enterprise > Decrypt Cells, and entering your specified password.


Demo: Hide cell contents by random strings in Excel

 
Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!