
How to lock or unlock cells in Excel?
In Microsoft Excel 2007 or later versions like Excel 2019, we want to protect few cells only in a worksheet, then how to do it?
Solution: There are two situations to lock cells in excel depending on these reasons.
- If You Want the Majority of Cells Locked
- If You Want the Majority of Cells Unlocked
They are explained as follows:-
A. If You Want the Majority of Cells Locked:
- Select the cells that you want to remain unprotected. To select nonadjacent (non-contiguous) cells, hold down CTRL and click the cells that are to remain unprotected.
(Image 1)
- On Excel 2007 or later, make right click on any selected cell and select FORMAT-CELL, and then click ProtectionClick to clear the Locked check box and click OK.
(Image 2)
- In Excel 2007 or later, click the Review tab, and click Protect Type a password if you want one, and then click OK.
(Image 3)
B. If You Want the Majority of Cells Unlocked:
To leave the majority of the cells on the worksheet unlocked, follow these steps:
- Select the entire worksheet by clicking the Select All button (the gray rectangle in the upper-left corner of the worksheet where the row 1 and column A headings meet), or by pressing CTRL+A.
(Image 4)
- On Excel 2007 or later, make right click on any selected cell and select FORMAT CELL, and then click Protection.Click to clear the Locked check box and click OK.
(Image 5)
- Select the cells that you want to protect. To select nonadjacent (non-contiguous) cells, hold down CTRL and click the cells that you want to protect.
Return to the Format Cells dialog box, and then click the Protection tab. Click to select the Locked check box, and then click OK.
(Image 6)
- In Excel 2007 or later, click the Review tab, and click Protect Sheet. Type a password, if you want one, and then click OK.
(Image 7)
If you find this information helpful then check out our latest Excel Dashboard Course to learn more about excel & dashboard. In this training, you get lifetime access videos with the latest updates and more.
To get better insights on Excel, check out these sections:
Advanced Excel Tutorials & Free online Excel courseshow to lock cells in excel 2010how to lock cells in excel formulahow to lock cells in excel 2007how to lock cells in excel when scrollinghow to lock cells in excel maclock cells in excel shortcuthow to lock cells in excel so they don’t move when you scrollhow to unlock cells in excelhow to protect cells in excel 2010 without protecting sheethow to lock a cell in excel formulahow to protect a worksheet in excelhow to protect cells in excel 2010 youtubehow to lock cells in google sheetshow to lock specific cells in excellock multiple cells in excel f4 $lock formula in excel shortcuthow to keep a cell fixed in excel formulahow to lock formulas in excel machow to lock cells in excel 2007 without protecting sheethow to lock cells in excel 2007 with passwordhow to lock cells in excel 2007 with formulahow to lock specific cells in excel 2007how to lock cells in excel 2016freeze row and column in excelkeep row headings in excel when scrollinghow to freeze a row in excel machow to freeze rows and columns at the same time in excelhow to freeze panes in excel 2016how to freeze rows and columns at the same time in excel 2007how to freeze columns in excel 2010how to freeze second row in excelhow to lock specific cells in excel machow to fix a cell in a formula excel macmac excel $ shortcuthow to anchor a cell in excel machow do you make a cell absolute in excel for machow to freeze cells in excellock function in excel machow to lock columns in excelshortcut to lock cells in excel windowsshortcut to lock cells in excel for macexcel absolute reference shortcut macexcel shortcutsexcel absolute reference shortcut multiple cellshow to freeze rows and columns in excelexcel freeze panes not workinghow to unlock cells in excel without passwordhow to unlock cells in excel maccan i protect certain cells in excel