Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Unprotect a Cell in Excel

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To unprotect a cell in Excel, you must first unprotect the worksheet that contains it, because individual cells cannot be unlocked while sheet protection is active. The quickest path is Review > Unprotect Sheet (or Review > Protect > Unprotect Sheet on some versions), enter the password if one was set, then select the cell, press Ctrl+1 (or right-click > Format Cells), open the Protection tab, and clear the Locked checkbox. Re-protect the sheet afterward so the rest of your work stays safe. If you do not know the password, you cannot remove protection through normal Excel menus; the only legitimate options are to ask the file's author or restore an unprotected copy.

What You'll Need

  • Excel for Windows, Mac, or Excel for the web (the menu labels differ slightly by version, device, and region).
  • The password for the worksheet, if one was set when protection was applied.
  • Edit permission on the file. If the workbook is stored on a shared drive or in a collaboration service, you may need the owner to grant edit access first.

Step-by-Step

  1. Open the workbook and go to the sheet that contains the cell. Cell-level locking only takes effect when the worksheet is protected, so work on the correct tab.
  2. Unprotect the worksheet. On Windows and Mac, go to the Review tab and choose Unprotect Sheet. In some versions the command sits under Review > Protect. If a password was set, type it in the dialog and confirm. If no password was used, the sheet unprotects immediately.
  3. Select the cell you want to unlock. Click it once. If you need several cells, hold Ctrl and click each one, or drag across a range. You can also select non-adjacent ranges with Ctrl.
  4. Open the Format Cells dialog. Press Ctrl+1 on Windows (Cmd+1 on Mac), or right-click the cell and choose Format Cells.
  5. Go to the Protection tab. Clear the Locked checkbox. Leave Hidden unchecked unless you also want the formula to be invisible when the sheet is protected again.
  6. Click OK. The cell is now unlocked, but the change only matters once you protect the sheet again.
  7. Re-protect the worksheet. Return to Review and choose Protect Sheet. Set a password if you want, choose which actions remain allowed (for example, selecting locked cells), and confirm. Test by typing in the unlocked cell and trying to edit a locked one.

If you are unlocking many cells at once, select the whole range before opening Format Cells, then clear Locked once. To unlock every cell on the sheet, click the Select All button (the small square at the top-left corner of the grid) and clear Locked. Be aware that this removes protection from formulas and headers too, so re-protect and re-lock the sensitive areas afterward.

Common Mistakes

  • Clearing Locked while the sheet is still protected. Excel will not let you change the Locked setting on a protected sheet. Unprotect first, then edit the cell formatting.
  • Forgetting to re-protect. Unlocking a cell leaves the whole sheet open until you turn protection back on. Re-protect as soon as you finish.
  • Confusing workbook protection with sheet protection. Workbook structure protection stops sheets from being added, deleted, or renamed; it does not lock cells. You may need to remove both.
  • Assuming Locked means the cell is currently protected. Locked is a formatting attribute that only takes effect when the sheet is protected. An unlocked cell on an unprotected sheet behaves the same as a locked one.
  • Using the Hidden option by accident. Hidden hides formulas when the sheet is protected. If you clear Locked but leave Hidden ticked, the formula stays invisible after re-protection.
  • Editing a shared or read-only file. If the workbook opens as read-only, protection commands may be greyed out. Save a copy you can edit, or ask the owner for edit access.

Tips

  • Before changing protection, make a copy of the workbook. Protection changes are easy to reverse, but a backup protects you from accidental edits to formulas or formatting.
  • Use Allow Users to Edit Ranges (Review > Allow Edit Ranges) when you want specific people to edit specific cells without unprotecting the whole sheet. This is more secure than leaving cells unlocked for everyone.
  • Keep a record of passwords in a secure place. Excel passwords cannot be recovered through normal menus.
  • If you only need to unlock a few input cells, unlock them first, then protect the sheet and leave the default options that allow selecting locked cells.
  • On Excel for the web, protection options are limited compared with the desktop app. For full control over cell locking, use the desktop version.

Troubleshooting

The Unprotect Sheet command is greyed out. The sheet may already be unprotected, the workbook may be read-only, or the file may be protected at the workbook level. Check the title bar for "Read-Only," save a copy, and look under Review for Protect Workbook.

Excel asks for a password you do not have. There is no built-in way to bypass a worksheet password. Ask the person who created the file, restore an earlier unprotected copy from version history or backup, or rebuild the sheet from the data. Do not use third-party password-removal tools on files you do not own.

The Locked checkbox will not change. The sheet is still protected. Unprotect it first, then reopen Format Cells.

You unlocked the cell but still cannot type in it. The sheet was re-protected without allowing the action you need, or the cell is part of a merged range or a table with its own restrictions. Unprotect again, check the Protect Sheet options, and review merged cells.

The file is shared and others are editing. In co-authoring, protection changes may be blocked while others have the file open. Ask them to close it, or work on a copy.

Frequently Asked Questions

Can I unprotect just one cell without unprotecting the whole sheet?

No. Cell locking is enforced by sheet protection, so you must unprotect the sheet, change the cell's Locked setting, then protect the sheet again. Allow Edit Ranges is the closest alternative for letting specific users edit specific cells.

What is the difference between Locked and Hidden?

Locked prevents editing when the sheet is protected. Hidden hides the formula in the formula bar when the sheet is protected. Both are set on the Protection tab of Format Cells.

Does unprotecting a sheet remove the password?

Unprotecting removes protection for the current session. If you re-protect without a password, the sheet is no longer password-protected. If you re-protect with a password, that new password applies.

Can I recover a lost worksheet password?

Not through Excel's normal menus. Contact the file's author, restore an unprotected backup or version, or rebuild the sheet. Avoid unofficial password-removal tools, especially on files you did not create.

Why can I still not edit the cell after unlocking it?

The sheet is probably still protected, the cell may be merged, or the workbook may be read-only. Unprotect the sheet, unmerge if needed, and confirm you have edit access to the file.

Does unprotecting a cell work the same on Mac and Excel for the web?

The steps are similar, but menu labels and available options vary by version and platform. Excel for the web has fewer protection controls; use the desktop app for full cell-level locking.