Password-protecting one sheet instead of the whole file
If you share an Excel workbook with others but want to lock down only certain sheets, you can password-protect individual sheets while leaving others open for editing. This is different from protecting the entire file — it lets you control who can change specific data while keeping the rest of the workbook accessible.
The process is straightforward in Excel on Windows, Mac, and the web version. You set a password on the sheet itself, and anyone trying to edit that sheet's cells, delete rows, or change formatting will be stopped unless they enter the correct password. The sheet remains visible — people can read it, copy values from it, and see formulas — but they cannot modify it without the password.
Key Takeaways
- Sheet protection in Excel stops people from editing cells, deleting rows, or changing formatting on that specific sheet, but does not hide the sheet or its contents.
- You set sheet protection through the Review tab (Windows) or Tools menu (Mac), and you can choose which actions to allow or block for unprotected users.
- The password protects the sheet structure, not the file itself — someone could still copy data out or take a screenshot unless you also protect the workbook.
- If you forget the password, there is no built-in recovery; you will need to remove protection using a third-party tool or recreate the sheet without protection.
How to protect a sheet on Windows 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, often with a lock icon next to it.
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". Leave the password fields blank if you want to protect the sheet without requiring a password — anyone can unprotect it, but it prevents accidental changes.
Below the password fields, you will see a checklist of actions. By default, most boxes are unchecked, which means users cannot do those things without the password. Common locked actions include "Edit objects", "Edit scenarios", and "Format cells". If you want to let people do something specific — like sort data or insert rows — check that box. Click OK when you are done. The sheet is now protected.
How to protect a sheet on Mac Excel
Click on the sheet tab you want to protect. Go to the Tools menu at the top of the screen and select Protect Sheet. A dialog will appear asking for a password.
Type your password and confirm it by typing it again. As on Windows, the password is case-sensitive. You can leave both fields blank if you want to protect the sheet without a password requirement. Click OK. The sheet is now protected with the same restrictions as Windows — users cannot edit cells, delete rows, or change formatting without entering the password.
How to protect a sheet in Excel online
Excel online (the browser version) has more limited protection options than the desktop versions. Click on the sheet tab you want to protect, then go to the Review tab. Click Protect Sheet.
Enter a password and confirm it. Excel online does not show you the detailed checklist of what users can or cannot do — it applies a standard set of restrictions. Click OK. The sheet is protected, but keep in mind that Excel online protection is lighter than desktop protection. If security is critical, use the desktop version instead.
What sheet protection actually blocks and allows
When you protect a sheet, you are preventing specific actions without a password. Users can still read all the data, see formulas in the formula bar, and copy cell values to paste elsewhere. They cannot edit cells, delete or insert rows or columns, delete the sheet itself, or change cell formatting.
If you checked the box for "Sort" or "Filter" during setup, users can sort and filter the data even though they cannot edit it. This is useful if you want people to analyze data without changing it. If you left those boxes unchecked, users cannot sort or filter either.
Sheet protection does not hide the sheet or its contents. If you need to hide sensitive data completely, you would need to hide the sheet itself (a separate action) or use workbook protection to prevent people from unhiding it. Sheet protection alone is not enough to keep data secret — it only prevents editing.
The difference between sheet protection and workbook protection
Sheet protection locks down a single sheet. Workbook protection locks down the structure of the entire workbook — it prevents people from adding new sheets, deleting sheets, renaming sheets, or unhiding hidden sheets. You can use both at the same time.
If you protect a sheet but not the workbook, someone could delete the entire sheet (if they have permission to delete sheets) or copy the sheet to a new workbook and unprotect it there. If you protect the workbook, they cannot delete or move sheets without the password. For most situations, sheet protection alone is enough. Use workbook protection if you need to prevent people from restructuring the file itself.
What to do if you forget the sheet password
Excel does not have a built-in password recovery tool for sheet protection. If you forget the password, you cannot unprotect the sheet through Excel itself. Your options are limited: you can recreate the sheet without protection, use a third-party tool designed to remove Excel sheet protection (search for "remove Excel sheet protection"), or contact whoever set the password if it was not you.
Third-party tools vary in reliability and cost. Some are free, others charge a fee. Before using any tool, make sure it comes from a trusted source and scan it for malware. If the sheet contains sensitive data, be cautious about uploading files to online tools — keep the file on your computer instead.
Frequently Asked Questions
Can I protect some cells but not others on the same sheet?
Not directly through sheet protection alone. Sheet protection locks the entire sheet. However, you can unlock specific cells before protecting the sheet, then allow users to edit only those unlocked cells. Right-click the cells you want to leave editable, select Format Cells, go to the Protection tab, and uncheck "Locked". Then protect the sheet. Users can edit only the unlocked cells.
If I protect a sheet with a password, can someone still copy data from it?
Yes. Sheet protection prevents editing, but it does not prevent copying. Users can select cells, copy them, and paste them into another file. If you need to prevent copying, you would need to hide the sheet or use workbook protection to prevent access entirely, but sheet protection alone does not stop copying.
Does protecting a sheet slow down Excel or affect file size?
No. Sheet protection adds almost no overhead to the file. The password is stored as part of the sheet's properties, and it does not noticeably affect performance or file size.
Can I protect a sheet with a password and then share the password with multiple people?
Yes, but you lose the ability to track who made changes. Once the password is out, anyone with it can unprotect the sheet. If you need to know who edited what, use Excel's track changes feature instead, or use workbook sharing with version history (in Excel online or Microsoft 365).
What happens if someone tries to edit a protected sheet?
They will see a dialog box saying the sheet is protected and asking for a password. If they do not enter the correct password, the edit is blocked and nothing changes. They can try again, but there is no limit on attempts — they can keep guessing.