Skip to main content

How to lock and protect selected cells from editing in Excel?

It's easy to lock and protect the whole worksheet or workbook with clicking the Protect Sheet button or Protect Workbook button under Review tab. However, sometimes you may need to lock and protect only specific cells or selections in a sheet. How would you like to do? This article will guide you to lock and protect selected cells or ranges in Excel with following steps:


Lock and protect selected cells from editing with modifying cell formatting

The following steps will guide you to unlock all cells in current firstly, lock required cells and ranges, and then protect current worksheet. Please do as follows:

1. Click the Arrow at the upper-left corner of worksheet to select all cells in active worksheet.

2. Right click any selected cell, and select the Format Cell item from the context menu. See below screenshot:

3. In the Format Cells dialog box, uncheck the Locked option under Protection tab, and click OK button. See above screenshot:

4. Select cells and ranges that you want to lock, right click and select the Format Cell item from the context menu.

5. In the Format Cells dialog box, check the Lock option under Protection tab, and click OK button. See above screenshot:

6. Click Review > Protect Sheet to protect current worksheet. See below screenshot:
doc lock cells 5

7. Enter a password in the blank box in the popping up Protect Sheet dialog box, and click the OK button. And then retype the password into the another Confirm Password dialog box, and click the OK button. See screenshot above.

And now it locks and protects only cells and ranges you selected in the Step 4, while unselect ranges are editable.


Lock and protect selected cells from editing with Kutools for Excel

Kutools for Excel's Selection Unlock utility and Selection Lock utility enable you to unlock/lock all selected cells with only one click, and then you can protect the whole worksheet with allowing unlocked cells to be edited.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now

1. Click the Arrow at the upper-left corner of worksheet to select all cells in active worksheet.

2. Click Kutools Plus > Worksheet Design to activate the Design tab, and then click the Design > Unlock Cells. See screenshot:

Then a dialog box comes out to tell you selected cells have been unlocked. Just click the OK button to close it.

3. Select cells and ranges that you want to lock, and click the Design > Lock Cells.

Then click the OK button to close the popping up Kutools for Excel dialog box.

4. Click the Design > Protect Sheet or Review > Protect Sheet, and then you can follow the same steps we introduced in the first method to protect current worksheet.


Lock and protect selected cells from viewing by encrypting

If you have Kutools for Excel installed, it’s another Encrypt Cells utility can help you quickly lock and protect selected cells quickly. You can do as follows:

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now

1. Select the cells that you want to lock and protect, and click the Kutools Plus > Encrypt Cells > Encrypt Cells.

2. In the opening Encrypt Cells dialog box, type your password into both Password box and Confirm box, select one of mask types, and click the Ok button.

Then you will see all selected cells are encrypted at once as following screen shot shown:

Note: You can decrypt these encrypted cells with clicking Kutools Plus > Encrypt Cells > Decrypt Cells, and then type you password into opening dialog box.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now


Demo: lock and protect selected cells in Excel


Kutools for Excel includes more than 300 handy tools for Excel, free to try without limitation in 30 days. Download and Free Trial Now!

Quickly mass password protect multiple/all worksheets in Excel

Normally Excel's Protect Sheet feature can only protect active sheet. However, Kutools for Excel's Protect Worksheet utility enables to batch protect multiple (or all) worksheets with same password by only 2 steps.
ad protect multiple sheets

Best Office Productivity Tools

Supercharge Your Spreadsheets: Experience Efficiency Like Never Before with Kutools for Excel

Popular Features: Find/Highlight/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   |   Unhide Columns   |   Compare Columns to Select Same & Different Cells ...
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 Toolset12 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, ...)   |   Many More...

Kutools for Excel boasts over 300 features, ensuring that what you need is just a click away...

Supports Office/Excel 2007-2021 & newer, including 365   |   Available in 44 languages   |   Enjoy a full-featured 30-day free trial.

kte tab 201905


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!
Comments (93)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thanks - so very very helpful - instant answer to my needs - very grateful this exists
This comment was minimized by the moderator on the site
Thank u for helps.
This comment was minimized by the moderator on the site
Please i want know lock some of the cells in my worksheet, how do i go about
This comment was minimized by the moderator on the site
Hi Daniel,

