0% found this document useful (0 votes)
8 views

Consolidate in Excel_ Merge multiple sheets into one

The document provides a tutorial on how to consolidate and merge multiple Excel sheets into one worksheet using various methods, including the built-in Excel Consolidate feature, VBA code, and Power Query. It outlines steps for consolidating numeric data and merging sheets by copying data, as well as utilizing tools from the Ultimate Suite for Excel. Additionally, it discusses merging sheets based on key columns using VLOOKUP or the Merge Tables Wizard.

Uploaded by

s.saneep4678
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Consolidate in Excel_ Merge multiple sheets into one

The document provides a tutorial on how to consolidate and merge multiple Excel sheets into one worksheet using various methods, including the built-in Excel Consolidate feature, VBA code, and Power Query. It outlines steps for consolidating numeric data and merging sheets by copying data, as well as utilizing tools from the Ultimate Suite for Excel. Additionally, it discusses merging sheets based on key columns using VLOOKUP or the Merge Tables Wizard.

Uploaded by

s.saneep4678
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Firefox https://www.ablebits.com/office-addins-blog/consolidate-excel-merge-s...

Consolidate data in Excel and merge multiple


sheets into one worksheet
by Svetlana Cheusheva, updated on August 21, 2023

The tutorial demonstrates different ways to combine sheets in Excel depending on what result you are after
- consolidate data from multiple worksheets, combine several sheets by copying their data, or merge two
Excel spreadsheets into one by the key column.

Today we will tackle a problem that many Excel users are struggling with daily - how to merge multiple
Excel sheets into one without copying and pasting. The tutorial covers two most common scenarios:
consolidating numeric data (sum, count, etc.) and merging sheets (i.e. copying data from multiple
worksheets into one).

How to consolidate data in Excel

How to merge Excel sheets into one

Combine sheets with Ultimate Suite

Merge sheets using VBA code

Combine data from multiple worksheets with PowerQuery

Merge two Excel sheets into one by the key column

Consolidate data from multiple worksheets in a single


worksheet
The quickest way to consolidate data in Excel (located in one workbook or multiple workbooks) is by
using the built-in Excel Consolidate feature.

Let's consider the following example. Supposing you have a number of reports from your company
regional o�ces and you want to consolidate those �gures into a master worksheet so that you have
one summary report with sales totals of all the products.

As you see in the screenshot below, the three worksheets to be consolidated have a similar data
structure, but di�erent numbers of rows and columns:

1 of 11 2/15/2025, 2:23 PM
Firefox https://www.ablebits.com/office-addins-blog/consolidate-excel-merge-s...

To consolidate the data in a single worksheet, perform the following steps:

1. Arrange the source data properly. For the Excel Consolidate feature to work correctly, make sure
that:

Each range (data set) you want to consolidate resides on a separate worksheet. Don't put any
data on the sheet where you plan to output the consolidated data.

Each sheet has the same layout, and each column has a header and contains similar data.

There are no blank rows or columns within any list.

2. Run Excel Consolidate. In the master worksheet, click the upper-left cell where you want the
consolidated data to appear, go to the Data tab and click Consolidate.

Tip. It's is advisable to consolidate data into an empty sheet. If your master worksheet already
has some data, make sure there is enough space (blank rows and columns) to contain the
merged data.

3. Con�gure the consolidation settings. The Consolidate dialog windows appears and you do the
following:

In the Function box, select one of the summary functions you want to use to consolidate your
data (Count, Average, Max, Min, etc.). In this example, we select Sum.

In the Reference box, clicking the Collapse Dialog icon and select the range on the �rst

2 of 11 2/15/2025, 2:23 PM
Firefox https://www.ablebits.com/office-addins-blog/consolidate-excel-merge-s...

worksheet. Then click the Add button to have that range added to the All references Repeat this
step for all the ranges you want to consolidate.

If one or some of the sheets reside in another workbook, click the Browse bottom to locate the
workbook.

4. Con�gure the update settings. In the same Consolidate dialog window, select any of the following
options:

Check the Top row and/or Left column boxes under Use labels if you want the row and/or column
labels of the source ranges to be copied to the consolidation.

Select the Create links to source data box if you want the consolidated data to update
automatically whenever the source data changes. In this case, Excel will create links to your
source worksheets as well as an outline like in the following screenshot.

If you expand some group (by clicking the plus outline symbol), and then click on the cell with a
certain value, a link to the source data will display in the formula bar.

3 of 11 2/15/2025, 2:23 PM
Firefox https://www.ablebits.com/office-addins-blog/consolidate-excel-merge-s...

As you see, the Excel Consolidate feature is very helpful to pull together data from several worksheets.
However, it does have a few limitations. In particular, it works for numeric values only and it always
summarizes those numbers in one way or another (sum, count, average, etc.)

If you want to merge sheets in Excel by copying their data, the consolidation option is not the way to
go. To combine just a couple of sheets, you may not need anything else but the good old copy/paste.
But if you are to merge tens of sheets, errors with manual copying/pasting are inevitable. In this case,
you may want to employ one of the following techniques to automate the merge.

How to merge Excel sheets into one


Overall, there are four ways to merge Excel worksheets into one without copying and pasting:

Combine sheets with Ultimate Suite

VB scripts

Power Query for Excel

Merge two Excel sheets into one by the key column(s)

How to combine Excel spreadsheets with Ultimate Suite


The built-in Excel Consolidate feature can summarize data from di�erent sheets, but it cannot
combine sheets by copying their data. For this, you can use one of the merge & combine tools
included with our Ultimate Suite for Excel.

