Locking cells in Excel can help you protect your data from accidental or intentional changes. Here are the steps to lock cells in Excel:
- Select the cells you want to lock.
- Right-click on the selected cells and choose “Format Cells” from the menu.
- In the “Format Cells” dialog box, go to the “Protection” tab.
- Check the box next to “Locked” to lock the selected cells.
- Click “OK” to close the dialog box.
Now that you’ve locked the cells, you need to protect the worksheet to prevent anyone from making changes to the locked cells. Here’s how:
- Click on the “Review” tab in the ribbon.
- Click on “Protect Sheet” in the “Changes” group.
- In the “Protect Sheet” dialog box, you can set a password if you want to prevent others from unprotecting the sheet without permission.
- Make sure the “Protect worksheet and contents of locked cells” box is checked.
- Click “OK” to protect the sheet.
Now, only authorized users can edit the unlocked cells on the worksheet.