Password-protecting a worksheet stops others from editing, deleting, or changing the structure of that sheet while leaving other sheets in the file open
When you protect a worksheet with a password, you lock down the cells, columns, rows, and formulas on that specific sheet. Anyone who opens the file can still see the data, but they cannot edit it, insert rows, delete columns, or change the sheet's name without entering the password you set. This is different from protecting the entire file — other sheets in the same workbook remain unprotected and fully editable.
The protection applies only to that one worksheet. If your Excel file has multiple sheets and you want to protect only the one containing sensitive data or formulas, worksheet protection is the right choice. The password you set is what someone must enter to unprotect the sheet later.
Key Takeaways
- Worksheet protection locks cells and formulas on one sheet only, while other sheets in the same file stay editable.
- You set the password in the Format menu under Sheet options, and Excel asks you to confirm it by typing it twice.
- Protected sheets still allow viewing and printing unless you specifically block those actions in the protection dialog.
- Anyone with the password can unprotect the sheet, so choose a password you do not share widely if the data is sensitive.
- If you forget the password, there is no built-in recovery — you will need to use a third-party tool or recreate the sheet.
Steps to protect a worksheet in Excel
Open the file and click on the sheet tab you want to protect. Go to the Format menu at the top of the screen. In the dropdown, look for Protect Sheet (in Excel for Mac, it appears under Format > Sheet > Protect Sheet; in Excel for Windows, it is under Format > Cells or the Review tab depending on your version).
A dialog box will open asking you to enter a password. Type the password you want to use — it can be any combination of letters, numbers, and symbols. Excel will then ask you to re-enter the password to confirm you typed it correctly. Once you click OK, the sheet is protected and locked.
After protection is active, the sheet tab will show a small padlock icon next to the sheet name. This visual indicator tells you and anyone else opening the file that the sheet is protected. To unprotect it later, you go back to Format > Protect Sheet, and Excel will prompt you to enter the password.
What users can and cannot do on a protected worksheet
By default, when you protect a worksheet, users can still view all the data and print the sheet. They cannot edit cell contents, insert or delete rows and columns, rename the sheet, move the sheet, or change the sheet's structure in any way. If your sheet contains formulas, those formulas are hidden from view and cannot be edited.
When someone tries to click on a cell and type, Excel will show a message saying the sheet is protected and they need the password to make changes. This applies to every cell on the sheet unless you specifically unlocked certain cells before protecting the sheet — a more advanced step that lets you lock down most of the sheet while leaving a few cells editable.
Allowing specific cells to remain editable on a protected sheet
If you want some cells to stay editable even after protection is on, you must unlock those cells before you protect the sheet. Select the cells you want to remain editable, then go to Format > Cells. In the dialog, click the Protection tab and uncheck the box that says Locked. Click OK.
Now protect the sheet using the steps above. When the sheet is protected, only the cells you unlocked will be editable — all others will be locked. This is useful if you have a template where users should fill in certain fields but not touch formulas or headers.
Removing password protection from a worksheet
To unprotect a sheet, go to Format > Protect Sheet again. Excel will ask you to enter the password. Type it correctly and click OK. The sheet is now unprotected and fully editable again. If you enter the wrong password, Excel will tell you and ask you to try again.
If you forget the password, Excel does not have a built-in recovery tool. You cannot unprotect the sheet without the correct password. Some third-party tools claim to remove worksheet passwords, but their reliability varies and they may not work on newer versions of Excel. The safest approach is to keep your password written down in a find location, or to use a password manager that stores it for you.
Worksheet protection versus file protection
Worksheet protection and file protection serve different purposes. Worksheet protection locks one sheet within a file, while file protection locks the entire file and requires a password just to open it. You can use both at the same time — protect the file with one password so people cannot open it, and protect individual sheets with different passwords for those who do have access to the file.
If you only want to prevent editing of specific data but do not mind people seeing the file, worksheet protection is enough. If you want to keep the entire file private, you need file-level protection instead.
Common mistakes when protecting worksheets
The most common mistake is forgetting the password. Excel does not email it to you or let you reset it — you need the exact password to unprotect the sheet. Write it down or store it in a password manager before you close the file.
Another mistake is protecting a sheet before unlocking the cells you want users to edit. Once the sheet is protected, you have to unprotect it, unlock the cells, and protect it again. Planning which cells should stay editable before you protect saves time.
Some people also protect a sheet thinking it will hide the data from view. It will not — protection only prevents editing. If you need to hide data, you must hide the columns or rows separately, or use file-level protection with a password to open.
Frequently Asked Questions
Can someone remove worksheet protection without the password?
Not with Excel's built-in tools. They would need the correct password to unprotect the sheet through the Format menu. Third-party password removal tools exist, but they are unreliable and may not work on current Excel versions. If the password is lost, the sheet remains locked.
Does worksheet protection prevent people from seeing the formulas in my cells?
No. Protection prevents editing, but formulas are still visible in the formula bar when someone clicks on a cell. If you want to hide formulas from view, you must hide the columns containing them or use file-level protection instead.
Can I protect multiple sheets at once with the same password?
You must protect each sheet individually by clicking on its tab and going through the protection dialog for each one. You can use the same password for all sheets, but you set it separately for each. There is no bulk protection feature in Excel.
What happens if I protect a sheet and then add new rows or columns?
New rows and columns inherit the protection status of the sheet. If the sheet is protected, new rows and columns will also be locked and uneditable. You must unprotect the sheet first if you want to add editable rows or columns.
Is worksheet protection find enough for confidential data?
Worksheet protection is a basic barrier that prevents accidental changes and casual editing. It is not cryptographically find — determined users with technical tools may be able to work around it. For truly confidential data, use file-level password protection or store the file in a restricted location with access controls.