Excel won't let you edit because the workbook or sheet is protected, the file is in a read-only state, or Excel is in a mode that blocks changes. To fix it, check the title bar for "Read-Only" or "Protected View," unprotect the sheet or workbook if you have the password, and make sure the file isn't open in another program. The steps below walk through each cause in order, from the simplest checks to the less obvious ones.
What You'll Need
- The password for the sheet or workbook, if one was set
- Access to the folder where the file is saved (for read-only file properties)
- Permission to edit the file if it's on a shared drive or cloud service
Step-by-Step
- Look at the title bar. If it says "Read-Only" or "Protected View," that's your first clue. "Read-Only" means the file itself is marked that way or is open elsewhere. "Protected View" means Excel opened it in a restricted mode for safety.
- Exit Protected View. A yellow bar usually appears under the ribbon saying "PROTECTED VIEW" with an "Enable Editing" button. Click it. If you don't see the bar, go to File > Info and look for an "Enable Editing" button there. Only enable editing if you trust the file's source.
- Check if the file is open elsewhere. If a colleague or another program has the file open, Excel may open it read-only. Close the other copy or ask the other person to close it, then reopen the file.
- Check file properties. In File Explorer (Windows) or Finder (Mac), right-click the file and choose Properties (Windows) or Get Info (Mac). On Windows, uncheck "Read-only" under Attributes. On Mac, check the "Locked" box under General and untick it if needed. Click OK, then reopen the file.
- Unprotect the sheet. If you can select cells but not change them, the sheet is protected. Go to Review > Unprotect Sheet. Enter the password if prompted. If you don't have the password, you cannot unprotect it through the normal menu.
- Unprotect the workbook. If you can't add, delete, or rename sheets, the workbook structure is protected. Go to Review > Protect Workbook. If it's already protected, the button will say "Unprotect Workbook." Click it and enter the password.
- Check shared workbook settings. If the file is shared, go to Review > Share Workbook (or the equivalent in your version) and see if editing is restricted. In newer versions, this may be under Review > Workbook Statistics or a co-authoring pane. Labels vary by version.
- Sign out and back in. If the file is on OneDrive or SharePoint, your account may have lost edit permission. Sign out of Office (File > Account > Sign Out), then sign back in. Check that you're using the account that has edit rights.
- Repair the file. If Excel crashes or behaves oddly, go to File > Open > Browse, select the file, click the arrow next to Open, and choose Open and Repair. This can fix corruption that blocks editing.
- Restart Excel or your device. Close all Excel windows, then reopen. If that fails, restart your computer. This clears temporary glitches that can lock editing.
Menu labels can differ slightly by Excel version, device, and region. The steps above are for the desktop app; the web version has fewer options and may not show Protect Workbook in the same place.
Common Mistakes
- Confusing sheet protection with workbook protection. Sheet protection blocks cell edits; workbook protection blocks adding or deleting sheets. Check both.
- Ignoring the "Enable Editing" bar. Many people close the yellow bar without clicking Enable Editing, then wonder why typing does nothing.
- Trying to edit a read-only file without saving a copy. If the file is read-only, you can still edit a copy: use File > Save As and save to a new name, then edit that copy.
- Assuming you have the password. If you don't have the sheet or workbook password, you can't unprotect it through the menu. You'll need to ask the file's owner or use a copy.
- Overlooking cloud permissions. On OneDrive or SharePoint, you might have view-only access. Check the sharing settings or ask the owner to grant edit permission.
Tips
- Save a backup copy before unprotecting or repairing a file, in case something goes wrong.
- If you frequently need to edit a protected sheet, ask the owner to give you the password or to unprotect it for you.
- Use File > Info to see a quick summary of protection status and read-only mode.
- When co-authoring, make sure everyone is using a version of Excel that supports real-time collaboration; older versions may lock the file.
- If you're on a Mac, the Review tab may be called something else or the buttons may be in a different spot; look under the Review menu or the Tools menu.
Troubleshooting
If you've tried the steps above and still can't edit, work through these checks:
- Still read-only after unchecking the attribute? The file might be on a network drive with restricted permissions. Copy it to your local desktop and try editing there.
- Protected View won't go away? Go to File > Options > Trust Center > Trust Center Settings > Protected View and see if the file's location is blocked. Only change these settings if you trust the file.
- Can't find Unprotect Sheet? Make sure you're on the Review tab and that the sheet isn't already unprotected. If the button is greyed out, the sheet may not be protected.
- Excel freezes when you try to edit? Close other large workbooks, disable add-ins temporarily (File > Options > Add-ins), or start Excel in safe mode (hold Ctrl while opening Excel on Windows).
- File opens in a different program? Right-click the file and choose Open With > Excel to make sure it's not opening in a viewer.
- Corrupted file? Use Open and Repair as described in step 9. If that fails, try opening the file in Excel Online to see if it's a local issue.
If none of these work, the file may be damaged beyond repair or you may lack the necessary permissions. Contact the file's owner or your IT administrator.
Frequently Asked Questions
Why can't I type in Excel even though the file isn't protected?
Check if the file is in Protected View (yellow bar) or if the sheet is protected. Also, make sure you're not in a mode like "End" or "Scroll Lock" that can affect navigation, though it usually doesn't block typing. If the cell is locked and the sheet is protected, you can't edit it.
How do I remove read-only from an Excel file?
Right-click the file in File Explorer, choose Properties, and uncheck "Read-only." If the file is on a shared drive, you may need to change permissions or save a copy to your own folder.
What's the difference between Protect Sheet and Protect Workbook?
Protect Sheet prevents changes to cells, while Protect Workbook prevents changes to the structure, like adding or deleting sheets. You can have one, both, or neither.
Can I edit a protected Excel file without the password?
No, not through the normal menus. You would need the password or a copy that isn't protected. Some third-party tools claim to remove protection, but they are not officially supported and may violate policies.
Why does Excel open my file in read-only mode?
Common reasons: the file is marked read-only, it's open in another program, you opened it from an email attachment, or you have view-only permissions on a cloud service.
How do I enable editing in Excel on Mac?
Look for the "Enable Editing" button in the yellow bar or under the Review tab. The steps are similar to Windows, but menu names may differ slightly.