Section 02 • Excel Consolidate Function Tutorial
Excel Consolidate Function:
Step-by-Step Example with Multiple Worksheets
The Excel Consolidate function
makes it possible to summarize information
from multiple worksheets without creating
separate formulas for every source range.
In this practical tutorial, you will learn
how to combine branch-wise sales data
into one accurate consolidated report.
We will use a realistic business reporting
scenario involving two sales branches.
Each branch maintains its own worksheet,
and management needs one combined
product-wise sales summary.
You will learn how to prepare the source data,
configure Excel Consolidate,
select category-based matching,
and verify the final results.
What You Will Learn
By completing this example, you will know
how to consolidate data from multiple
worksheets in Excel, use the Sum function,
match records by product labels,
and validate the output using Excel formulas.
Software requirement:
A desktop version of Microsoft Excel
that supports the Data → Consolidate command.
Example workbook:
Three worksheets named Branch A,
Branch B, and Summary.
Example 1: Excel Consolidate Function for Branch-Wise Sales
Suppose a company operates two branches
selling laptops, keyboards, and computer mice.
The sales team maintains separate Excel files
or worksheets for each branch.
At the end of the reporting period,
management wants to know the total sales
value for each product across both branches.
Instead of preparing multiple SUMIF formulas,
the reporting executive can use
Excel Consolidate by category.
In our example, the product names appear
in a different order in the two worksheets.
Category-based consolidation is therefore
more appropriate than consolidation by position.
Step 1: Prepare the Excel Source Worksheets
Open a new Excel workbook and create
three worksheets with the following names:
Branch A,
Branch B, and
Summary.
Enter the sample information shown below
in cells A1:B4 on the Branch A and
Branch B worksheets.
The first row contains the column headers,
followed by three product records.
Worksheet 1: Branch A
Source data range: A1:B4
Branch A Total: ₹48,000
Worksheet 2: Branch B
Source data range: A1:B4
Branch B Total: ₹37,000
The branch totals shown beneath the tables
are calculated for explanation.
Do not enter them inside the source ranges
A1:B4, because the consolidation should
include only the three product rows.
Notice that Laptop appears first in
Branch A but second in Branch B.
The Excel Consolidate function can still
calculate the correct product totals
when matching category labels.
Step 2: How to Use the Excel Consolidate Function
Now that the source information is ready,
follow these steps to configure the
Excel Consolidate dialog.
We will choose Sum as the calculation function
and use the source column labels for matching.
01
Open the Summary Worksheet
Select the blank worksheet named
Summary.
Click cell A1, where the consolidated
report should begin.
Make sure the destination area is empty.
Excel needs sufficient space to
display the summary results.
02
Open the Consolidate Command
From the Excel Ribbon,
select the Data tab.
In the Data Tools group,
click Consolidate.
The dialog box contains options for
Function, Reference, All references,
Use labels in, and
Create links to source data.
03
Choose Sum as the Function
Open the Function dropdown
and select Sum.
This instructs Excel to add matching
product sales values together.
For example, Laptop sales from
both branches will be added
to calculate the combined amount.
Other functions, including Average,
Count, Maximum, and Minimum,
can be used for different reporting needs.
04
Add the Branch A Reference
Click the Reference input box.
Select the Branch A worksheet
and highlight cells A1:B4.
The reference should look like:
'Branch A'!$A$1:$B$4
Click Add.
The reference will be displayed
in the All references list.
05
Add the Branch B Reference
Repeat the same procedure
for the Branch B worksheet.
Select cells A1:B4 and click Add.
'Branch B'!$A$1:$B$4
You should now see both
source ranges listed in
the All references section.
Both ranges include the header row
and product-name column.
These labels are needed for
category-based consolidation.
06
Enable Excel Consolidate by Category
Under Use labels in,
enable both of these options:
The Top row option identifies
column headings such as Sales.
The Left column option matches
product labels such as Laptop,
Mouse, and Keyboard.
This allows Excel to summarize
matching categories even when
they appear in different row positions.
07
Choose the Source Link Setting
For this initial example,
leave Create links to
source data unchecked.
This creates a static summary
using the selected source values.
If you want linked consolidation
results that can reflect changes
in existing source values,
the Create links option
can be used where supported.
08
Generate the Consolidated Report
Check that Sum is selected,
both source ranges have been added,
and the appropriate label
options are enabled.
Click OK.
Excel now calculates the
combined product sales values
and displays the results
in the Summary worksheet.
Step 3: Expected Excel Consolidate Function Output
After completing the previous steps,
your Summary worksheet should contain
the following product-wise sales totals.
The product order may differ,
but the calculated values should match.
Consolidated Product Sales Report
This report summarizes sales
from Branch A and Branch B.
Calculated Grand Total
₹85,000
The grand total shown above is calculated
separately by adding the three
consolidated product amounts.
Step 4: Verify the Excel Consolidate Results
Whenever data is combined from multiple
worksheets, it is important to verify
the output rather than assuming the
consolidation is correct.
In our example, the Excel Consolidate
function should generate these totals:
Manual Calculation Verification
Laptop Sales:
35,000 + 22,000 =
57,000
Mouse Sales:
9,000 + 8,000 =
17,000
Keyboard Sales:
4,000 + 7,000 =
11,000
Grand Total:
57,000 + 17,000 + 11,000 =
₹85,000
We can also verify the combined
sales amount using a standard
Excel SUM formula.
=SUM('Branch A'!B2:B4,'Branch B'!B2:B4)
Enter this formula in an unused cell.
The expected result is
85000.
This matches the combined value
from the Consolidate output.
Step 5: Validate Individual Product Sales with SUMIF
In addition to checking the grand total,
you can validate individual product values
using the SUMIF function.
For example, to calculate combined
Laptop sales from both branches,
enter the following formula:
=SUMIF('Branch A'!A2:A4,"Laptop",'Branch A'!B2:B4)+SUMIF('Branch B'!A2:A4,"Laptop",'Branch B'!B2:B4)
The first SUMIF calculates Laptop
sales from Branch A.
The second SUMIF calculates Laptop
sales from Branch B.
Adding the two results produces
57000.
This should match the Laptop amount
in the consolidated report.
Important reporting tip:
Do not include existing subtotal or grand-total
rows inside the source ranges.
Including those figures may produce
inflated consolidated results.
Also check that product labels match
consistently across worksheets.
What Are the Business Benefits of This Example?
This consolidation method can be used
by sales executives, MIS professionals,
accountants, and department managers
who regularly prepare numerical summaries
from multiple Excel worksheets.
Instead of manually calculating product totals,
the Excel Consolidate function provides
a consistent process for preparing
aggregated reports.
The same approach can be adapted
for branch expenses, regional budgets,
monthly production summaries,
and inventory valuation.
For large transaction datasets
requiring repeated data cleaning,
detailed row-level analysis,
or frequent changes to source structures,
Power Query or Power BI may be
more suitable alternatives.
In the next section,
you will explore advanced consolidation,
common mistakes, source linking,
Power Query comparisons,
and frequently asked questions.
Explore Advanced Excel Consolidate Examples →