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
    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
    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
    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
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Password Protect an Excel Spreadsheet Password Protect a Microsoft Excel Spreadsheet
Freeze (Lock in Place) a Cell in ExcelFreeze (Lock in Place) a Cell in Excel
Set, Reset, Remove and Recover the Password of Excel FilesSet, Reset, Remove and Recover the Password of Excel Files
Freeze Cells in Excel3 Easy Ways to Freeze Panes to Lock Columns or Rows in Excel
Freeze More than One Column in ExcelFreeze More than One Column in Excel
Unprotect an Excel SheetUnprotect an Excel Sheet
Freeze and Unfreeze Panes in ExcelFreezing and Unfreezing Panes in Excel: An Easy DIY Guide
Create a Form in a Spreadsheet Create a Form in Excel: Step-by-Step Guide
Password Protect a Microsoft Word DocumentEasy Ways to Encrypt Your Sensitive Word Documents with a Password
Open a Password Protected Excel File Open a Password Protected Excel File: 2 Simple Ways
Format a Cell in Microsoft ExcelEasy Steps to Change the Format of a Cell in Microsoft Excel
Hide Columns in ExcelHide Columns in Excel
Freeze Panes in Excel Both Horizontally and Vertically Freeze Panes in Excel Both Horizontally and Vertically
Edit Data in Microsoft Excel3 Simple Ways to Edit Data in MS Excel
Advertisement

About This Article

wikiHow 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 268,574 times.
How helpful is this?
Co-authors: 6
Updated: October 25, 2022
Views: 268,574
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 268,574 times.

Is this article up to date?

Advertisement