Office for Mac Issues

How to Use an Array as a Power Query Source in Excel for Mac

Jason MillerJason Miller Nov 10, 2026 869 views

Question details

The user wants to connect directly to an in-memory array as a data source using Power Query in Excel for Mac.

How to Use an Array as a Power Query Source 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.
Before you start

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.

Solution 1Recommended

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.

1
Output the array data

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.

2
Convert the range to a table

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.

3
Load into Power Query

Click any cell inside your newly created table. Go to the 'Data' tab and select 'Get Data (Power Query)' > 'From Table/Range'.

4
Transform your data

The Power Query Editor will open. You can now clean, filter, and transform your staged array data just as you would on Windows.

Load the Array into an Excel Table First
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website and download the free version for Mac.
  2. 2. Install the Suite: Open the downloaded installer and follow the on-screen instructions to set up WPS Office.
  3. 3. Open Your Data: Launch WPS Spreadsheets and open your existing .xlsx files directly with full compatibility.
Fully compatible with Microsoft Excel (.xlsx, .csv) formats.Lightweight and fast performance on both macOS and Windows.Intuitive interface that feels instantly familiar to Office users.Robust built-in data analysis and filtering tools without the need for complex add-ins.
microsoft office alternative - wps office

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.