Fix Excel for the Web Cannot Format Cells in SharePoint
Question details
The user is unable to format cells in an Excel workbook opened from SharePoint via Excel for the Web, as the file opens in protected mode with disabled formatting and limited co-authoring.
- Product
- Excel for the Web, SharePoint
- Device & OS
- not provided
- Scenario
- Editing an Excel workbook online via SharePoint and attempting to format cells or use co-authoring features.
- Observed behavior
- The workbook displays in protected mode, formatting options are disabled, only one browser editor is allowed at a time, and the file may report as being locked.
Ensure you have a stable internet connection and verify that you have 'Edit' permissions for the specific file in the SharePoint document library.
Recreate the Excel Workbook
If only a single file is affected and continues to behave poorly, the workbook may be corrupted. Recreating it is the most practical and effective workaround.
When an individual Excel file experiences persistent protected mode restrictions and file-locking issues on SharePoint, it often indicates underlying file corruption or unsupported legacy formatting that cannot be resolved through standard browser settings.
Navigate to your SharePoint document library, select the affected Excel workbook, and click 'Download' to save a local copy to your computer.
Open the Excel desktop application and create a completely new, blank workbook.
Open the downloaded file, copy your data, and paste it into the new blank workbook. It is highly recommended to use 'Paste Special' > 'Values' to avoid bringing over corrupted formatting.
Save the new workbook as a modern .xlsx file with a different name. Upload this new file back to the SharePoint site and open it in Excel for the Web to verify that formatting and co-authoring now function correctly.
Diagnose Scope and Check Co-Authoring Settings
Determine if the issue is isolated to one file or a broader SharePoint site problem, and verify Microsoft's co-authoring requirements.
Try WPS Office for Seamless Spreadsheet Editing
If you are experiencing persistent file-locking or formatting issues with Excel on SharePoint, consider switching to WPS Office. It provides a lightweight, highly compatible, and free alternative to Microsoft Office, ensuring you can edit and format your spreadsheets locally or via cloud without unnecessary protected mode restrictions.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your device.
- 2. Install and launch: Run the installer, follow the on-screen prompts, and launch WPS Spreadsheets.
- 3. Open and edit your file: Click 'Open' to locate your .xlsx file and begin editing and formatting immediately without browser-based protected mode limitations.

Frequently Asked Questions
Why does my Excel file open in protected mode on SharePoint?
Excel for the Web may open a file in protected mode if it detects unsupported features, potential file corruption, or if strict SharePoint security policies restrict browser editing for certain file types.
How do I fix the 'file locked' error in Excel for the Web?
A file is often locked if another user has it open in the desktop app without co-authoring enabled, or if a previous session did not close properly. You can resolve this by asking the user to close the file or waiting 10-15 minutes for the server session to time out.
Can I force SharePoint to allow formatting in my Excel workbook?
If formatting is disabled, first check if the worksheet is protected by navigating to the 'Review' tab and selecting 'Unprotect Sheet'. If the file itself is corrupted and limiting features, you will need to copy its contents into a brand new workbook.
Why is co-authoring limited to one browser editor at a time?
This usually happens if the workbook contains features not supported by Excel for the Web co-authoring, such as legacy macros, strict data validation, or if it is saved in an older format like .xls instead of the modern .xlsx format.




