The fastest way to combine two Excel files
The quickest method is to open both workbooks side by side, then copy the sheets you need from one into the other. Excel lets you drag sheet tabs between open files, which takes seconds and preserves all formulas and formatting. If the files are large or you need to combine data from specific cells rather than whole sheets, you can copy ranges manually or use a formula to pull data from a closed file.
The approach you choose depends on what you're combining: entire sheets, specific data ranges, or data that updates automatically. Each method works differently and produces different results, so understanding what you're trying to do first saves time.
Key Takeaways
- Dragging sheet tabs between two open workbooks is the fastest way to move entire sheets without losing formulas or formatting.
- Copying and pasting ranges works when you need only specific cells or data from multiple locations in the source file.
- Using a formula like =INDIRECT("[SourceFile.xlsx]SheetName!A1") creates a live link that updates when the source file changes.
- Consolidate Data (on the Data tab) automatically combines values from multiple ranges using SUM, AVERAGE, or other functions.
Moving entire sheets by dragging tabs
Open both workbooks in Excel. Click the sheet tab at the bottom of the source file and drag it to the destination workbook window. The sheet moves with all its data, formulas, and formatting intact. This is the simplest method when you want to transfer one or more complete sheets.
To move multiple sheets at once, hold Ctrl and click each sheet tab you want to move, then drag them together. If you want to keep a copy in the original file instead of moving it, hold Ctrl while dragging — Excel will copy the sheet instead.
If the destination workbook is on a different monitor or you can't see both windows at once, right-click the sheet tab and choose "Move or Copy". A dialog box opens where you can select the destination file and the position where the sheet should go.
Copying specific data ranges between files
When you need only certain cells or ranges rather than entire sheets, select the cells in the source file, copy them (Ctrl+C), switch to the destination file, click where you want the data to go, and paste (Ctrl+V). This works for any size range and preserves formatting by default.
If the source and destination files have different column widths or you want to paste only the values without formulas, use Paste Special. After copying, right-click in the destination file and choose "Paste Special", then select "Values" to paste numbers only, or "Formulas" to paste the calculation without the result.
For large files, copying ranges is often faster than moving sheets because you're transferring only the data you need. The trade-off is that you have to do the selection and pasting manually for each range.
Creating a live link to data in another workbook
If you want the destination file to automatically update when the source file changes, use a formula that references the other workbook. In the destination file, click the cell where you want the data and type =INDIRECT("[SourceFileName.xlsx]SheetName!A1"), replacing the file name, sheet name, and cell reference with your actual values.
The source file must be open for the formula to work. Once you close it, the formula shows an error until you open the source file again. If you want the link to work even when the source file is closed, use this format instead: ='C:\Users\YourName\Documents\[SourceFileName.xlsx]SheetName'!A1, including the full file path in single quotes.
This method is useful when both files are updated regularly and you want the destination file to always show the latest numbers. However, if the source file is moved or renamed, the link breaks and you'll need to update the formula.
Using Consolidate Data to combine values automatically
Excel's Consolidate Data tool combines numbers from multiple ranges using a function like SUM, AVERAGE, COUNT, or MAX. Open the destination file, click the cell where you want the combined result, go to the Data tab, and click "Consolidate" (in the Data Tools group).
In the Consolidate dialog, choose the function you want (usually SUM), then click "Browse" and select the range from the source file. You can add multiple ranges from the same file or different files. Excel will combine them according to the function you selected.
This approach is best when you're combining numbers that need to be added, averaged, or counted rather than simply transferred. If you're just moving data without calculation, copying and pasting is simpler.
Handling duplicate headers and mismatched columns
If both workbooks have header rows and you're combining data from multiple sheets, remove duplicate headers before merging. Copy the data without the header row from the second file, or delete the header row after pasting.
When columns are in different orders between files, sort both files by the same column before combining them, or manually rearrange columns in the destination file to match. If column names are different but represent the same data, rename them to match before merging so you don't accidentally create duplicate columns.
For large datasets with many columns, creating a mapping document (a simple list showing which column in File A matches which column in File B) prevents mistakes and makes the process faster.
Saving and organizing the merged file
Once you've combined the workbooks, save the destination file with a new name so you don't overwrite the original. Use a name that describes what's in it — for example, "Q4_Sales_Combined" instead of "Book1".
If the merged file is large or contains sheets from multiple sources, add a summary sheet at the beginning that lists where each sheet came from and when it was last updated. This helps anyone else using the file understand its structure and know when to refresh the data.
Delete any sheets you don't need in the final file to keep it organized and reduce file size. If you've created formulas that reference the source files, test them after saving to make sure the links still work.
Frequently Asked Questions
Can I merge workbooks without opening both files at the same time?
Yes. You can copy data from one file, close it, open the destination file, and paste. You can also use a formula with the full file path to reference a closed file, though the formula will show an error until you open the source file again.
What happens to formulas when I copy cells from one workbook to another?
Formulas copy as-is, but cell references update automatically if they point to cells in the same sheet. If a formula references a cell in a different sheet, the reference changes to point to the destination workbook instead. Check formulas after pasting to make sure they still calculate correctly.
How do I combine data from more than two workbooks?
Open all the files you need, then drag sheets between them one at a time, or use Consolidate Data to combine multiple ranges at once. For very large projects, consider importing all files into a database or using Power Query (in Excel 2016 and later) to automate the process.
Will merging workbooks increase the file size?
Yes, the destination file will be larger because it now contains data from both sources. If file size is a concern, delete unnecessary sheets or columns from the source files before combining them.
What's the difference between moving a sheet and copying it?
Moving removes the sheet from the source file and places it in the destination file. Copying leaves the original sheet in place and creates a duplicate in the destination file. Use drag with Ctrl held to copy, or drag without Ctrl to move.