Power Query Problems

How to Combine Multiple Excel Files Using Power Query or VSTACK on Mac

Adam DavisAdam Davis Nov 11, 2026 869 views

Question details

The user needs to combine five similarly structured Excel files on a Mac, with new files added monthly, but the Power Query folder connector is unavailable.

How to Combine Multiple Excel Files Using Power Query or VSTACK on Mac
Product
Excel for Mac
Device & OS
Mac
Scenario
Appending rows from multiple matching spreadsheet files into a single master dataset that updates monthly.
Observed behavior
The source data is in rows, but combining them manually is tedious. The user is looking for a dynamic solution using Power Query or the VSTACK function, especially when standard connectors are missing on Mac.
Before you start

Ensure all the Excel files you want to combine have identical column structures and headers, and save them in the same folder for easier management.

Solution 1Recommended

Use the VSTACK Function to Combine Data (Microsoft 365)

VSTACK is an excellent alternative for Mac users who might not have the Power Query 'From Folder' connector, as it vertically appends arrays across different files.

This method requires Microsoft 365. It dynamically stacks the data, but you will need to update the formula manually when a new file is added next month.

1
Open Master Workbook

Open a new or existing master Excel workbook where you want the combined data to appear.

2
Enter VSTACK Formula

Type =VSTACK( in the destination cell where the data should start.

3
Select First File Range

Select the header and data range from the first file (e.g., '[File1.xlsx]Sheet1'!A1:H20).

4
Append Additional Files

Type a comma, then select the data range (excluding headers) from the second file (e.g., '[File2.xlsx]Sheet1'!A2:H20). Repeat this process for all five files.

5
Execute Formula

Close the parenthesis ) and press Enter to dynamically combine the rows.

Use the VSTACK Function to Combine Data (Microsoft 365)
Updating Data: When new files arrive monthly, simply open the master workbook and update the VSTACK formula to include the new file's data range.
Combine Files Easily

Merge Multiple Spreadsheets Instantly with WPS Office

Skip the complex Power Query setups and VSTACK formulas. WPS Spreadsheet includes a built-in 'Merge Workbooks' tool that lets you combine multiple files into one sheet with just a few clicks, perfect for monthly reports.

  1. 1. Open WPS Spreadsheet: Launch WPS Spreadsheet and navigate to the 'Data' tab on the top ribbon.
  2. 2. Access Merge Tool: Click on 'Merge' and select 'Merge Multiple Workbooks into a Single Workbook' from the dropdown.
  3. 3. Add Monthly Files: Click 'Add Files' to select the five or more Excel files you want to combine from your Mac.
  4. 4. Execute Merge: Choose whether to merge them into multiple sheets or a single worksheet, then click 'Merge' to finalize.
Built-in Merge tool simplifies combining multiple files without formulasFully compatible with Microsoft Excel (.xlsx) file formatsAvailable on Mac, Windows, and LinuxFree and lightweight alternative to Microsoft 365
microsoft office alternative - wps office

Frequently Asked Questions

Does VSTACK automatically update when I add a new file to the folder?

No, VSTACK requires you to manually edit the formula to include the new file's data range. Only Power Query's 'From Folder' connector can automatically fetch new files dropped into a designated directory.

Why can't I find the 'From Folder' Power Query option on my Mac?

Excel for Mac does not yet have full feature parity with Excel for Windows regarding Power Query. The 'From Folder' connector is frequently missing or limited depending on your specific Microsoft 365 subscription and update channel.

Can I combine files with different column headers using VSTACK?

VSTACK simply stacks arrays vertically regardless of headers. If your columns are in different orders across the five files, the data will not align correctly. You must ensure identical column structures before using the VSTACK function.