Both the first and the second methods can help and guide you to lock only part of cells in a worksheet. Just follow the tutorial.
This comment was minimized by the moderator on the site
i need to protect a particular cells , which can only view and unable to edit??
This comment was minimized by the moderator on the site
Hi,
Both of the first method and the second method can protect some certain cells, and make these cells visible but not editable.
This comment was minimized by the moderator on the site
how to protect single row or columm
This comment was minimized by the moderator on the site
we cant protect a specific cell or column, so kindly suggest how to protect single column or row protect
This comment was minimized by the moderator on the site
Great! it helped a lot .
This comment was minimized by the moderator on the site
Thanks Bro thanks i done it.....it will be helpful in my future work
This comment was minimized by the moderator on the site
Hi, I followed method 1 to the letter along with hiding the cells too. ie I have approx 120 rows & 20 cols and selected rows 6 to 15 to lock and it works fine, they are also hidden but, now I cannot change the formatting eg make bold etc on other cells though I can change the contents. The bold option is greyed out :-( Have been through this a couple of times and it is consistent. I am using Microsoft Office Professional Plus 2010. It doesnt matter if I unhide either :-( The dialog box re "Protect sheet" always also selects unlocked when I only want to select locked cells, there seems no way around this, what can I do ?
This comment was minimized by the moderator on the site
thanks i done it.....it will be helpful in my future work
This comment was minimized by the moderator on the site
Great Tutorial , Thanks
This comment was minimized by the moderator on the site
good tutorial, thanks
This comment was minimized by the moderator on the site
Is it possible to create a sign-up form in Excel and once a name is entered, that cell locks, and can only be edited by the form administrator? We have encountered some dishonest people who remove others' names and put their own in place of the removed ones. Just wondering. Thanks
This comment was minimized by the moderator on the site
Excellent step by step instructions. Saved my time. Thanks a lot!
This comment was minimized by the moderator on the site
What about if you want to add more locked cells to the one you already have locked? Looks like it unlock the prevues and you will have to do all the steps for the new and the prevues locked cells. Do you know how to just add the new locked cells? Thanks
This comment was minimized by the moderator on the site
Great help! Thank you!
This comment was minimized by the moderator on the site
ALRIGHT BRADLEY KNOWLES
This comment was minimized by the moderator on the site
[quote]very very helpful tutorial!By herlin[quote]Please provide me details on how to lock certain cells and columns only not the whole sheet nor workbook but allow admin user and specific person to edit ranges using password provided.By Rosalieluck[/quote] [quote]its very useful to me... thanks for the good explanationBy VijayGanesh[/quote] [quote]Thank you!!!!!!!!! This really helped unlike many other posts.By Exceluser[/quote] "]thanks super usefull.... gracias super útil (utilísimo)......By yogesh[/quote] [quote]Really thanks for your detailed explanation which help me to understand the concept.By sunilkumar[/quote] [quote]Tried several times, the first time it works, and the selected cells are locked, not allowed to edit. However it began to fail from the second time, not working at all, all the cells allowed to edit again.By AMANDA[/quote] [quote]I got a same queries that Dinesh state. [/quote]e]
This comment was minimized by the moderator on the site
HI There is a problem with this, once you protect the cells, it will protect the whole sheet as well. Means, the worksheet is not locked, but it is protected and is not completly editabl ( Read Step 8 and see in the screen shot, you have check the box which is written: " PROTECT WORKSHEET and conntents of locked cells". ) 90% of HOME, Insert and Data menu and some other options in different menus are locked. Can we lock cells in a way that you would be able to use all other menus and their options for unlocked cells?
This comment was minimized by the moderator on the site
its very useful to me... thanks for the good explanation
This comment was minimized by the moderator on the site
Really thanks for your detailed explanation which help me to understand the concept.
This comment was minimized by the moderator on the site
very very helpful tutorial!
This comment was minimized by the moderator on the site
Tried several times, the first time it works, and the selected cells are locked, not allowed to edit. However it began to fail from the second time, not working at all, all the cells allowed to edit again.
This comment was minimized by the moderator on the site
I got a same queries that Dinesh state. "]Please provide me details on how to lock certain cells and columns only not the whole sheet nor workbook but allow admin user and specific person to edit ranges using password provided.
This comment was minimized by the moderator on the site
Thanks for the clear explanation. Is it possible to do this over multiple cell ranges in a spreadsheet? For example, I would like to protect a certain column from all (one password) and then protect other columns from all but one user (that user would have a second password). Thanks again.
This comment was minimized by the moderator on the site
:-) An excellent, clear explanation. Recommended
This comment was minimized by the moderator on the site
I want to lock indivisual column and row. pls rpl me as soon as early wahat to do???
This comment was minimized by the moderator on the site
Thank you!!!!!!!!! This really helped unlike many other posts.
This comment was minimized by the moderator on the site
thanks, thz great.It helped me a lot. Now I am able to work on excel sheet in the safe mode
This comment was minimized by the moderator on the site
Thanks. It helped me a lot. Now I am able to work on excel sheet in the safe mode.
This comment was minimized by the moderator on the site
TAHNKS BUDDY its really helped me a lot in my job
This comment was minimized by the moderator on the site
Thank you so much for the nice assistance
This comment was minimized by the moderator on the site
Thanks for the information. May need to clarify #6 as I found it better if I unchecked one additional box. Cheers
This comment was minimized by the moderator on the site
Thanks so much, an eye opener
This comment was minimized by the moderator on the site
Brilliant tutorial!! Thank you very much
This comment was minimized by the moderator on the site
Good Support. thanks.
This comment was minimized by the moderator on the site
thnx...Mast Helpful....
This comment was minimized by the moderator on the site
Thank you. Great tutorial
This comment was minimized by the moderator on the site
thank you very much.. easy to follow
This comment was minimized by the moderator on the site
After looking at several tutorials on this subject, all of which were very confusing, I found this one. I followed the tutorial step by step and it works great. Thank you for making it so easy for this old timer that is high tech deficient. Bubba
This comment was minimized by the moderator on the site
once i have locked cells to my likeing, the cells i can acess and edit, i dont seem to be able to change colour, font , size etc, even though they are not in the selcted lock range, the tool bar on my home tab is all greyed out, any ideas???
This comment was minimized by the moderator on the site
It is a nice and crispy description. I like it. Thank you very much
This comment was minimized by the moderator on the site
After going through this process of locking specific cells and protecting the sheet with a password, height and length of the rows and columns respectively of the sheet can't be changed. Any way out? Need help urgently.
This comment was minimized by the moderator on the site
Thousand thanks for this easy to follow guide in locking the specific cells in Microsoft Excel.
This comment was minimized by the moderator on the site
thanxxxxx alottt..... now im doing work easily too easy and great tutorial God bless u.....
This comment was minimized by the moderator on the site
It really works..I was searching for the same for so many days. Thank u
This comment was minimized by the moderator on the site
It's great help in very easy steps without confusing the user. :-)
This comment was minimized by the moderator on the site
I understand how to protect a worksheet, and I know how to "unlock" certain cells in a worksheet, so that users of the worksheet can enter information into these unlocked cells. I have a worksheet where all I want the users to be able to do in certain cells is to be able to 'put in or insert' numbers. I don't want the users of this worksheet to be able to change the font, font color, font size, borders, etc. In other words, I want to create a worksheet where only numbers can be entered into certain cells, but no changes whatsoever can be made to the cell formatting of these cells. Thanks for your assistance.
This comment was minimized by the moderator on the site
Thanks it worked! Now I'm wondering if there's a way so that when I copy this table into Word those selected cells remain locked?
This comment was minimized by the moderator on the site
Very nice .... Awesome ... Thanks a lot ... :P
This comment was minimized by the moderator on the site
I understand how to protect a worksheet, and I know how to "unlock" certain cells in a worksheet, so that users of the worksheet can enter information into these unlocked cells. I have a worksheet where all I want the users to be able to do in certain cells is to be able to 'put in or insert' numbers. I don't want the users of this worksheet to be able to change the font, font color, font size, borders, etc. In other words, I want to create a worksheet where only numbers can be entered into certain cells, but no changes whatsoever can be made to the cell formatting of these cells. Thanks for your assistance.
This comment was minimized by the moderator on the site
You need to unprotect it before you can format the cells
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations