Consolidate in Excel - Merge Multiple Sheets Into One
Consolidate in Excel - Merge Multiple Sheets Into One
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).
Let's consider the following example. Supposing you have a number of reports from your company
regional offices and you want to consolidate those figures 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 different numbers of rows and columns:
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. Configure 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 first
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. Configure 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.
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.
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:
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.
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:
Separate the copied ranges by a blank row - select this option if you want to add an empty row
between data copied from different 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 fine for us:
Click the Copy button, and you will have the information from three different sheets merged into
one summary worksheet like shown in the beginning of this example.
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.
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.
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 find the information in this
short tutorial helpful. Anyway, I thank you for reading and look forward to seeing you on this blog
next week!
Available downloads
Ultimate Suite 14-day fully-functional version (.exe file)
37 comments
1 Hannah says:
2025-02-24 at 11:50 am
Hi Alexander,
I have a very specific need. I am sending out one workbook (with one sheet to fill in) to
many different organisations to fill in and send back. I expect to get back hundreds.
What I want to be able to do is copy and paste the data from each workbook sheet that
I get back into a Master sheet. Ideally I would love them to all be added up together but
not sure if this is possible. What is the best way to go about this and prepare for all of
the excel workbooks we expect to get back? Is there a Macro that I can create now to
set this up or will I have to wait until I have received them all and know the names of
each of the workbooks sent back?
I hope this makes sense, I am a confident Excel user but my VBA Macro experience is
limited.
Thanks!
Hannah
Reply
Reply
2 NAVEEN KUMAR says:
2024-04-24 at 4:19 am
Hello Everyone,
I have 3 excel worksheets, I want their data to be auto updated in one sheet with one
condition, which is that when I enter a date in the date column of sheet 1/2/3, then that
row should go to the master sheet otherwise not. The data of the sheet should be
arranged date wise in the master sheet. Not Sheet 1 first and then Sheet 2 & 3.
Reply
Reply
Reply
I used to deal with hundreds of CSV file and since i need them as one large file, I used
the old DOS command: Copy *.csv Compil.csv
Now I am receiving those files as full excel *.xlsx
In a worksheet labelled Analyse AA, the rows are composed of headers and assay
results in multiple colums and also contains a second worksheet with QAQC data that is
not a priority for the moment.
My only method was to use a macro to select the data in the rows I needed and
copy/paste them into a compilation master file.
There is not hundreds, but thousands files to merge in this project. Browsing for a more
efficient methods, I found the VBA macro MergeExcelFiles but this is adding worksheet
instead of appending in one worsheet.
I did find a promising title: Merge sheets in Excel using VBA code but the suggested VBA
example is not accessble anymore. It was removed.
Any suggestions to help me save time? Does the Ultimate Suite for Excel would help?
Best regards
Reply
Reply
You are the only person I have found that can explain excel challenges easily - thank
you.
I have been searching for a simple solution to merge (and automatically update)
different sheets.
Specifically - I have a shared "master calendar" spreadsheet which we use to list all of
our tasks for our Navy Program. With that, all of the team leads have a individual sheet
(all with the same column heads) which they update and I would like to merge them
into a separate (master calendar sheet - same workbook).
Is there a way to do this in Excel.
Reply
Reply
Reply
5 Sara H says:
2024-01-09 at 7:45 am
Hi Alex! You're my new favorite person I have ever found on the internet!
Disclaimer: I am brand spanking new to Excel - as in, I started fooling with it for the first
time about 8 hours ago. I am starting small with my idea for data tracking and only
measuring two employees workload.
Currently, I only wish to sum / count 6 columns from each base sheet. The problem I am
facing is that the data I am looking to measure for these columns is only input as a
date. I'm trying to move that info over from the 2 base sheets to 2 summary sheets, and
they are the bane of my existence. The summary sheet rows are dates in ascending
order, and the columns are headers from the base sheet - thus the cells show the sum
of each heading category per day. This will then be consolidated into a final summary
sheet (but I have found that much easier as it is a simple sum formula with no unique
values)
This does populate the correct numerical value. HOWEVER, since the quotations
indicate a unique value / text, Excel is unable to recognize and automate the pattern.
There has to be a better way than me individually inputting the above formula for each
of the 6 cells for each corresponding date. That has me manually entering the formula
6x365(2) times.
Please help. I know there's a solution. I just have no idea how to loop it in!
Reply
6 Kevin says:
2024-01-05 at 10:49 pm
Hi Alexander, I am looking to use two separate worksheets. I want to pull in executive
contact information from one worksheet and match it with a field like company name
or an ID number for a separate worksheet that has quality scoring metrics for those
companies. The ultimate goal is merging the contact data with the companies that had
poor quality scoring to create a target sales list.
It sounds like the Merge tables wizard will do this? Thanks , Kevin
Reply
Reply
7 a-pope says:
2023-11-16 at 4:58 pm
I need to combine names and addresses for a mailing list. How do I do that?
Reply
Reply
Reply
Reply
Reply
Reply
Reply
This tool is available as a part of our Ultimate Suite for Excel that you can install in a
trial mode and use for free: https://www.ablebits.com/files/get.php?addin=xl-
suite&f=free-trial
Reply
11 Jolene says:
2020-03-10 at 12:17 pm
Hi, I would like to compile multiple data from multiple excel tabs into a table in 1 master
worksheet. Is it possible to do that?
Reply
Reply
12 paramveer says:
2019-02-08 at 9:26 am
How can i Marge all worksheet into a single worksheet within the workbook..
Headers are same
Reply
Reply
Reply
If we understand your task correctly, please have a look at our Merge Tables Wizard.
It allows you to update the data in the main table with the data from the lookup
table based on the key column(s).
Reply
14 Sam says:
2017-01-11 at 7:16 am
Hi,
I am looking for a way to merge multiple worksheets into the one consolidated sheet.
There is text and numbers that I need to move, no pieces of information are the same.
I want to be able to update the individual worksheets and have it update the main
sheet.
I used to do this @ 15 years ago, but have forgotten how it is done. I thought it was a
lookup formula, but after 3 hours at it, I can't seem to get it to work.
Hope you can help.
Sam
Reply
You can select the option Create links to the source data, which automatically
updates the results when the source data are changed. However, if some data are
added, it will not work. To add the missing data, you can use Merge Tables Wizard:
https://www.ablebits.com/excel-lookup-tables/index.php
Both these add-ins can be found in Ultimate Suite for Excel. Feel free to install its
fully-functional trial version from this page:
https://www.ablebits.com/downloads/index.php
Reply
15 Oliver says:
2016-12-10 at 10:00 am
Hi - I wish to consolidate data from multiple sheets into one sheet BUT the source data
from these sheets will change (and be added to). Which of the above methods is the
best to ensure that the end product is dynamically updated?
Thanks
Reply
It has the option Create links to the source data, which automatically updates the
results when the source data are changed. However, if some data are added, it will
not work. To add the missing data, you can use Merge Tables Wizard:
https://www.ablebits.com/excel-lookup-tables/index.php
Both these add-ins can be found in Ultimate Suite for Excel. You can install its fully-
functional trial version from this page:
https://www.ablebits.com/downloads/index.php
Reply
16 Jason says:
2016-10-30 at 11:35 pm
Hi,
Is it at all possible to merge multiple worksheets into one when the column and row
lengths all differ in the individual worksheets?
Reply
Please have a look at the Merge Tables Wizard add-in, it may help you with the task:
https://www.ablebits.com/excel-lookup-tables/index.php
Reply
17 novi says:
2016-10-02 at 8:00 am
Hi,
How can I combine 3 different sheet in one single sheet which in every sheet i have
specific column that will be related to other sheet? This is the example:
- in sheet 1, i have to take ship number and net value
- in sheet 2, i have to take ship number and billing doc
- in sheet 3, i have to take bill doc and total price
I need to summarize all sheet to make a final report with that all variable ( ship number,
net value, billing doc, and total price)
Reply
You can use our Merge Tables Wizard add-in to solve this task.
Reply
Post a comment
Your name E-mail (optional, not published)
Your comment
I have read and accept the Terms of use and Privacy Policy
Send
Thanks for your comment! Please note that all comments are pre-moderated, and off-
topic ones may be deleted.
For faster help, please keep your question clear and concise. While we can't guarantee a
reply to every question, we'll do our best to respond :)