Excel Error Codes

How to Fix Excel VSTACK #NAME? Error in Remote Desktop

Huda QurayshiHuda Qurayshi Oct 14, 2026 870 views

Question details

The user needs to resolve a #NAME? error that appears on the VSTACK function when calculating an Excel workbook via a Remote Desktop connection, despite the formula working perfectly on their local desktop.

How to Fix the Excel VSTACK #NAME? Error in Remote Desktop
Product
Microsoft Excel
Device & OS
not provided
Scenario
Opening and recalculating a workbook containing the VSTACK function through a Remote Desktop session.
Observed behavior
The VSTACK function returns a #NAME? error in the remote environment, indicating the function is not recognized by the Excel version running on the remote server.
Before you start

Ensure you have your Microsoft 365 account credentials handy, as you may need to verify your subscription or update the Office installation within the Remote Desktop session.

Solution 1Recommended

Verify and Update Excel in the Remote Session

The #NAME? error typically occurs because the Remote Desktop server is running an older standalone version of Office (such as Excel 2016 or 2019) that does not support the VSTACK dynamic array function.

VSTACK is exclusively available to Microsoft 365 subscribers and Excel for the web users. If your remote server runs a non-subscription version of Office, the function will not be recognized.

1
Open Account Settings

Launch Excel within your Remote Desktop session. Click on 'File' in the top-left corner, then select 'Account' (or 'Office Account') from the bottom-left menu.

2
Verify Office Version

Check the 'Product Information' section to ensure it says Microsoft 365 and verify you are signed in with the correct subscription account.

3
Update Office

Click the 'Update Options' button next to Office Updates and select 'Update Now' to download and install the latest build.

4
Recalculate Workbook

Once the update is complete, restart Excel, open your workbook, and recalculate the sheet. The VSTACK function should now process correctly.

Verify and Update Excel in the Remote Session
Compatibility Check: Updating to the latest Microsoft 365 build ensures full compatibility with all modern dynamic array functions, preventing future #NAME? errors.
Free Microsoft Office alternative

Try WPS Office for Seamless Spreadsheet Compatibility

If Remote Desktop environments are causing Microsoft Excel version conflicts and breaking your formulas, consider switching to WPS Office. It provides a lightweight, highly compatible spreadsheet environment that avoids the hassle of mismatched server installations.

  1. 1. Download WPS Office: Visit the official WPS Office website and download the free installer to your local machine or remote server.
  2. 2. Install the Software: Run the installer and follow the quick setup instructions to install the application.
  3. 3. Open Your Workbook: Launch WPS Spreadsheets and load your existing .xlsx workbook to continue working seamlessly without formula recognition errors.
High compatibility with Microsoft Excel (.xlsx) formats and spreadsheet formulas.Lightweight installation ideal for both local and remote desktop environments.Free to use with a familiar, easy-to-navigate tabbed user interface.Eliminates complex subscription update issues across different machines.
microsoft office alternative - wps office

Frequently Asked Questions

Why does VSTACK work on my laptop but not on Remote Desktop?

Remote Desktop sessions often connect to a server that runs a different, sometimes older, version of Microsoft Office. Since VSTACK is a newer dynamic array function available only in Microsoft 365, an older Excel version on the remote server will not recognize it and will return a #NAME? error.

Can I use VSTACK in Excel 2019 or Excel 2021?

No, the VSTACK function is exclusive to Microsoft 365 subscriptions and Excel for the web. Standalone perpetual licenses like Excel 2019 or Excel 2021 do not support this specific array function.

What should I do if the #NAME? error persists after updating Microsoft 365?

If updating doesn't resolve the issue, ensure you are signed in with the correct Microsoft 365 account that includes the latest feature rollouts. Also, check the formula text for typos, or try opening the document via Excel for the web as a diagnostic step.