Log in
x
or
x
x
Register
x

or

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

Lock and protect selected cells from editing with Kutools for Excel

Lock and protect selected cells from viewing by encrypting (2 steps)

Easily protect/lock some cells 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. Full Feature Free Trial 30-day!
ad selection lock unlock 1
Click for detailed steps.

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

arrow blue right bubbleLock 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.


arrow blue right bubbleLock 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.

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

2. Click Enterprise > Worksheet Design to activate the Design tab, and then click the Design > Selection Unlock. 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 > Selection Lock.

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.


arrow blue right bubble 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:

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

2. In the opening Encrypt Cells dialog box, type your password into both Password box and Confirm box, 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 Enterprise > Decrypt, 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


arrow blue right bubbleDemo: 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


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
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!
officetab bottom
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.
    Mukesh · 6 months ago
    Thank u for helps.
  • To post as a guest, your comment is unpublished.
    Daniel · 2 years ago
    Please i want know lock some of the cells in my worksheet, how do i go about
    • To post as a guest, your comment is unpublished.
      kelly001 · 2 years ago
      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.
  • To post as a guest, your comment is unpublished.
    Rahil · 2 years ago
    i need to protect a particular cells , which can only view and unable to edit??
    • To post as a guest, your comment is unpublished.
      Tang Kelly · 2 years ago
      Hi,
      Both of the first method and the second method can protect some certain cells, and make these cells visible but not editable.
  • To post as a guest, your comment is unpublished.
    Rizwan Shaikh · 3 years ago
    how to protect single row or columm
  • To post as a guest, your comment is unpublished.
    Rizwan Shaikh · 3 years ago
    we cant protect a specific cell or column, so kindly suggest how to protect single column or row protect
  • To post as a guest, your comment is unpublished.
    Ivalu Edwards · 4 years ago
    Great! it helped a lot .
  • To post as a guest, your comment is unpublished.
    Azmat · 4 years ago
    Thanks Bro
    thanks i done it.....it will be helpful in my future work
  • To post as a guest, your comment is unpublished.
    Mike Massen · 4 years ago
    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 ?
  • To post as a guest, your comment is unpublished.
    anoop · 4 years ago
    thanks i done it.....it will be helpful in my future work
  • To post as a guest, your comment is unpublished.
    Ali · 4 years ago
    Great Tutorial , Thanks
  • To post as a guest, your comment is unpublished.
    ajesh · 4 years ago
    good tutorial, thanks
  • To post as a guest, your comment is unpublished.
    Gail · 4 years ago
    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
  • To post as a guest, your comment is unpublished.
    Babu · 4 years ago
    Excellent step by step instructions. Saved my time. Thanks a lot!
  • To post as a guest, your comment is unpublished.
    Lore · 5 years ago
    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
  • To post as a guest, your comment is unpublished.
    Warren · 5 years ago
    Great help! Thank you!
  • To post as a guest, your comment is unpublished.
    ju · 5 years ago
    ALRIGHT BRADLEY KNOWLES
  • To post as a guest, your comment is unpublished.
    ju · 5 years ago
    [quote name="herlin[quote name="yogesh"]very very helpful tutorial![/quote]
    [quote name="sunilkumar"]Really thanks for your detailed explanation which help me to understand the concept.[/quote]
    [quote name="AMANDA"]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.[/quote]
    [quote name="Rosalieluck"]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.[/quote]
    [quote name="VijayGanesh"][i][b]its very useful to me...
    thanks for the good explanation[/b][/i][/quote]
    [quote name="Exceluser"]Thank you!!!!!!!!! This really helped unlike many other posts.[/quote]
    "]thanks super usefull....


    gracias super útil (utilísimo)......[/quote]
  • To post as a guest, your comment is unpublished.
    Elia · 5 years ago
    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?
  • To post as a guest, your comment is unpublished.
    VijayGanesh · 5 years ago
    [i][b]its very useful to me...
    thanks for the good explanation[/b][/i]
  • To post as a guest, your comment is unpublished.
    sunilkumar · 5 years ago
    Really thanks for your detailed explanation which help me to understand the concept.
  • To post as a guest, your comment is unpublished.
    yogesh · 5 years ago
    very very helpful tutorial!
  • To post as a guest, your comment is unpublished.
    AMANDA · 5 years ago
    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.
  • To post as a guest, your comment is unpublished.
    Rosalieluck · 5 years ago
    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.
  • To post as a guest, your comment is unpublished.
    Roberto Vidal · 5 years ago
    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.
  • To post as a guest, your comment is unpublished.
    Andrew Mackenzie · 5 years ago
    :-) An excellent, clear explanation. Recommended
  • To post as a guest, your comment is unpublished.
    sheetal · 5 years ago
    I want to lock indivisual column and row.

    pls rpl me as soon as early wahat to do???
  • To post as a guest, your comment is unpublished.
    Exceluser · 5 years ago
    Thank you!!!!!!!!! This really helped unlike many other posts.
  • To post as a guest, your comment is unpublished.
    # OmondiBj · 5 years ago
    thanks, thz great.It helped me a lot. Now I am able to work on excel sheet in the safe mode
  • To post as a guest, your comment is unpublished.
    Rajendran · 5 years ago
    Thanks. It helped me a lot. Now I am able to work on excel sheet in the safe mode.
  • To post as a guest, your comment is unpublished.
    PUSHPENDRA · 5 years ago
    TAHNKS BUDDY its really helped me a lot in my job
  • To post as a guest, your comment is unpublished.
    Shelford S. Somwarbi · 5 years ago
    Thank you so much for the nice assistance
  • To post as a guest, your comment is unpublished.
    Bryce · 5 years ago
    Thanks for the information. May need to clarify #6 as I found it better if I unchecked one additional box.

    Cheers
  • To post as a guest, your comment is unpublished.
    abandohe · 5 years ago
    Thanks so much, an eye opener
  • To post as a guest, your comment is unpublished.
    Senthil · 5 years ago
    Good Support. thanks.
  • To post as a guest, your comment is unpublished.
    imran · 5 years ago
    thnx...Mast Helpful....
  • To post as a guest, your comment is unpublished.
    zaur tskhvaradze · 5 years ago
    Thank you. Great tutorial
  • To post as a guest, your comment is unpublished.
    Sol · 5 years ago
    thank you very much.. easy to follow
  • To post as a guest, your comment is unpublished.
    Bubba Louie · 5 years ago
    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
  • To post as a guest, your comment is unpublished.
    Marto · 5 years ago
    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???
  • To post as a guest, your comment is unpublished.
    Parameshwar · 5 years ago
    It is a nice and crispy description. I like it. Thank you very much
  • To post as a guest, your comment is unpublished.
    Ankur · 5 years ago
    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.
  • To post as a guest, your comment is unpublished.
    Ompong · 5 years ago
    Thousand thanks for this easy to follow guide in locking the specific cells in Microsoft Excel.
  • To post as a guest, your comment is unpublished.
    Armaghan Oonwala · 5 years ago
    thanxxxxx alottt.....
    now im doing work easily
    too easy and great tutorial
    God bless u.....
  • To post as a guest, your comment is unpublished.
    Sethu · 5 years ago
    It really works..I was searching for the same for so many days.
    Thank u
  • To post as a guest, your comment is unpublished.
    Jawaid · 5 years ago
    It's great help in very easy steps without confusing the user. :-)
  • To post as a guest, your comment is unpublished.
    Amar Nath · 5 years ago
    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.
  • To post as a guest, your comment is unpublished.
    Rebecca · 5 years ago
    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?
  • To post as a guest, your comment is unpublished.
    Jahangir · 5 years ago
    Very nice .... Awesome ... Thanks a lot ... :P
  • To post as a guest, your comment is unpublished.
    Matt Eastwood · 5 years ago
    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.
    • To post as a guest, your comment is unpublished.
      Love · 4 years ago
      You need to unprotect it before you can format the cells
  • To post as a guest, your comment is unpublished.
    Ashish Sharma · 5 years ago
    Nice, very helpful and my query resolved