How to Use an Array as a Power Query Source in Excel for Mac
Question details
The user wants to connect directly to an in-memory array as a data source using Power Query in Excel for Mac.

- Product
- Excel for Mac
- Device & OS
- macOS
- Scenario
- Importing or transforming array data dynamically within the Power Query editor on a Mac environment.
- Observed behavior
- Native Power Query features in Excel for Mac lack the direct connection options for in-memory arrays found in the Windows version, requiring workarounds like staging data or using add-ins.
Ensure your Excel for Mac is updated to the latest version, as Microsoft frequently updates native Power Query capabilities on macOS. If you plan to install third-party add-ins, verify that your system or organization allows them.
Load the Array into an Excel Table First
The most reliable native method is to output the array to a worksheet and convert it into a formatted Excel Table before loading it into Power Query.
Since Excel for Mac cannot easily read in-memory arrays directly via Power Query, staging the data on a physical worksheet bridges the gap between your array generation and the query editor.
Write or paste your array data into a blank worksheet range. If you are generating the array via VBA or Office Scripts, code it to dump the results into a specific sheet.
Select the entire data range, navigate to the 'Insert' tab on the ribbon, and click 'Table' (or press Cmd+T). Make sure to check 'My table has headers' if applicable.
Click any cell inside your newly created table. Go to the 'Data' tab and select 'Get Data (Power Query)' > 'From Table/Range'.
The Power Query Editor will open. You can now clean, filter, and transform your staged array data just as you would on Windows.

Use the MoreQuery Add-in for Mac
Install a third-party add-in designed to expand Power Query functionality on Mac, enabling more complex data sources.
Experience Seamless Data Management with WPS Office
Tired of dealing with platform-specific limitations in Excel for Mac? WPS Office offers a lightweight, highly compatible, and free alternative with powerful spreadsheet features.
- 1. Download WPS Office: Visit the official WPS website and download the free version for Mac.
- 2. Install the Suite: Open the downloaded installer and follow the on-screen instructions to set up WPS Office.
- 3. Open Your Data: Launch WPS Spreadsheets and open your existing .xlsx files directly with full compatibility.

Frequently Asked Questions
Why is Power Query different on Excel for Mac compared to Windows?
Microsoft originally built Power Query exclusively for Windows. While it has been ported to macOS, certain advanced connectors and features—such as connecting directly to in-memory arrays or local databases—are still being developed or remain restricted by the macOS environment.
Can I use VBA arrays directly with Power Query on Mac?
Natively, Power Query on Mac cannot directly read a VBA array from memory. You must first use VBA to output the array to a physical worksheet range or table, and then connect Power Query to that table.
Are third-party Excel add-ins safe to use on Mac?
Add-ins from trusted, reputable sources like major Excel forums or the official Microsoft Store are generally safe. However, always review user feedback and ensure the add-in is compatible with your specific macOS version before granting it access to your files.




