To unlock formulas in an Excel worksheet, you remove the protection that is preventing cells from being edited, or you clear the "Locked" cell attribute before protecting the sheet again. The fastest route is Review > Unprotect Sheet (you may need the password). If the sheet is not protected but cells still refuse edits, the issue is the cell formatting: select the cells, press Ctrl+1, open the Protection tab, and clear the Locked checkbox. Note that menu labels and dialog wording can differ slightly by Excel version, platform and region.

What You'll Need

  • Microsoft Excel on Windows, Mac, or Excel for the web (steps below note where they differ).
  • The password for the protected sheet or workbook, if one was set.
  • Edit permission on the file — a read-only file or a file opened from a locked location cannot be changed until that is resolved.

Step-by-Step

  1. Check whether the sheet is protected. Open the workbook and look at the Review tab. If you see Unprotect Sheet, protection is on. If you see Protect Sheet, the sheet is currently unprotected and the problem is cell locking, not sheet protection.
  2. Unprotect the sheet. Go to Review > Unprotect Sheet. If a password was set, type it in the dialog and confirm. In Excel for the web, the command appears on the Review tab as well; if the file is protected with a password you do not have, the web version cannot remove it — open it in the desktop app instead.
  3. Unprotect the workbook structure if needed. If you cannot add, delete, rename or move sheets, the workbook structure is protected. Use Review > Protect Workbook and turn it off (password required if set). This is separate from sheet protection.
  4. Clear the Locked attribute on the formula cells. Select the cells containing the formulas. Press Ctrl+1 (Cmd+1 on Mac) to open Format Cells, go to the Protection tab, and untick Locked. Click OK. This matters because cell locking has no effect until the sheet is protected again — but it will block edits the moment protection is reapplied.
  5. Allow selection and editing of locked cells, if you want to keep protection on. With the sheet protected, go to Review > Protect Sheet and review the options. Tick Select locked cells and Select unlocked cells as needed, and choose the specific actions you want to permit. This lets users view formulas without changing them.
  6. Re-protect the sheet. When your edits are done, return to Review > Protect Sheet, set a password if required, and confirm. Only the cells you left unlocked will now be editable.
  7. Verify the result. Click a formula cell and try typing. If the formula bar shows the formula and you can edit it, the unlock worked. If you get a protection warning, recheck steps 2 and 4.

Common Mistakes

  • Unlocking cells but leaving the sheet protected. Protection overrides cell formatting, so the cells stay locked until you unprotect the sheet.
  • Clearing Locked while the sheet is still protected. Excel will not let you change formatting on a protected sheet. Unprotect first, then change the attribute.
  • Confusing sheet protection with workbook protection. They are separate commands on the Review tab and control different things.
  • Forgetting that hidden formulas stay hidden. If formulas are hidden via Format Cells > Protection > Hidden, unhiding them requires unprotecting the sheet first.
  • Assuming a read-only file is protected. A file marked read-only or opened from a shared location cannot be edited regardless of protection settings.

Tips

  • Keep a record of protection passwords in a secure place; Excel passwords cannot be recovered by Microsoft support.
  • Use Allow Users to Edit Ranges (Review tab, available when the sheet is protected) to let specific people edit specific ranges without giving them the full password.
  • Before making bulk changes, save a copy of the workbook so you can revert if a formula is accidentally overwritten.
  • On Mac, the same commands live on the Review tab; keyboard shortcuts use Cmd instead of Ctrl.

Troubleshooting

  • Unprotect Sheet is greyed out. The workbook may be open in read-only mode, marked as final, or protected at the workbook level. Check the title bar for "Read-Only" and use File > Info to review protection status.
  • You do not know the password. Excel does not offer a recovery option. Ask the person who set it, or restore an unprotected backup copy if one exists.
  • Cells still will not edit after unprotecting. Check whether the workbook is shared or the file is locked by another user. Close and reopen the file, or copy the sheet into a new workbook.
  • Formulas show as text instead of calculating. The cell may be formatted as Text. Change the format to General, then re-enter the formula.
  • Changes do not stick in Excel for the web. Some protection features require the desktop app. Open the file in Excel on Windows or Mac to make the change, then save.

Frequently Asked Questions

Can I unlock formulas without the password?

No. If a sheet or workbook is password-protected, Excel requires that password to remove protection. There is no official bypass.

Does unlocking a cell expose my formulas to other users?

Only if the Hidden attribute is also cleared. Unlocking a cell lets users edit it; hiding a formula is a separate setting on the Protection tab.

Why can I edit some cells but not others on a protected sheet?

Those cells were left unlocked before protection was applied. Locked cells are the ones that block edits.

Is sheet protection the same as file encryption?

No. Sheet protection prevents editing of cells and structure; encryption (File > Info > Protect Workbook) restricts who can open the file at all.

Can I unlock formulas in Excel for the web?

You can unprotect a sheet without a password in the web version. Password-protected sheets generally need the desktop app.

Will unprotecting a sheet break my formulas?

No. Unprotecting only changes editing permissions; the formulas themselves remain intact unless you overwrite them.