How to Stop Excel Formulas from Changing After Uploading to SharePoint
Question details
The user needs to prevent Excel formulas generated by the SAP Analytics Cloud add-in from being rewritten as external references when the file is uploaded to SharePoint.

- Product
- Microsoft Excel, SharePoint
- Device & OS
- not provided
- Scenario
- Uploading a workbook containing third-party add-in formulas to SharePoint and reopening it.
- Observed behavior
- Formulas created by the SAP Analytics Cloud add-in are rewritten as external references to Smart.xlam. The issue persists in both Excel for the web and the Excel desktop app, even after downloading the file again.
Verify the exact version of the SAP Analytics Cloud add-in installed on your device, and document whether the formula alteration specifically triggers upon opening the file in Excel for the Web or immediately upon upload.
Contact Your Add-in Provider and Microsoft 365 Administrator
Because the formula rewriting is caused by a third-party add-in integration with SharePoint, you must coordinate with your IT administrator and the add-in developer for a deployment fix.
Some features and add-ins are not fully supported natively in Excel for the web. When SharePoint cannot process a custom function, it attempts to resolve it by creating an external reference to the add-in file (like Smart.xlam). Fixing this usually requires centralized deployment of the add-in within SharePoint.
Open the affected workbook in the Excel desktop app. Click on the affected cell and copy the exact altered formula from the Formula Bar (e.g., showing the Smart.xlam reference).
Contact your Microsoft 365 Administrator and ask them to navigate to the Microsoft 365 admin center > Settings > Integrated apps to ensure the SAP Analytics Cloud add-in is deployed correctly across your organization's SharePoint environment.
Ask your administrator to create a Microsoft 365 support ticket. Provide them with a sample workbook, the exact formula, your Office version, and clarify that the issue happens in both Excel for the Web and the desktop client.

Try WPS Office for a Stable Local Spreadsheet Experience
If you are frustrated by cloud-sync issues and formula alterations in Microsoft Excel and SharePoint, consider using WPS Office. It provides a stable, highly compatible local editing environment without forcing unintended cloud conversions on your custom formulas.
- 1. Download WPS Office: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install the software: Run the downloaded installer and follow the on-screen instructions to set up WPS Office on your device.
- 3. Open your workbooks: Launch WPS Spreadsheets and open your .xlsx files locally to enjoy stable formula calculations.

Frequently Asked Questions
Why do my Excel formulas change to Smart.xlam in SharePoint?
This occurs when a workbook contains custom functions from a third-party add-in (like SAP Analytics Cloud). When Excel for the Web cannot process the custom function, it attempts to resolve the unknown formula by pointing it to the external add-in file, resulting in the Smart.xlam reference.
Does the SAP add-in need to be deployed in SharePoint?
Yes, in most enterprise setups, third-party add-ins must be deployed centrally by a Microsoft 365 administrator. Without proper deployment in SharePoint, Excel for the Web will fail to recognize the add-in's specific functions.
Can I fix the formulas by downloading the file again?
Typically, no. Once SharePoint and Excel for the Web have rewritten the formula into an external reference, downloading the file will only give you the altered version. You must fix the root deployment issue or manually restore the formulas from a backup.




