Skip to content

Combine same-shaped reports with Consolidate

Clean up messy data7 minPremium

Builds on Use values from other sheets.

Three branch managers in Ohio send the regional office their quarterly sales by product, each on a sheet of their own. The products come in a different order on every sheet, and the Dayton branch doesn't sell printers at all.

How it works

Data > Consolidate combines ranges from several sheets, or from several places on one sheet, into one summary with a function such as Sum, Average or Count.

  1. Click the top-left cell of an empty area for the summary.
  2. Choose Data > Consolidate and pick the Function.
  3. Click in Reference, select the first range with its labels, such as Columbus!$A$1:$B$5, and click Add. Do the same for each range.
  4. Under Use labels in, tick Top row and Left column, then click OK.

With both boxes ticked, Consolidate matches the ranges by their labels. A product on row 3 of one sheet and row 5 of another adds up in one row, and a product only one branch sells gets a row of its own. Without labels, it adds the cells that sit in the same position, so every range needs the same layout, and the summary gets numbers but no labels.

The summary holds plain numbers. When a branch sends new figures, select the summary, open Consolidate again and click OK, since Excel keeps the references. With Create links to source data ticked, Excel writes formulas instead, in an outline, when the ranges are on other sheets. For sheets that share one layout and change often, a formula across sheets such as =SUM(Columbus:Toledo!B2) updates by itself.

Example

Two branches and the summary built from them, with both label boxes ticked:

With labels ticked, each product adds up by name, wherever it sits on each sheet. Printers appear once, with Columbus's figure alone.

Common mistakes

  • Labels left unticked when the order differs. Consolidate then adds Dayton's Monitors to Columbus's Laptops, row by row. Tick Top row and Left column.
  • Ranges selected without their labels. With the labels ticked, the first row and column of each range must hold them, so select the headings too.
  • Labels that don't match exactly, such as Laptop and Laptops. Each spelling gets its own row. Fix the names first.

In short

  • Data > Consolidate adds up several ranges into one summary with Sum or another function.
  • Tick Top row and Left column to match by label, so the order on each sheet doesn't matter.
  • The summary holds values: run it again after changes, or use a formula across sheets for reports that change often.

Practice

Premium

3 exercises: 2 dialogs and 1 quiz question.

Practice is part of Premium

Every lesson is free to read, and you can practice the free lessons without an account. This lesson's exercises are part of Premium, which you add to a free account.