Fix Excel #NAME? Error for the VSTACK Function
Question details
The user is encountering a #NAME? error when attempting to use the VSTACK function to combine arrays in Excel.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Stacking data arrays vertically using the VSTACK formula.
- Observed behavior
- Excel fails to recognize the VSTACK function and displays a #NAME? error instead of returning the stacked array data.
Ensure your device is connected to the internet, as you may need to download the latest Microsoft Office updates to access newer dynamic array functions like VSTACK.
Update Excel to a Supported Build or Channel
The VSTACK function is a newer feature. If you are using an older Excel build or an unsupported update channel, Excel will not recognize the function.
VSTACK was initially rolled out to Office Insider Beta and Microsoft 365 subscribers. Standalone versions like Excel 2016 or 2019 do not support this function, which is the most common reason for the #NAME? error.
Launch Microsoft Excel, click on the "File" tab in the top-left corner, and select "Account" from the bottom of the left-hand menu.
Look under the "Product Information" section to verify your exact version. If you are not on a Microsoft 365 subscription, VSTACK is likely unsupported.
Click the "Update Options" drop-down button and select "Update Now" to force Excel to download the latest features and bug fixes.

Verify Formula Syntax and Spelling
A simple typo in the function name will prevent Excel from recognizing the command, immediately throwing a #NAME? error.
Looking for a Reliable Spreadsheet Tool? Try WPS Office
If your current version of Excel doesn't support the latest dynamic array functions or requires an expensive Microsoft 365 subscription upgrade, WPS Office provides a powerful, free, and highly compatible alternative for managing your spreadsheets seamlessly.
- 1. Download and Install: Visit the official WPS website to download and install the free WPS Office suite on your device.
- 2. Open Your Excel Files: Launch WPS Spreadsheet and open your existing .xlsx files directly without any formatting loss.
- 3. Edit Seamlessly: Enjoy full compatibility and edit your data arrays using familiar and intuitive spreadsheet tools.

Frequently Asked Questions
What does the #NAME? error mean in Excel?
The #NAME? error occurs when Excel does not recognize text in a formula. This usually happens due to misspelled function names, missing quotes around text strings, or trying to use a function that is not available in your current version of Excel.
Which versions of Excel support the VSTACK function?
VSTACK is a dynamic array function available exclusively to Microsoft 365 subscribers and Excel for the Web. If you are using standalone versions like Excel 2016, 2019, or 2021, the function is not supported.
Can I use an alternative to VSTACK in older Excel versions?
Yes. If VSTACK is unavailable, you can manually combine ranges using copy and paste, or use the Power Query tool (Data > Get Data) to append multiple tables or ranges into a single continuous array.
Why does my Microsoft 365 Excel still show #NAME? for VSTACK?
If you have an active Microsoft 365 subscription but still see the error, you may be on an enterprise update channel that has a delayed release schedule. Go to File > Account and check your update channel, or click 'Update Now' to fetch the latest build.




