Fix Missing Cell Text or Formulas When Editing in Excel Online
Question details
The user needs to view and edit existing cell text or formulas without losing them in Excel Online.

- Product
- Microsoft Excel Online
- Device & OS
- not provided
- Scenario
- Opening a worksheet cell for editing in Excel Online.
- Observed behavior
- Existing text or formulas appear to disappear when the cell is opened for editing.
Select an affected cell and check the formula bar before editing to see whether its existing content is still present. If the worksheet is protected, obtain permission and the password needed to change its protection settings.
Check Cell Protection in the Excel Desktop App
Use Excel desktop to inspect and change locked or hidden settings that may affect editing or formula display on a protected sheet.
Locked cells restrict editing only when the worksheet is protected. The Hidden setting conceals formulas on a protected sheet; neither setting normally deletes cell contents.
In Excel Online, select Edit in Excel or Open in Desktop App to open the workbook in the desktop application.
Select the affected worksheet. If it is protected and you have permission to change it, choose Review > Unprotect Sheet and enter the password if prompted.
Select the affected cells, then open Home > Format > Format Cells and choose the Protection tab. Clear Locked and Hidden as needed, then select OK.
Save the workbook in Excel, return to Excel Online, and select an affected cell to test its formula display and editing behavior.

Edit the Existing Cell Content Without Replacing It
Use this approach when typing into a selected cell replaces its existing text or formula.
Edit Spreadsheet Cells with WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel workbooks in WPS Spreadsheet to continue editing with an easy transition from Microsoft Office.

Frequently Asked Questions
Why does typing replace the contents of an Excel cell?
Typing immediately after selecting a cell replaces its existing contents. Double-click the cell or click the formula bar first to edit the existing text or formula.
Does a hidden cell setting delete my formula?
No. The Hidden setting conceals a formula when the worksheet is protected; it does not normally delete it. In desktop Excel, select the cell and check Format Cells > Protection.
Why can't I edit a locked cell?
A locked cell cannot be edited when its worksheet is protected. If you have permission, use Review > Unprotect Sheet in Excel desktop, then change the cell's Locked setting under Format Cells > Protection.
What can I do if I accidentally replaced a formula?
Use the Undo button in Excel Online immediately. If that is not available, check the workbook's version history in its storage service for an earlier version.




