Password-protecting a single sheet is different from protecting the whole file
When you password-protect an entire Excel file, nobody can open it without the password. When you password-protect a single sheet, the file opens normally, but that one sheet stays locked — readers can see it's there, but they can't edit the cells, change formulas, or delete rows unless they know the password.
Sheet protection is useful when you want to share a workbook with colleagues but keep one tab (say, a budget summary or a data source) from being accidentally changed. It's much faster to set up than file-level protection, and it doesn't require anyone to enter a password just to open the document.
Key Takeaways
- Sheet protection locks cells and formulas on one tab while leaving other sheets editable, and the file itself opens without a password.
- You turn on sheet protection in the Review tab (Windows) or Sheet menu (Mac), then create a password that readers must enter to unprotect the sheet.
- Before protecting a sheet, decide which cells should stay editable — you can unlock specific cells so they remain changeable even when the sheet is protected.
- Sheet protection is not encryption; someone with technical skill can remove it, so it's a safeguard against accidental changes, not against determined tampering.
- You can protect multiple sheets in the same workbook by repeating the process for each tab.
Unlock the cells you want to stay editable before protecting the sheet
By default, when you protect a sheet, every cell locks. If you want certain cells to remain editable — for example, a data-entry column or a comment box — you must unlock those cells first, then protect the sheet. Once the sheet is protected, only the unlocked cells can be changed.
Select the cells you want to keep editable. On Windows, right-click and choose Format Cells, then go to the Protection tab and uncheck the Locked box. On Mac, right-click, choose Format Cells, click the Protection tab, and uncheck Locked. Then protect the sheet — the cells you unlocked will remain editable, and all others will be frozen.
This step is optional. If you want the entire sheet locked with no exceptions, skip it and go straight to protecting the sheet.
Protect the sheet and set a password on Windows
Open the sheet you want to protect. Click the Review tab at the top of the ribbon. Look for the Protect Sheet button (it looks like a padlock) and click it.
A dialog box appears. You can leave the password field blank if you want — the sheet will still be protected, and anyone can unprotect it by clicking the same button and leaving the password field empty. If you want to require a password, type it in the Password to unprotect sheet field. Type it again in the confirmation field below. Click OK.
Excel will show you a list of what users can and cannot do on the protected sheet — they can select cells and copy them, but they cannot edit, delete, or insert rows or columns. These permissions are set by default and cannot be customized in the standard protection dialog. Click OK again, and the sheet is now protected.
Protect the sheet and set a password on Mac
Open the sheet you want to protect. Click the Sheet menu at the top of the screen. Select Protect Sheet.
A dialog box opens. Type a password in the Password field if you want one — again, this is optional. Type it again to confirm. Click OK. The sheet is now protected with the same default restrictions as Windows: users can select and copy, but cannot edit, delete, or insert.
What happens after you protect a sheet
Once a sheet is protected, anyone who tries to edit a locked cell will see a message saying the sheet is protected. If you set a password, they'll be prompted to enter it. Without the password, they cannot make changes.
You can still edit the sheet yourself — you don't need to enter the password. To unprotect it later, go back to the Review tab (Windows) or Sheet menu (Mac), click Protect Sheet again, and if you set a password, enter it. The sheet will unprotect when ready.
If you forget the password, there is no built-in recovery. You can unprotect the sheet only by entering the correct password or by using third-party tools, which may or may not work depending on the Excel version and the complexity of the protection.
Protect multiple sheets at once
If your workbook has several sheets and you want to protect all of them, you must protect each one individually — Excel does not have a "protect all sheets" button. However, you can use the same password for each sheet, which makes it easier to remember.
Go to each sheet tab, repeat the protection steps, and enter the same password each time. Readers will then need that one password to unprotect any of the sheets.
What sheet protection does and does not do
Sheet protection prevents accidental or casual changes. It stops someone from clicking a cell and typing over a formula, or deleting a row by mistake. It does not encrypt the sheet or hide the data — anyone can still see and copy everything on the sheet.
Sheet protection is also not tamper-proof. Someone with technical knowledge can remove it using password-cracking tools or by saving the file in an older format and unprotecting it there. If you need to keep data truly private or prevent determined tampering, use file-level password protection (which encrypts the entire workbook) instead of sheet protection.
Frequently Asked Questions
Can I protect a sheet without a password?
Yes. Leave the password field blank when you set up sheet protection. The sheet will still be locked, but anyone can unprotect it by clicking the Protect Sheet button again and leaving the password field empty. This is useful if you want to prevent accidental changes but don't need security against intentional ones.
What if I protect a sheet and then forget which cells I unlocked?
Unprotect the sheet (enter the password if you set one), then select all cells and check the Format Cells dialog to see which ones have the Locked box unchecked. Those are your unlocked cells. You can then re-protect the sheet with the same or a different password.
Can someone copy data from a protected sheet?
Yes. Sheet protection prevents editing, but it does not prevent copying. If you need to stop people from copying sensitive data, you must use file-level password protection instead, which encrypts the entire workbook.
Does protecting a sheet slow down Excel?
No. Sheet protection has no noticeable effect on file size or performance. The workbook will open and run at the same speed whether the sheet is protected or not.
Can I protect a sheet in Excel Online?
Excel Online does not have a built-in sheet protection feature. You must use the desktop version of Excel (Windows or Mac) to set up sheet protection. Once protected, the sheet will remain protected when you open the file in Excel Online, but you cannot change the protection settings there.