File Corruption & Recovery

Fix Excel Repairs File and Removes Formulas on Mac

Camila MilosovichCamila Milosovich Nov 10, 2026 868 views

Question details

Users experience an issue where Excel for Mac forces a file repair upon opening, resulting in the permanent deletion of formulas, broken tables, and corrupted calcChain.xml.

How to Fix Excel Repairing Files and Removing Formulas on Mac
Product
Microsoft Excel
Device & OS
macOS
Scenario
Opening a macro-enabled workbook (.xlsm) after editing VBA, experiencing a system crash, or encountering a OneDrive synchronization conflict.
Observed behavior
Excel displays a repair message stating content was removed (formulas, shared formulas, or calcChain.xml). After the repair, formulas are permanently deleted and the workbook structure is modified.
Before you start

Immediately create a copy of the corrupted file and store it in a separate local folder before attempting any repairs, as saving the auto-repaired version will permanently overwrite your formulas.

Solution 1Recommended

Restore a Previous Working Version via OneDrive or SharePoint

The safest way to recover your formulas is to revert to a cloud version saved before the corruption occurred.

1
Access cloud storage

Go to OneDrive or SharePoint online in your web browser and locate your corrupted Excel file.

2
Open version history

Right-click the file and select "Version history" from the context menu.

3
Select a clean version

Browse the list of previous versions and select one saved before the VBA edit or system crash occurred.

4
Restore or download

Click "Restore" to replace the current corrupted file, or "Download" to save a separate working copy locally to your Mac.

Restore a Previous Working Version via OneDrive or SharePoint
Disable AutoSave during macro edits: Temporarily disable AutoSave when working with complex VBA macros on Mac to prevent corrupted XML states from syncing automatically.
Free Microsoft Office alternative

Try WPS Office to Prevent Complex File Corruption

If Microsoft Excel continually corrupts your macro-enabled workbooks on Mac, consider switching to WPS Office. It provides a highly compatible, lightweight, and stable environment for your spreadsheet tasks, reducing the risk of unexpected formula deletion.

Seamless compatibility with Microsoft Excel formats (.xlsx, .xlsm, .xls)Stable performance on Mac without aggressive auto-repair data lossFree, lightweight, and easy to install on any deviceFamiliar user interface requiring no learning curve for Excel users
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel say "Removed Records: Formula / calcChain.xml"?

This error occurs when Excel detects structural corruption in the calculation chain or worksheet XML. It is frequently triggered by saving VBA modifications in macro-enabled (.xlsm) files on Mac, or during a cloud synchronization failure.

Can I stop Excel from automatically repairing my file?

Excel forces repairs when it encounters invalid XML to prevent the application from crashing. You cannot bypass the repair prompt, but you can avoid data loss by opening an older backup or extracting data via the ZIP archive method.

Does this formula removal issue affect Windows users as well?

While highly reproducible on Mac after VBA edits, Windows users can also experience this formula removal issue if the file's XML structure is corrupted due to a severe system crash, power loss, or OneDrive synchronization conflict.

How can I prevent macro-enabled workbooks from corrupting on Mac?

To minimize risk, temporarily turn off AutoSave while writing or modifying VBA code, save your progress manually to a local drive first, and maintain frequent manual backups of complex .xlsm files before closing the application.