Combine multiple worksheets into one with Copy Sheets


Supposing you have a few spreadsheets that contain information about di�erent products, and now
you need to merge these sheets into one summary worksheet, like this:

4 of 11 2/15/2025, 2:23 PM
Firefox https://www.ablebits.com/office-addins-blog/consolidate-excel-merge-s...

With the Copy Sheets added to your ribbon, the 3 simple steps is all it takes to merge the selected
sheets into one.

1. Start the Copy Sheets Wizard.

On the Excel ribbon, go to the Ablebits tab, Merge group, click Copy Sheets, and choose one of the
following options:

Copy sheets in each workbook to one sheet and put the resulting sheets to one workbook.

Merge the identically named sheets to one.

Copy the selected sheets to one workbook.

Combine data from the selected sheets to one sheet.

Since we are looking to combine several sheets by copying their data, we pick the last option:

5 of 11 2/15/2025, 2:23 PM
Firefox https://www.ablebits.com/office-addins-blog/consolidate-excel-merge-s...

2. Select worksheets and, optionally, ranges to merge.

The Copy Sheets wizard displays a list of all the sheets in all open workbooks. Select the worksheets
you want to combine and click Next.

If you don't want to copy the entire content of a certain worksheet, make use of the Collapse Dialog
icon to select the desired range as shown in the screenshot below.

In this example, we are merging the �rst three sheets:

6 of 11 2/15/2025, 2:23 PM
Firefox https://www.ablebits.com/office-addins-blog/consolidate-excel-merge-s...

Tip. If the worksheets you want to merge reside in another workbook that is currently closed,
click the Add files... button to browse for that workbook.

3. Choose how to merge sheets.

In this step, you are to con�gure additional settings so that your worksheets will be combined
exactly the way you want.

How to paste the data:

Paste all - copy all the data (values and formulas). In most cases, it is the option to choose.

Paste values only - if you don't want formulas from the original sheets to be pasted into the
summary worksheet, select this option.

Create links to source data - this will inset formulas linking the merged data to the source data.
Select this option if you want the merged data to update automatically whenever any of the
source data changes. It works similarly to the Create links to source data option of Excel
Consolidate.

How to arrange the data:

Place copied ranges one under another- arrange the copied ranges vertically.

Place copied ranges side by side - arrange the copied ranges horizontally.

How to copy the data:

Preserve formatting - self-explanatory and very convenient.

Separate the copied ranges by a blank row - select this option if you want to add an empty row
between data copied from di�erent worksheets.

Copy tables with their headers. Check this option if you want the table headers to be included in
the resulting sheet.

The screenshot below shows the default settings that work just �ne for us:

7 of 11 2/15/2025, 2:23 PM
Firefox https://www.ablebits.com/office-addins-blog/consolidate-excel-merge-s...

Click the Copy button, and you will have the information from three di�erent sheets merged into
one summary worksheet like shown in the beginning of this example.

Other ways to combine sheets in Excel


Apart from the Copy Sheets wizard, the Ultimate Suite for Excel provides a few more merging tools to
handle more speci�c scenarios.

Example 1. Merge Excel sheets with a di�erent order of columns


When you are dealing with the sheets created by di�erent users, the order of columns is often
di�erent. How do you handle this? Will you be copying the sheets manually or moving columns in
each sheet? Neither! Commit the job to our Combine Sheets wizard:

And the data will be combined perfectly by column headers:

8 of 11 2/15/2025, 2:23 PM
Firefox https://www.ablebits.com/office-addins-blog/consolidate-excel-merge-s...

Example 2. Merge speci�c columns from multiple sheets


If you have really large sheets with tons of di�erent columns, you may want to merge only the most
important ones to a summary table. Run the Combine Worksheets wizard and select the relevant
columns. Yep, it's that easy!

As the result, only the data from the columns that you selected get into the summary sheet:

9 of 11 2/15/2025, 2:23 PM
Firefox https://www.ablebits.com/office-addins-blog/consolidate-excel-merge-s...

These examples have demonstrated only a couple of our merge tools, but there is much more to it!
After experimenting a bit, you will see how useful all the features are. The fully functional evaluation
version of the Ultimate Suite is available for download at the end of this post.

Merge sheets in Excel using VBA code


If you are a power Excel user and feel comfortable with macros and VBA, you can combine multiple
Excel sheets into one by using some VBA script, for example this one.

Please keep in mind that for the VBA code to work correctly, all of the source worksheets must have
the same structure, the same column headings and same column order.

Combine data from multiple worksheets with Power Query


Power Query is a very powerful technology to combine and re�ne data in Excel. At that, it's rather
complex and requires a long learning curve. The following tutorial explains the common uses in detail:
Combine data from multiple data sources (Power Query).

How to merge two Excel sheets into one by the key column(s)

10 of 11 2/15/2025, 2:23 PM
Firefox https://www.ablebits.com/office-addins-blog/consolidate-excel-merge-s...

If you are looking for a quick way to match and merge data from two worksheets, then you can either
employ the Excel VLOOKUP function or embrace the Merge Tables Wizard. The latter is a visual user-
friendly tool that lets you compare two Excel spreadsheets by a common column(s) and pull matching
data from the lookup table. The following screenshot demonstrates one of possible results.

The Merge Tables wizard is also included with the Ultimate Suite for Excel.

This is how you consolidate data and merge sheets in Excel. I hope you will �nd the information in this
short tutorial helpful. Anyway, I thank you for reading and look forward to seeing you on this blog
next week!

11 of 11 2/15/2025, 2:23 PM

You might also like