Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to protect / lock hidden columns in Excel?

In Excel, Hide and Unhide columns are common functions that you may use them a lot, you can easily hide the columns and then unhide them again. But sometimes, you need to hide some columns which contain important data that you don't want others to read. How could you protect the hidden columns not being unhide by others in Excel?

Protect or lock hidden columns with Excel feature

Protect/lock hidden columns with Kutools for Excel

Toggle button to show or hide hidden columns with only one click

Easily protect/lock some cells/columns from editing in Excel

Kutools for Excel provides a quite easy way to protect or lock specified cells from editing in Excel: unlock the whole worksheet by Selection Unlock button, next lock the specified cells you will lock from editing by Selection Lock button, at last protect current worksheet. Click for detailed steps. Full Feature Free Trial 60-day!

ad selection lock unlock 1

Excel Productivity Tools

Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial

Kutools for Excel: Save 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately.60-day Unlimited Free Trial

In Excel, the following steps can help you prevent the hidden columns from seeing, please do as this:

1. Click the Select All button (the button at the intersection of row numbers and column letters). See screenshot:

2. Then right click, and choose Format Cells from the context menu, and in the popping out Format Cells dialog box, click Protection tab, and uncheck the Locked option. Then click OK button to close this dialog. See screenshot:

3. And then select the columns that you want to protect, and right click again, select Format Cells from the context menu.

4. In the Format Cells dialog box, click Protection tab, and then check the Locked option. And then click OK to close the dialog, see screenshot:

5. In this step, you can hide the selected columns, and then go to clicking Review > Protect Sheet.

6. And in the Protect Sheet dialog, enter your password and confirm it. See screenshots:

And when you unhide the columns with the Unhide function, the Unhide tool will become gray, so that you can't unhide the hidden columns. See screenshot:

Note: Because you have removed the locked status from all cells, you can enter data into the cells of worksheet as normal.

If you have Kutools for Excel installed, its Selection Lock utility and Selection Unlock utility will help you much easier to protect/lock hidden columns in Excel. You can do as follows:

Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

1. Click the Select All button (the button at the intersection of row numbers and column letters). See screenshot:

2. Click the Enterprise > Worksheet Design to activate the Design tab, and then click the Selection Unlock to unlock all cells in current sheet.

3. Select the columns that you will hide and protect, and then click the Design > Selection Lock.


(1) Holding the Ctrl key, you can select multiple nonadjacent columns by selecting each column one by one;

(2) Holding the Shift key, you can select multiple adjacent columns by selecting the first columns and the last one.

4. Hide these columns, and then protect current sheet by clicking Design (or Review) > Protect Sheet, and type your password into both dialog box as following screen shot shown:

Then you will see hidden columns are locked and protected, while other cells in current sheet works as normal.

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!

In this Video, the Kutools tab and the Kutools Plus tab are added by Kutools for Excel. If need it, please click here to have a 60-day free trial without limitation!

One click to unhide all hidden columns, and one click to restore hidden columns

Kutools for Excel’s (Show) Columns utility is a good toggle to show all hidden columns with only one click, and click this Column button for the second time will make these columns hidden again. Full Feature Free Trial 60-day!

ad unhide hidden columns 1

Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    abishek subash · 3 years ago
    thanks for the tip. That work well. made my work much easy.
  • To post as a guest, your comment is unpublished.
    V-Turn · 4 years ago
    This method is a very bad idea...

    Provided that there is one cell you can edit (for example cell A1 in column A), enter the content as "=B1", then you will see the value of B1...
  • To post as a guest, your comment is unpublished.
    Mary · 4 years ago
    Directions on how to hide columns.
  • To post as a guest, your comment is unpublished.
    Rishi · 4 years ago
    My reason to use the above technique is to lock access to values in a column from the audience. However lets say my hidden column is D, a simple "=D4" in another cell gives the value in the D4 cell which is my hidden cell. How do i stop that from happening.
  • To post as a guest, your comment is unpublished.
    Nishitha Kumar · 4 years ago
    It made my life so essy.. thanks a lot..