To enable editing in Excel, you usually need to click the yellow Enable Editing bar at the top of the window (desktop) or tap the pencil icon and choose Edit (mobile). If the file is protected, you must unprotect the sheet or workbook with its password, or switch the file out of Protected View or Read-Only mode. The exact fix depends on why Excel locked the file, so the steps below walk through each cause in order.

What You'll Need

  • Excel for Windows, Mac, iPhone, iPad, or Android, or Excel for the web.
  • The password for the sheet or workbook, if one was set by whoever created the file.
  • Permission to edit the file location (OneDrive, SharePoint, or a local folder).
  • A stable internet connection if the file is stored in the cloud.

Step-by-Step

  1. Look for the yellow bar. When Excel opens a downloaded or emailed file, a yellow Protected View bar appears with an Enable Editing button. Click it. On Mac, the bar reads Enable Editing as well. If you trust the source, this is the fastest fix.
  2. Check the title bar. If it says Read-Only or Protected View, the file is locked. For Read-Only, click File > Save As and save a copy to a folder you own, then edit the copy.
  3. Unprotect the sheet. Go to the Review tab and click Unprotect Sheet. Enter the password if prompted. This removes restrictions on cells, formatting, and sorting.
  4. Unprotect the workbook. If the whole file is locked, on the Review tab click Protect Workbook (it toggles off) and enter the password. This controls structural changes like adding or deleting sheets.
  5. Turn off Mark as Final. If the file opens read-only with no password, check File > Info. If you see Mark as Final highlighted, click it to toggle it off, then save.
  6. Fix file permissions. Right-click the file in File Explorer, choose Properties > General, and clear Read-only. On Mac, use Get Info and uncheck Locked.
  7. Sign in and check cloud permissions. For OneDrive or SharePoint files, sign in with the account that has edit rights. In the web version, click Editing near the top right and choose Editing instead of Viewing.
  8. Use the mobile app. On iPhone, iPad, or Android, open the file, tap the pencil icon, and select Edit. If the file is protected, the app will ask for the password. Editing in the mobile app requires signing in with a Microsoft account.
  9. Save your changes. After enabling edit, press Ctrl+S (Windows) or Cmd+S (Mac) to confirm the file is writable. If a Save As dialog appears, choose a new name and location.

Common Mistakes

  • Clicking Enable Editing but not saving, then wondering why changes vanish. Always save after unlocking.
  • Confusing sheet protection with workbook protection. Unprotecting the sheet does not remove workbook-level restrictions, and vice versa.
  • Editing a read-only copy in a shared folder. Save a local copy first, then edit.
  • Forgetting the password. Excel cannot recover a lost sheet or workbook password; you would need the original creator or a backup.
  • Trying to edit a file in Protected View without first enabling editing. The cells will not accept input until you click the bar.

Tips

  • If you only need to change a few cells, ask the file owner to unlock specific ranges instead of the whole sheet.
  • Use File > Info > Protect Workbook to see all protection options in one place.
  • Keep a backup before removing protection, in case you need to restore restrictions.
  • On shared workbooks, check Review > Share Workbook (legacy) or co-authoring settings if edits conflict.
  • For files from the internet, consider using Protected View settings under File > Options > Trust Center only if you understand the risk.

Troubleshooting

If Enable Editing does not appear or does not work, try these in order:

  1. Close and reopen Excel, then reopen the file.
  2. Check that you are signed in with the correct Microsoft account, especially for cloud files.
  3. Verify the file is not open in another program or by another user with a lock.
  4. Move the file to a local folder you control, then try editing.
  5. If the file is corrupted, use File > Open > Browse and choose Open and Repair.
  6. As a last resort, reinstall Excel or repair Office from Settings > Apps. This does not delete your files.

If a password is required and you do not have it, contact the file owner. Do not use third-party password-cracking tools; they are unreliable and may violate policy.

Frequently Asked Questions

Why is my Excel file read-only?

Common causes are Protected View, Mark as Final, file permissions, or a password-protected sheet or workbook. Check the title bar and the Review tab first.

How do I remove a password from an Excel sheet?

Open the sheet, go to Review > Unprotect Sheet, enter the password, then save. The password is removed for future opens.

Can I edit an Excel file on my phone?

Yes, in the Excel mobile app, tap the pencil icon and choose Edit. You must sign in, and some features are limited compared with desktop.

What if I forgot the password?

Excel cannot recover it. Ask the file creator or restore from a backup that was saved without protection.

Why does Enable Editing not show?

The file may already be editable, or it may be locked by another user or permission setting. Check the title bar and file properties.

Does enabling editing change the file for others?

No. Enabling editing on your copy does not affect other users unless you save changes to a shared location.