Combine Excel Files and Sheets

Four different jobs share the word "combine" here, and picking the wrong one costs an afternoon. Many separate files with matching columns want a folder query: it stays refreshable, and it records which file every row came from. Several sheets inside one existing workbook want the same tool pointed at a different source. One whole sheet moving house is not a query at all — it is a tab sent between two open files, formatting and charts included. And Consolidate, which people find while hunting for the others, stacks nothing whatsoever: it adds matching cells up into a summary block.

The formula

Data > Get Data > From File > From Folder          many separate .xlsx files, same columns, one refreshable table
Data > Get Data > From File > From Workbook        several sheets inside one other file
Right-click sheet tab > Move or Copy               move or duplicate one whole sheet into another open workbook
Data > Consolidate                                 totals across identically laid-out sheets, not a stacked table
Data > Refresh All                                 re-run a Power Query combine after the source files change

A worked example

A folder holds twelve files, jan.xlsx through dec.xlsx, each with one sheet and the same five column headers.

Data > Get Data > From File > From Folder, pick the folder, then Combine & Transform Data

One table of all twelve months in a new sheet, with a Source.Name column reading "jan.xlsx", "feb.xlsx" and so on. Drop a thirteenth file into the folder and Data > Refresh All picks it up without any rework — that refresh is the reason to prefer this over copying and pasting twelve times.

Which one do I need?

If you want to…Use
Several separate workbook files that share the same column headersPower Query: Data > Get Data > From File > From Folder > Combine & Transform Data — the only option here that refreshes
One sheet you want to move or duplicate into another workbookRight-click the sheet tab > Move or Copy, pick the target under "To book", and tick "Create a copy" if the original should stay
Many sheets inside one workbook that need stacking into a single tableData > Get Data > From File > From Workbook, select the sheets, then append them in the Power Query editor
Identically laid-out sheets where you only want the totalsData > Consolidate with Sum — it produces a summary block, not a combined row-by-row table
Two versions of the same workbook, and you want the differences rather than a mergeComparing is a separate task — a merge would hide exactly the rows you are looking for
The files have different column orders or extra columnsFix the headers before combining — Power Query appends by column name, so a stray "Qty" against "Quantity" produces two columns full of nulls
You're on Excel for MacGet Data > From Folder is Excel for Windows only — combine From Workbook one file at a time, or use a macro

Frequently asked questions

What is the difference between merging sheets and merging workbooks?

Sheets are tabs inside one file, so combining them never involves opening anything else — Move or Copy or Power Query From Workbook handles it. Workbooks are separate files on disk, and combining those means reading each file, which is what Power Query From Folder is built for.

Does Move or Copy combine the data on two sheets?

No. It relocates or duplicates an entire sheet as its own tab; the rows are never stacked together. If the copied sheet contained formulas pointing at the old workbook, those become external links back to the source file, which is why totals sometimes keep changing after the move.

Why does selecting several sheet tabs at once not merge them?

Ctrl-clicking multiple tabs groups them so that typing or formatting applies to all of them at once. It is an editing mode, not a merge, and forgetting to ungroup afterwards is a common way to overwrite data on sheets you were not looking at.

Do I have to redo the combine when the source files change?

Not with Power Query. Data > Refresh All re-reads every file in the folder, including files added since you built the query, and rebuilds the combined table. Copy-and-paste combines have to be redone by hand every time.

Combine Excel Files1600How to Combine Excel Spreadsheets1600How to Merge Sheets in Excel1600How to Combine Sheets in Excel1300Combine Multiple Excel Files1300How to Merge Two Excel Spreadsheets1300Combine Multiple Excel Files Into One880Combine Multiple Excel Sheets Into One880Combine Excel Sheets Into One880How to Combine Two Excel Sheets880Merge Excel Sheets Into One880How to Merge Excel Spreadsheets880Merge Tabs in Excel880Merge Worksheets in Excel880How to Merge 2 Excel Spreadsheets720How to Combine All Sheets in Excel720Excel Merge All Sheets720Combine Multiple Excel Spreadsheets Into One Workbook720Merge Multiple Excel Sheets Into One720Merge Excel Spreadsheets Into One720How to Merge Multiple Worksheets in Excel720How to Combine 2 Excel Spreadsheets590Excel Combine All Sheets Into One590Combine Excel Files Into One Workbook590Combine Excel Sheets Into One Sheet590How to Combine Two Excel Spreadsheets590Merge Excel Sheets Into One Workbook590How to Merge Two Excel Sheets590How to Merge 2 Sheets in Excel480How to Merge All Excel Sheets Into One480Combine Multiple Excel Files Into One Workbook480Combine Excel Files Into One480How to Combine Two Excel Files480How to Combine Multiple Excel Sheets480How to Merge Excel Documents480Merge Multiple Excel Worksheets Into One480How to Merge Multiple Sheets in Excel480How to Merge Two Worksheets in Excel480How to Merge All Worksheets in Excel Into One390How to Combine Several Excel Files Into One390How Do I Combine Multiple Worksheets in Excel Into One390Combine Multiple Excel Spreadsheets390Combine Multiple Excel Sheets Into One Sheet320How to Combine Excel Worksheets Into One Sheet320How to Merge Excel Documents Into One320Merge Multiple Excel Workbooks Into One320How to Merge Multiple Excel Spreadsheets320How to Merge Two Workbooks in Excel320How to Combine 2 Excel Sheets260Merge 2 Worksheets in Excel260Combine 2 Excel Files210Combine Multiple Excel Workbooks Into One210Combine Two Worksheets in Excel210Excel Merge Worksheets Into One Sheet210Merge Excel Sheets Into One Sheet170How to Combine Multiple Excel Files Into One Sheet140How to Combine Excel Files Into One Worksheet140How to Merge Excel Spreadsheets Into One Workbook140How to Combine Multiple Excel Tabs Into One110Excel Combine Multiple Worksheets Into One Workbook110How to Combine Two Excel Sheets Into One110Merge Multiple Sheets Into One Sheet in Excel110How to Merge Excel Tabs Into One110Excel Merge Worksheets Into One110How to Combine Multiple Excel Files Into One Worksheet90How Do I Combine Two Excel Spreadsheets Into One90Combine Excel Spreadsheets Into One Workbook90Excel Merge Tabs Into One Sheet90How Do I Merge Two Excel Spreadsheets Into One90How Do I Merge Two Excel Worksheets Into One90How Do I Combine Two Excel Files Into One70Combine Excel Sheets Into One Workbook70