To unlock cells for editing in Excel on Windows or Mac, select the worksheet and choose Review > Unprotect Sheet, then enter the password if requested. To leave only selected cells editable, clear their Locked setting under Format Cells > Protection, then protect the sheet again.
The desktop steps apply to Excel for Microsoft 365 and Excel 2024 on Windows and Mac. Excel for the web and supported versions of Excel for iPad use separate protection controls.
The short version
- Edit the whole sheet: Choose Review > Unprotect Sheet and supply the password when requested.
- Keep some cells protected: Clear Locked for selected cells before applying Protect Sheet again.
- Open cell settings quickly: Press Ctrl + 1 on Windows or Command + 1 on Mac.
- Use browser controls: Open Review > Manage Protection to manage editable ranges or turn off sheet protection.
| What you need | Where to start | What it changes |
|---|---|---|
| Edit a protected desktop sheet | Review > Unprotect Sheet | Removes worksheet protection after any required password |
| Unlock selected Windows cells | Home > Format > Format Cells | Leaves selected cells editable after you protect the sheet again |
| Unlock every cell on Windows | Select All, then Protection | Lets you unlock all cells and optionally lock exceptions |
| Unlock selected Mac cells | Format > Cells > Protection | Leaves selected cells editable after you protect the sheet again |
| Configure a Windows editing range | Review > Allow Edit Ranges | Adds or modifies an editable range with an optional password |
| Define editable browser ranges | Manage Protection > Unlocked ranges | Allows range editing while retaining protection elsewhere |
| Remove browser sheet protection | Manage Protection > Protect sheet | Turns off worksheet protection |
| Temporarily edit in the browser | Review > Pause Protection | Pauses protection for your editing session |
| Switch from browser viewing | Editing or Open in Desktop | Uses your edit permission or opens installed desktop Excel |
| Temporarily edit on iPad | Protection > Pause Sheet Protection | Pauses protection until you resume it |
| Adjust editable ranges on iPad | Protection > Manage Sheet Protection | Changes editable ranges and protection |
| Edit a trusted file in Protected View | Enable Editing or File > Edit Anyway | Enables file editing without removing sheet protection |
| Resolve an organizational editing policy | Your administrator | Reviews the policy blocking exit from Protected View |
| Clear a Windows file attribute | Properties > Read-only | Changes file writability without changing cell protection |
| Edit a workbook marked final | Protect Workbook > Mark as Final | Removes the final designation |
| Request shared workbook access | Viewing > Request more access | Asks the owner for editing permission |
| Release a collaboration lock | Close the workbook wherever it is already open | Allows the server to release the file lock |
| Edit directly inside an editable Windows cell | File > Options > Advanced | Enables direct cell editing without unlocking protected cells |
| Reuse unlocked formatting on Windows | Home > Cell Styles | Applies a custom style that includes the unlocked setting |
| Make an Android copy of a locked file | File or the file icon > Save As | Creates a separate file where permitted |
| Make an iPad copy of a locked file | File icon > Name or Duplicate | Creates a separate file without stripping sheet protection |
Remove worksheet protection to start editing
On Windows, select the worksheet you want to edit, then choose Review > Unprotect Sheet. Enter the password if prompted and select OK. You can also use File > Info > Protect > Unprotect Sheet.
On Mac, select the protected worksheet and choose Review > Unprotect Sheet, then supply the sheet password when requested. If you want only certain cells editable while the rest remain protected, change those cells’ protection settings before protecting the worksheet again.
Unlock selected cells on Windows
With the worksheet unprotected, select the cells, rows, or columns you want to make editable. Choose Home > Format > Format Cells, then open the Protection tab. Clear Locked and select OK.
You can also open the same settings by selecting the cells and pressing Ctrl + 1, or by right-clicking the selection and choosing Format Cells. Open Protection, clear Locked, and select OK.
To retain protection elsewhere, choose Review > Protect Sheet after changing the selected cells. This Windows workflow also works for cells linked to worksheet controls.
Unlock every cell and protect selected exceptions
On Windows, unprotect the sheet first, then click Select All at the upper-left corner of the grid. Press Ctrl + 1, open Protection, clear Locked, and select OK. You can also open these settings with Ctrl + Shift + F or Home > Font Settings.
If you want to protect selected exceptions, select those cells and reopen Protection. Select Locked, then select OK. Finish with Review > Protect Sheet to protect those exceptions while leaving the other cells editable.
Make selected cells editable on Mac
Unprotect the worksheet through Review > Unprotect Sheet and supply the password if requested. Select the cells or range you want editable, then choose Format > Cells > Protection. Clear Locked and select OK.
To open the cell settings another way, press Command + 1 or right-click the selected cells and choose Format Cells. Open Protection, clear Locked, and select OK.
To retain protection on the rest of the sheet, choose Review > Protect Sheet. Select Select unlocked cells, then select OK.
Allow editing in a range with its own password
On Windows, unprotect the worksheet, then choose Review > Allow Edit Ranges > New. Fill in Title and Refers to cells to identify the range.
If you want a password for that range, fill in Range password. Select OK and repeat the password if requested, then select Protect Sheet. This lets you permit range editing while retaining worksheet protection.
Unlock cells in Excel for the web
Where worksheet protection is available in Excel for the web, choose Review > Manage Protection. To remove protection from the sheet, turn off Protect sheet. To retain protection while allowing edits in specific cells, open Unlocked ranges and enter a range name and cell range instead.
For an editable range, you can optionally select Range password. Enter and repeat the password, then select Save. Keep Protect sheet enabled when you want protection to remain outside the editable ranges.
For temporary editing, choose Review > Pause Protection and enter the sheet password if required. Edit the cells, then choose Review > Resume Protection. Other users retain protection while it is paused for your session.
If you have edit permission but are viewing the workbook, select Editing. To use the Windows or Mac protection controls, select Open in Desktop and follow the matching desktop steps. That handoff requires an installed Excel desktop application.
Pause or manage protection on iPad
In Excel for iPad version 2.90.930.0 or later, you can use these controls when the sheet protection feature is available. Choose Review > Protection, or tap the locked sheet tab and choose Protection…. Select Pause Sheet Protection and supply the password if requested.
Edit the cells, then select Resume Sheet Protection. To adjust editable ranges instead, open the same protection controls and select Manage Sheet Protection. Use its controls to add or edit editable ranges and adjust protection.
Fix other restrictions that block editing
For a Windows workbook you trust that opens in Protected View, select Enable Editing on the yellow message bar. For the red message bar, choose File > Edit Anyway. These actions enable file editing but do not remove worksheet protection.
If your managed Windows installation prevents you from leaving Protected View, ask your administrator to review the policy blocking it. Microsoft says organizational policy can prevent you from enabling editing.
To clear a Windows file’s read-only attribute, right-click the workbook file and choose Properties. Clear Read-only, select OK, then reopen the workbook. This changes file writability without changing cell protection.
If the Windows workbook is marked final, choose File > Info > Protect Workbook > Mark as Final to deselect that setting. Editing becomes available unless another restriction also applies.
For a shared workbook that offers the access-request controls, choose Viewing > Request more access > Ask to edit. Add a note if needed and send the request. The owner must grant access, and that permission does not remove worksheet protection.
If a file is locked for editing on Windows or Mac, close the workbook on your other devices and allow the server a few minutes to release the lock. If another person holds the lock, ask them to close or check in the file. For simultaneous editing, use compatible coauthoring clients and store the workbook in OneDrive or SharePoint in Microsoft 365.
Frequently Asked Questions
Why can’t I edit directly inside an unlocked cell?
In Excel for Microsoft 365 or Excel 2024 on Windows, open File > Options > Advanced. Under Editing options, select Allow editing directly in cells, then select OK. To edit an editable cell, double-click it, press F2, or select its contents in the formula bar. These actions do not unlock a protected cell.
Can I reuse the same unlocked cell formatting?
On an unprotected sheet in Excel for Microsoft 365 or Excel 2024 for Windows, choose Home > Cell Styles > New Cell Style. Enter a Style name, select Format > Protection, clear Locked, then select OK and OK again. Select the target cells, apply the new style through Home > Cell Styles, and protect the sheet again. The style can also change other formatting.
How do I change an editable range I already created?
In Excel for Microsoft 365 or Excel 2024 on Windows, unprotect the sheet and open Review > Allow Edit Ranges. Select the existing range and choose Modify to adjust its configuration. Protect the sheet again afterward.
Can I edit a separate mobile copy when another editor has locked the file?
Where permitted, you can create a separate editable file, but copying does not strip worksheet protection. On Android, open the workbook, choose File or the file icon, then select Save As. Choose a location and new name, then select Save. On iPad, open the file icon, select Name or Duplicate, choose the name and location, then select Save or Duplicate.