logo
search
Excel Error Codes

How to Fix Excel 365 Not Supporting External SQL Subqueries

Olivia MillerOlivia Miller Sep 29, 2026 869 views

Question details

Users are seeking a way to run SQL subqueries against external workbooks in Excel 365, or find working alternatives, as the feature returns an error in the current update.

How to Fix Excel 365 Not Supporting External SQL Subqueries
Product
Microsoft Excel 365
Device & OS
not provided
Scenario
Attempting to execute SQL subqueries that reference external workbooks or worksheet ranges for data processing.
Observed behavior
Excel 365 version 2511 returns an error because SQL subqueries against external workbook ranges are unavailable by design.
Before you start

Ensure that your external source workbooks are saved locally or on a stable network drive before attempting any data migration or transformation.

Solution 1Recommended

Use Power Query to Import and Transform Data

Power Query is the officially recommended alternative to SQL subqueries for linking and transforming data from external workbooks.

Since direct SQL subqueries referencing external ranges are no longer supported in version 2511, Power Query provides a robust, native toolset to pull and manipulate data without writing SQL code.

1
Open Get Data Menu

Open your main Excel workbook, navigate to the 'Data' tab on the ribbon, and click on 'Get Data'.

2
Select Source File

Choose 'From File' and then click 'From Workbook'. Browse to the location of your external source workbook and select it.

3
Transform Data

Select the sheets or tables you need from the Navigator window, then click 'Transform Data' to open the Power Query Editor.

4
Apply Logic and Load

Apply your required filtering, merging, or calculations within Power Query, then click 'Close & Load' to bring the structured data into your workbook.

Use Power Query to Import and Transform Data
Power Query Benefits: Power Query establishes a permanent, refreshable connection to your external data, making future updates seamless.
Free Microsoft Office alternative

Try WPS Office for Your Data Management Needs

If you are frustrated by sudden feature deprecations or version limitations in Microsoft Excel 365, consider switching to WPS Office. It provides a lightweight, highly compatible, and free alternative with robust data processing capabilities.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
  2. 2. Open Your Spreadsheets: Launch WPS Spreadsheet and seamlessly open your existing .xlsx workbooks.
  3. 3. Process Your Data: Use the familiar formulas, data pivot tools, and features to manage your information without subscription barriers.
Highly compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Free to download with comprehensive spreadsheet functions and tools.Lightweight installation and smooth performance for large datasets.Familiar user interface requiring zero learning curve for Excel users.
microsoft office alternative - wps office

Frequently Asked Questions

Why did my SQL subqueries stop working in Excel 365?

In Excel 365 version 2511, Microsoft removed support for SQL subqueries that reference external workbooks or ranges by design, which causes the operation to return an error.

Is there a setting to re-enable external SQL subqueries in Excel version 2511?

No, there is currently no supported setting, configuration, or registry key to re-enable this functionality in the version 2511 update.

How can I request Microsoft to bring back SQL subqueries for external workbooks?

You can submit a feature request or share your feedback directly with the development team through Microsoft's official Feedback Portal at feedbackportal.microsoft.com.

What is the best alternative to SQL subqueries in modern Excel?

Microsoft recommends using Power Query to import, transform, and merge data from external sources, as it is fully supported and provides a robust visual interface for data manipulation.