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.
Steps
-
Open the Excel spreadsheet that contains the cells you want locked.
-
Select the cell or cells you want locked.Advertisement
-
Right-click on the cells, and select "Format Cells."
-
Click on the tab labeled "Protection."
-
Place a checkmark in the box next to the option labeled "Locked."
-
Click "OK."
-
Click on the tab labeled "Review" at the top of your Excel spreadsheet.
-
Click on the button labeled "Protect Sheet" from within the "Changes" group.
-
Place a checkmark next to "Protect worksheet and contents of locked cells."
-
Enter a password in the text box labeled "Password to unprotect sheet."
-
Click on "OK."
-
Retype your password into the text box labeled "Reenter password to proceed."
-
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.
-
Open the Excel document that contains the cell or cells you want to lock.
-
Select one or all of the cells you want locked.
-
Right-click on your cell selections, and select "Format Cells" from the drop-down menu.
-
Click on the "Protection" tab.
-
Place a checkmark next to the field labeled "Locked."
-
Click the "OK" button.
-
Click on the "Tools" menu at the top of your Excel document.
-
Select "Protection" from the list of options.
-
Click on "Protect Sheet."
-
Place a checkmark next to the option labeled "Protect worksheet and contents of locked cells."
-
Type a password at the prompt for "Password to unprotect sheet," then click "OK."
-
Reenter your password at the prompt for "Reenter password to proceed."
-
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.
Community Q&A
-
QuestionHow do I lock cells in Excel without the whole document becoming read only?Community AnswerI 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.
-
QuestionHow can I protract the single cell while using Excel?Community AnswerYou 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.
-
QuestionHow do I allow changes to some cells of a protected sheet?Community AnswerSelect 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.
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.Thanks
- 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.Thanks
About This Article
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
.