Excel 2024: Consolidate Quarterly Worksheets
April 30, 2024 - by Bill Jelen
There are two ancient consolidation tools in Excel.
To understand them, say that you have three data sets. Each has names down the left side and months across the top. Notice that the names are different, and each data set has a different number of months.
|
Illustration: Cartoon Bob D'Amico |
You want to combine these into a single data set.
The first tool is the Consolidate command on the Data tab. Choose a blank section of the workbook before starting the command. Use the RefEdit button to point to each of your data sets and then click Add. In the lower left, choose Top Row and Left Column.
When you click OK, a superset of all three data sets is produced. The first column contains any name in any of the three data sets. Row 1 contains any month in any data set.
In the above figure, notice three annoyances: Cell A1 is always left blank, the data in A is not sorted, and if a person was missing from a data set, then cells are left empty instead of being filled with 0.
Filling in cell A1 is easy enough. Sorting by name involves using Flash Fill to get the last name in column N. Here is how to fill blank cells with 0:
1. Select all of the cells that should have numbers: B2:M11.
2. Press Ctrl+H to display Find & Replace.
3. Leave the Find What box empty, and type a zero in the Replace With: box.
4. Click Replace All.
The result: a nicely formatted summary report, as shown below.
The other ancient tool is the Multiple Consolidation Range pivot table. Follow these steps to use it:
1. Press Alt+D, P to invoke the Excel 2003 Pivot Table and Pivot Chart Wizard.
2. Choose Multiple Consolidation Ranges in step 1 of the wizard. Click Next.
3. Choose I Will Create the Page Fields in step 2a of the wizard. Click Next.
4. In Step 2b of the wizard, use the RefEdit button to point to each table. Click Add after each.
5. Click Finish to create the pivot table, as shown below.
Thanks to CTroy for suggesting this feature.
This article is an excerpt from MrExcel 2024 Igniting Excel
Title photo by Patrick Tomasso on Unsplash