Excel Consolidate Function
Consolidate is an inbuilt function in excel which is used to consolidate data from different workbooks which are opened at the same time, this function is present in the data tab, what this function does it that it allows us to select multiple data from different workbooks and consolidate it in a final workbook.
How to Use Consolidate in Excel? (with Examples)
Example #1: Consolidate Multiple Worksheets into One
Before I explain to you about the consolidating function in excel, I would want you to download the workbook from the above link to practice along with me to learn this feature.
Assume you have received data from three worksheets in the same workbook, as shown in the below picture.
We have sales data of four zones in three different sheets.
Now we need to collate this data into a single worksheet; for this in a separate sheet, I have created a template named Consolidated Sheet.
Follow the below steps.
- Select the cell B2 in the “Consolidate Sheet”.
- Go to the Data ribbon and click on Consolidate.
- As soon as we click on “Consolidate”, we will get below the Consolidate window.
- In the above window first item to see is the Function drop-down list in excel. In this drop-down list, we can select any function to consolidate the data.
Based on the type of consolidation we need to do, we need to select the desired function. In this example, I want to create a summary of the total sales of three different worksheets. So I will select the SUM function in excel, which is the default.
- Next, we need to add the reference of each worksheet sale number cells. Click on the reference box and select the sales number in the worksheet “File 1”.
- Once the reference is selected, click on ADD. It will add your selected references to all references.
- Now by placing a cursor back to reference, go to the second worksheet, i.e., “File 2”.
- It will automatically select the range of cells as we selected in the previous worksheet. Now again, click on Add to add the reference.
- Now finally repeat the same step for the File 3 worksheet.
- Ok, we are done with the reference process. Click on OK to get the consolidated summary in the “Consolidate Sheet”.
Wow is the word to describe, isn’t it??
How cool it is if we get the breakup of all the numbers along with the total. Yes, I know this what you need now. Let’s create that as well.
Example #2: Dynamic Consolidate With Links to Source Data
How cool it is if we can create a link to the source so that whenever we make some changes in the source sheet, it should reflect in the summary sheet instantly.
Below is the example screenshot of the same.
As we can see, some rows are grouped together, which can be expanded by clicking on the PLUS button. So, Zone “E” has three different worksheet numbers, and in cell B5, we have a summary of all the three worksheet numbers.
To create a link while giving a reference, we need to check the box of “Create Link to Source Data.”
This will create a link to the sourced data cells. Now we can see this in the cell referencesCell ReferencesCell reference in excel is referring the other cells to a cell to use its values or properties. For instance, if we have data in cell A2 and want to use that in cell A1, use =A2 in cell A1, and this will copy the A2 value in A1..
Example #3 – Consolidate Data to Blank Worksheet
In the above example, we have created a template in the worksheet “Consolidate Sheet,” and then we have consolidated the data. We can also consolidate without creating the template as well.
For this, first, add a blank sheet then follow the same procedure as above, but while giving references, we need to select the entire data range.
Select the complete data range instead of only the numbers column.
Repeat the same action for all the three worksheets.
Once the reference is given, we need to click on the checkboxes of “Top Row,” “Left Column” to create labels.
Once this is given, click on OK to the blank worksheet; it will create a consolidated summary like the below one.
Like this, we can use excel Consolidate function to consolidate the data from different worksheets.
This has been a guide to Consolidate in Excel. Here we discuss how to use the consolidate function to consolidate data from different worksheets along with examples & a downloadable excel template. You can learn more about excel from the following articles –