How to Combine Multiple Excel Files Into One Workbook Easily

Bobby Jul 13, 2026

Merging multiple Excel files into one workbook can streamline data analysis and presentation, but it can also become a daunting task if you're unsure of the process. This guide will walk you through the steps to combine your Excel files seamlessly, saving you time and effort.

Combine Multiple Excel Files into One
Combine Multiple Excel Files into One

Before we dive into the process, ensure that all your Excel files are compatible and use the same Excel version. Also, keep an eye on any potential issues like duplicated data or formatting discrepancies.

How to merge multiple excel files into one workbook?
How to merge multiple excel files into one workbook?

Combining Excel Files Manually

Excel offers a built-in feature to merge files into one workbook. Here's how to do it manually:

COMBINE Multiple Excel WORKBOOKS into One | ExcelJunction.com
COMBINE Multiple Excel WORKBOOKS into One | ExcelJunction.com

1. Open the first Excel file that you want to combine. This file will serve as the main workbook.

Using the Combine Worksheets Option

Excel - Combining Data from Multiple Workbooks (files) into One Worksheet - Basic Power Query
Excel - Combining Data from Multiple Workbooks (files) into One Worksheet - Basic Power Query

Excel provides a straightforward method to combine files using the Combine Worksheets option:

2. Go to the 'Data' tab in the ribbon.

3. Click on 'Get & Transform Data' in the 'Get & Transform' group.

Combine Data from Multiple Excel Files in a Single Excel Sheet - Part 1
Combine Data from Multiple Excel Files in a Single Excel Sheet - Part 1

4. In the dropdown menu, select 'Combine Worksheets'.

5. In the 'Combine Worksheets' dialog box, choose the files you want to combine. You can select multiple files at once.

6. Click 'OK' to combine the worksheets into the main workbook.

how to COMBINE MULTIPLE EXCEL workbooks into one excel file
how to COMBINE MULTIPLE EXCEL workbooks into one excel file

Using the Get Data from Text/CSV Feature

Alternatively, you can use the Get Data from Text/CSV option to merge files:

an image of two excel tables with the words combine into one on each side and arrows pointing
an image of two excel tables with the words combine into one on each side and arrows pointing
How to split a workbook to separate Excel files in Excel?
How to split a workbook to separate Excel files in Excel?
the text combine excel files and add multiple file types into one column with arrows pointing to them
the text combine excel files and add multiple file types into one column with arrows pointing to them
How to combine multiple workbooks into one master workbook in Excel?
How to combine multiple workbooks into one master workbook in Excel?
How to  Combine Multiple Workbooks to One Workbook in Excel? file binder
How to Combine Multiple Workbooks to One Workbook in Excel? file binder
Combine Data from Multiple worksheets into ONE sheets | Excel Tutorial
Combine Data from Multiple worksheets into ONE sheets | Excel Tutorial
How to Merge Microsoft Excel Files and Sheets
How to Merge Microsoft Excel Files and Sheets
How to compare two worksheets in same workbook or different workbooks?
How to compare two worksheets in same workbook or different workbooks?
How to combine multiple worksheet into one workbook
How to combine multiple worksheet into one workbook

2. Go to the 'Data' tab in the ribbon.

3. Click on 'Get Data' in the 'Get & Transform' group.

4. Select 'From Text/CSV' or a similar option based on your file types.

5. In the 'Import Data' dialog box, select the first file, and click 'Edit' to preprocess data if needed. Click 'OK', followed by 'Load' to import the data into the main workbook.

6. Repeat steps 3-5 for each additional file you want to combine.

Combining Excel Files Using VBA (For Advanced Users)

For those comfortable with coding, Microsoft's Visual Basic for Applications (VBA) offers more control and automation when merging Excel files:

1. Press 'Alt + F11' to open the Visual Basic Editor.

Using VBA to Combine Single Worksheets

2. In the VBA editor, go to 'Insert' > 'Module' to insert a new module.

3. Copy and paste the following code, then modify the file paths and worksheet names as needed:

Sub CombineWorksheets()
    Dim wb As Workbook
    Dim ws As Worksheet

    Set wb = ThisWorkbook
    Set ws = wb.Worksheets("Sheet1")

    For i = 2 To 5
        Set newWb = Workbooks.Open("C:\Path\to\your\file" & i & ".xlsx")
        newWb.Worksheets("Sheet1").Cells.Copy ws.Cells(ws.Rows.Count, "A").End(xlUp).Offset(1, 0)
        newWb.Close False
    Next i

End Sub

4. Press 'F5' to run the code. This will combine the worksheets from five files, using 'Sheet1' as the target in the main workbook.

Using VBA to Combine Multiple Worksheets

5. To combine multiple worksheets from each file, use this modified code:

Sub CombineMultipleWorksheets()
    Dim wb As Workbook
    Dim ws As Worksheet
    Dim newWb As Workbook
    Dim newWs As Worksheet

    Set wb = ThisWorkbook
    Set ws = wb.Worksheets("Sheet1")

    For i = 2 To 5
        Set newWb = Workbooks.Open("C:\Path\to\your\file" & i & ".xlsx")
        For Each newWs In newWb.Worksheets
            newWs.Cells.Copy ws.Cells(ws.Rows.Count, "A").End(xlUp).Offset(1, 0)
        Next newWs
        newWb.Close False
    Next i

End Sub

6. Press 'F5' to run the code. This will combine all worksheets from five files into the main workbook's 'Sheet1'.

With practice, these methods will enable you to combine Excel files efficiently, tailoring the process to your specific needs. Now that you've mastered the art of merging Excel files, you can effortlessly streamline your data analysis and presentation processes.