PDF download Download Article PDF download Download 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

PDF download Download Article
  1. Advertisement
  2. 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.
  3. Advertisement
Method 2
Method 2 of 2:

Locking and Protecting Cells: Excel 2003

PDF download Download Article
  1. 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.
  2. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do I lock cells in Excel without the whole document becoming read only?
    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?
    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?
    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
      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

      Article Summary X

      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 260,874 times.

      Is this article up to date?

      Advertisement