logo
search
Formula Errors

How to Fix Excel Changing Formulas to the @MS Function

Olivia MillerOlivia Miller Sep 27, 2026 868 views

Question details

Users experience an issue where Excel automatically drops portions of complex functions and replaces the formula structure with an unsupported @MS syntax when opening older workbooks.

How to Fix Excel Changing Formulas to the @MS Function
Product
Microsoft Excel
Device & OS
not provided
Scenario
Opening a workbook created in Excel 2016 using Excel 2021.
Observed behavior
Excel drops the original functions (such as IF and HLOOKUP) along with their final arguments, and replaces the formula with an unexpected =@MS(...) format.
Before you start

Create a backup copy of your original Excel 2016 workbook to ensure you do not lose the initial data and untouched formulas before attempting to repair the calculation chain.

Solution 1Recommended

Manually Restore and Verify the Original Formula

Replace the corrupted @MS formula with your original function and save the workbook to test its stability in the new Excel version.

Often, file conversion glitches or unsupported add-ins can disrupt how newer versions of Excel interpret legacy formulas. Re-entering the formula manually can force Excel to recalculate and recognize the correct functions.

1
Locate the corrupted cell

Open your workbook in Excel 2021 and select the cell that displays the incorrect =@MS formula.

2
Delete the incorrect syntax

Click into the Formula Bar at the top of the screen and clear the broken formula entirely.

3
Enter the original formula

Type or paste your original formula back into the bar. For example: =IF(HLOOKUP(Data!A1,INDIRECT(PersonTable),4)="Married",4,3).

4
Save and verify

Press Enter to apply the formula, then save the workbook as a new file. Close and reopen the file to verify if the formula remains stable.

Manually Restore and Verify the Original Formula
Verification Tip: If the formula retains its proper structure upon reopening, the initial corruption was likely a one-time conversion glitch.
Free Microsoft Office alternative

Use WPS Office to Prevent Version Compatibility Formula Errors

If you frequently encounter formula corruption or unexpected @MS syntax changes when moving files between older and newer versions of Microsoft Excel, WPS Office offers a highly compatible, stable, and free alternative.

  1. 1. Download WPS Office: Visit the official WPS website to download the free installer and complete the setup process.
  2. 2. Open WPS Spreadsheets: Launch the application and select Spreadsheets from the main home screen.
  3. 3. Import the Excel Workbook: Click Open and select your Excel 2016 file to edit your formulas without unexpected @MS conversions.
Seamlessly opens and edits .xlsx workbooks created in any version of Microsoft Excel without corrupting formulas.High compatibility with complex functions like IF, HLOOKUP, and INDIRECT.Free and lightweight, avoiding the heavy add-in conflicts often found in other spreadsheet software.Familiar user interface requiring zero learning curve for Excel users.
microsoft office alternative - wps office

Frequently Asked Questions

What does the @MS function mean in Excel?

The @ symbol in Excel is generally used as the implicit intersection operator in newer dynamic array formulas. However, an unprompted =@MS(...) structure usually indicates a corrupted formula, an incompatible macro, or a broken add-in translation from an older Excel version.

Why did my IF and HLOOKUP formulas disappear during the Excel update?

When migrating from Excel 2016 to Excel 2021, file conversion glitches, document recovery artifacts, or unsupported third-party COM add-ins can disrupt the calculation chain. This causes Excel to drop recognized functions and replace them with a broken syntax.

How can I share the workbook for further inspection if the formula keeps changing?

If the formula continues to change after manually fixing it, it is recommended to upload the file to a secure cloud file-sharing service like OneDrive, Dropbox, or Google Drive, and provide the download link to support personnel to examine the workbook's behavior.