Download ArticleDownload Article

Locking cells in an Excel spreadsheet can prevent any changes from being made to the data or formulas that reside in those particular cells. Cells that are locked and protected can be unlocked at any time by the user who initially locked the cells. Follow the steps below to learn how to lock and protect cells in Microsoft Excel versions 2010, 2007, and 2003.

To learn how to unlock the cells, read the article How to Open a Password Protected Excel File.

Things You Should Know

  • In all versions of Excel, highlight and right click your cells. Then, select "Format Cells" > "Protection." Check "Locked" and save.
  • In Excel 2007 and 2010, go to "Review" > "Changes/Protect Sheet" > "Protect worksheet and contents of locked cells." Type a password click through the prompts to save.
  • In Excel 2003, go to "Tools" > "Protection" > "Protect Sheet." Check "Protect worksheet and contents of locked cells." Enter a password and follow the prompts to save.
Method 1
Method 1 of 2:

Locking and Protecting Cells in Excel 2007 and Excel 2010

Download Article
  1. How.com.vn English: Step 1 Open the Excel spreadsheet that contains the cells you want locked.
  2. How.com.vn English: Step 2 Select the cell or cells you want locked.
    Advertisement
  3. Step 3 Right-click on the cells, and select "Format Cells."
  4. Step 4 Click on the tab labeled "Protection."
  5. Step 5 Place a checkmark in the box next to the option labeled "Locked."
  6. Step 6 Click "OK."
  7. Step 7 Click on the tab labeled "Review" at the top of your Excel spreadsheet.
  8. Step 8 Click on the button labeled "Protect Sheet" from within the "Changes" group.
  9. Step 9 Place a checkmark next to "Protect worksheet and contents of locked cells."
  10. Step 10 Enter a password in the text box labeled "Password to unprotect sheet."
  11. Step 11 Click on "OK."
  12. Step 12 Retype your password into the text box labeled "Reenter password to proceed."
  13. Step 13 Click "OK."
    The cells you selected will now be locked and protected, and can only be unlocked by selecting the cells once again, and entering the password you selected.
  14. Advertisement
Method 2
Method 2 of 2:

Locking and Protecting Cells: Excel 2003

Download Article
  1. How.com.vn English: Step 1 Open the Excel document that contains the cell or cells you want to lock.
  2. How.com.vn English: Step 2 Select one or all of the cells you want locked.
  3. Step 3 Right-click on your cell selections, and select "Format Cells" from the drop-down menu.
  4. Step 4 Click on the "Protection" tab.
  5. Step 5 Place a checkmark next to the field labeled "Locked."
  6. Step 6 Click the "OK" button.
  7. Step 7 Click on the "Tools" menu at the top of your Excel document.
  8. Step 8 Select "Protection" from the list of options.
  9. Step 9 Click on "Protect Sheet."
  10. Step 10 Place a checkmark next to the option labeled "Protect worksheet and contents of locked cells."
  11. Step 11 Type a password at the prompt for "Password to unprotect sheet," then click "OK."
  12. Step 12 Reenter your password at the prompt for "Reenter password to proceed."
  13. Step 13 Select "OK."
    All the cells you selected will now be locked and protected, and can only be unlocked going forward by selecting the locked cells, and entering the password you initially set up.
  14. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do I lock cells in Excel without the whole document becoming read only?
    How.com.vn English: Community Answer
    Community Answer
    I suppose you want to lock certain cells instead of the whole sheets. To do that, choose the whole sheet, right click and then select "Format Cells", then "Protection", then uncheck the "Locked" option and click okay. Then select the cells you want to lock, right click and select "Format Cells", then Protection; this time, check the "Locked" option and click okay. Now go back to the main tab, select "Review", then click on "Protect Sheet", and do whatever you want to do with it. Now only the cells you "locked" are protected from editing instead of the whole sheet.
  • Question
    How can I protract the single cell while using Excel?
    How.com.vn English: Community Answer
    Community Answer
    You cannot protract a single cell in Excel. You can, however, make it appear longer than the rest of the cells around it by "merging" two or more cells together. Highlight the cells you desire and right click. A menu will pop up allowing you to merge them.
  • Question
    How do I allow changes to some cells of a protected sheet?
    How.com.vn English: Community Answer
    Community Answer
    Select the whole worksheet by clicking the Select All button. On the Home tab, in the Font group, click the Format Cell Font dialog box launcher. On the Protection tab, clear the Locked box and then click OK.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      • If multiple users have access to your Excel document, lock all cells that contain important data or complex formulas to prevent the cells from being accidentally changed.
      • If the majority of cells in your Excel document contain valuable data or complex formulas, consider locking or protecting the entire document, then unlock the few cells that are allowed to be modified.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 258,599 times.
      How helpful is this?
      Co-authors: 6
      Updated: October 25, 2022
      Views: 258,599
      Categories: Microsoft Excel
      Article SummaryX

      1. Select the cells.
      2. Right-click the cells and select Format Cells.
      3. Click Protection.
      4. Check the ″Locked″ box and click OK.
      5. Click Review.
      6. Click Protect Sheet.
      7. Check ″Protect worksheet and contents of locked cells.″
      8. Enter a password and click OK.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 258,599 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement