Data consolidation

Occasional Reader

How do i consolidate data in excel


1 Reply


Data consolidation in Excel involves combining data from multiple ranges, worksheets, or workbooks into a single summary worksheet. Here are several methods to achieve this:

Method 1: Using the Consolidate Tool

  1. Prepare Your Data:
    • Ensure your data ranges have labels in the first row or column.
    • Data ranges should be structured similarly (same columns for different ranges).
  2. Open the Consolidate Tool:
    • Go to the Data tab on the Ribbon.
    • Click on Consolidate in the Data Tools group.
  3. Choose the Consolidation Function:
    • In the Consolidate dialog box, select the function you want to use (e.g., Sum, Average, Count).
  4. Add the Data Ranges:
    • Click on Add to include each data range you want to consolidate.
    • You can select ranges from different sheets and workbooks by browsing and selecting the ranges.
  5. Specify Labels:
    • If your data ranges have labels in the top row and/or left column, check the appropriate boxes to use these labels in the consolidation.
  6. Create the Consolidated Data:
    • Choose where you want the consolidated data to appear (same worksheet, new worksheet).
    • Click OK to perform the consolidation.

Method 2: Using Power Query

Power Query is a powerful tool for consolidating data from multiple sources. Here's how to use it:

  1. Load Data into Power Query:
    • Go to the Data tab on the Ribbon.
    • Click on Get Data and choose the data source (e.g., From Workbook, From Folder, From Database).
  2. Combine Queries:
    • Load multiple data sources into Power Query Editor.
    • Use the Append Queries option to combine data from different sources.
    • If your data requires transformations (e.g., renaming columns, changing data types), you can perform these within Power Query Editor.
  3. Load Consolidated Data to Excel:
    • Once the data is consolidated and transformed, click Close & Load to import the consolidated data into Excel.

Method 3: Using Formulas

For simple consolidations, you can use Excel formulas like SUM, SUMIF, VLOOKUP, or INDEX and MATCH.

  1. SUM Across Sheets:
    • If you need to sum data across multiple sheets, use a formula like:


  1. SUMIF for Conditional Summing:
    • To sum values based on criteria across different ranges:

=SUMIF(Sheet1!A:A, "Criteria", Sheet1!B:B) + SUMIF(Sheet2!A:A, "Criteria", Sheet2!B:B)

Method 4: Using Pivot Tables

Pivot Tables can be used to consolidate and analyze data from multiple ranges.

  1. Prepare Your Data:
    • Ensure your data is structured similarly across different ranges.
  2. Create a Pivot Table:
    • Go to the Insert tab on the Ribbon.
    • Click on PivotTable.
    • Choose Use an external data source and click Choose Connection to select your data ranges.
  3. Analyze and Consolidate:
    • Set up your Pivot Table to analyze and summarize the data as needed.

Example: Consolidating Data with the Consolidate Tool

Assume you have the following data in two sheets:















  1. Open Consolidate Tool:
    • Go to Data > Consolidate.
  2. Select Sum Function:
    • Choose Sum.
  3. Add Ranges:
    • Click Add and select Sheet1!$A$1:$B$3.
    • Click Add again and select Sheet2!$A$1:$B$3.
  4. Use Labels:
    • Check Top row and Left column.
  5. Perform Consolidation:
    • Click OK.

This will consolidate the sales data from both sheets, summing up the sales for each product.

These methods should help you effectively consolidate data in Excel. The text, steps and functions were created with the help of AI. AI can make mistakes. Consider checking important information.


My answers are voluntary and without guarantee!


Hope this will help you.

Was the answer useful? Mark as best response and Like it!

This will help all forum participants.