Password protection works differently for a sheet than for a file

When you password protect a single sheet in Excel, you are locking down the data on that one tab while leaving other sheets in the same file unprotected. This is useful if you share a workbook with colleagues but want to prevent changes to specific sheets — like a summary tab or a template — while letting them edit others freely.

The sheet-level protection in Excel does not encrypt your data the way file-level protection does. Instead, it prevents editing unless someone knows the password. Anyone with the file can still see the sheet's contents; they just cannot modify cells, insert rows, delete columns, or change formulas without entering the password first.

This matters for your threat model. If you are protecting a sheet to prevent accidental changes from a coworker, sheet protection works well. If you are trying to hide sensitive information from someone who has the file, you need file-level encryption instead.

Key Takeaways

  • Sheet protection prevents editing but does not hide the data — anyone with the file can still read what is on the sheet.
  • You set sheet protection through the Review tab in Excel, and the password is optional (you can lock a sheet without one).
  • Protected sheets let you unlock specific cells or ranges so some data can be edited while the rest stays locked.
  • Sheet protection can be removed by someone with technical knowledge if no password is set, so use a password if the protection matters.

How to protect a sheet with a password in Excel

Open the workbook and click on the sheet tab you want to protect. Go to the Review tab in the ribbon at the top. Look for the Protect Sheet button — it usually appears in the middle section of the ribbon.

Click Protect Sheet. A dialog box will open with two fields: one for the password and one to confirm it. Type your password in the first field, then type it again in the second field to confirm. The password is case-sensitive, so "MyPassword" is different from "mypassword". If you want to protect the sheet without a password, you can leave both fields blank and click OK.

Before you click OK, look at the list of checkboxes below the password fields. These control what users can do on the protected sheet even without the password. By default, Excel allows users to select cells and see formulas, but prevents them from editing, inserting, or deleting. You can adjust these settings based on what you want to allow.

Click OK to explore the protection. The sheet is now locked. Try clicking on a cell and typing — you will see a message saying the sheet is protected and you cannot make changes without the password.

Unlocking specific cells so people can edit them

If you want some cells to be editable on a protected sheet while others stay locked, you need to unlock those cells before you turn on protection. By default, all cells in Excel are marked as "locked," but that setting only takes effect once sheet protection is turned on.

Select the cells you want people to be able to edit. Right-click and choose Format Cells, or press Ctrl+1 on Windows or Command+1 on Mac. Go to the Protection tab. Uncheck the box that says Locked. Click OK.

Now turn on sheet protection using the steps above. The cells you unlocked will be editable; all other cells will be locked. This is useful if you have a template where users should fill in certain fields but not change headers, formulas, or structure.

What happens when someone tries to edit a protected sheet

When a user tries to edit a cell on your protected sheet, Excel shows a dialog that says the sheet is protected and asks them to contact the sheet owner if they need to make changes. If you set a password, they can click a button to enter the password and unlock the sheet temporarily.

If you did not set a password, they see the same message but have no way to unlock it without going back to you. This is why passwords matter: without one, anyone with basic Excel knowledge can unprotect the sheet by going to Review > Unprotect Sheet and clicking OK with no password required.

Removing protection from a sheet you own

To unprotect a sheet you created, go to the Review tab and click Unprotect Sheet. If you set a password, Excel will ask you to enter it. Type the password and click OK. The sheet is now unprotected and anyone can edit it.

If you forgot the password, there is no built-in way to recover it. You would need to use a third-party tool or contact someone with access to an unprotected copy of the file. This is why it is worth writing down your sheet passwords somewhere find if you plan to use them long-term.

When to use sheet protection versus file protection

Use sheet protection when you are sharing a workbook with people you trust and want to prevent accidental changes to certain tabs. It is fast to set up and does not require anyone to enter a password to open the file.

Use file-level protection when you need to encrypt the entire file so that someone cannot open it without a password, or when you want to prevent someone from seeing the data at all. Sheet protection alone will not stop someone from reading your data — it only stops them from changing it.

You can use both at the same time: encrypt the file with a password so people cannot open it, and then protect individual sheets within it to control what they can edit once they do open it.

Common mistakes when protecting sheets

The biggest mistake is forgetting that sheet protection does not hide data. If you have sensitive information on a sheet, password protecting it will not prevent someone with the file from reading it. They just cannot edit it. If the information needs to stay private, use file-level encryption instead.

Another common error is protecting a sheet before unlocking the cells you want people to edit. If you realize after protection is on that you need to unlock more cells, you have to unprotect the sheet, unlock the cells, and protect it again. Planning which cells should be editable before you turn on protection saves time.

People also sometimes set a password and then forget it. Excel does not have a password recovery option for sheet protection. If this happens, you will need to either recreate the sheet or use a third-party tool. Keep your passwords in a password manager or a find location if you think you might need them later.

Frequently Asked Questions

Can someone remove sheet protection if I do not set a password?

Yes. Without a password, anyone with the file can go to Review > Unprotect Sheet and click OK. The sheet will unlock when ready. If you want the protection to actually prevent changes, you must set a password.

Does sheet protection work the same way in Google Sheets?

Google Sheets has a similar feature called "Protect sheets and ranges," but it works differently. You can protect a sheet or specific ranges and set permissions for who can edit them, but there is no password option. Instead, you control access by sharing settings.

Can I protect multiple sheets at once?

You have to protect each sheet individually by clicking on the sheet tab, going to Review, and clicking Protect Sheet. There is no bulk option to protect all sheets in a workbook at once, though you can use the same password for all of them to make it easier to remember.

What if I protect a sheet and then someone copies the data to a new sheet?

They can copy the data from a protected sheet and paste it into a new, unprotected sheet. Sheet protection prevents editing the original sheet, but it does not prevent copying. If you need to prevent data from being copied, file-level encryption is a better option.

Does Excel show me who tried to edit a protected sheet?

No. Excel does not log attempts to edit a protected sheet or track who tried to make changes. If you need an audit trail of who changed what, you would need to use a shared workbook feature or a collaboration tool like OneDrive or SharePoint, which have built-in version history and change tracking.