To consolidate data in Microsoft Excel for Microsoft 365 on Windows, select the destination cell, then choose Data > Consolidate. Pick a summary function, add each source range, and choose whether Excel should match labels in the top row or left column; select Create links to source data if you want linked results rather than a one-time summary.
What Excel’s Consolidate command does
Excel’s Consolidate feature combines values from multiple ranges into one summary range. It is designed for situations such as bringing monthly figures from several worksheets into an annual summary, or combining comparable reports from different branches. Depending on the function selected, Excel can add values, calculate averages, count entries, or find minimums and maximums.
The command is different from simply copying and pasting ranges together. Consolidate calculates a result for each matching position or label. It does not create a single detailed table containing every original row, and it does not automatically clean inconsistent data. That distinction matters: a summary of department totals is a good fit, while assembling thousands of transaction records into one analysis table usually calls for Power Query.
Consolidate is available in the desktop Excel application. In Excel for the web, the command may not be available, so open the workbook in desktop Excel if you need this particular tool. Ribbon placement can vary slightly with window size or customization; in Windows Microsoft 365, look on the Data tab in the Data Tools group.
Prepare source ranges before combining them
Good source data makes the result easier to trust. Put each source in a clearly identified worksheet or workbook, and use a consistent structure. If you plan to consolidate by category, give equivalent categories the same label in every range. For example, use East in all reports rather than East in one and Eastern in another. Labels with different wording may be treated as separate categories.
- Keep the relevant values in a rectangular range, with headings in a consistent row or column.
- Use one row or column for category labels, and avoid merged cells in the source area.
- Check that numbers are stored as numbers, not as text that merely looks numeric.
- Remove unrelated totals from source ranges if including them would count the same figures twice.
- Decide where the summary should go, and leave enough blank space for its rows and columns.
For example, three worksheets might each contain a department name in column A, a month heading in row 1, and sales figures in the cells beneath those headings. If the months and department names are consistent, Excel can consolidate by both the top-row and left-column labels. If the layouts differ, tidy or standardize them before relying on the summary.
How to use Data > Consolidate
On Windows, the basic process is to create a destination worksheet or choose an empty area, then open the Consolidate dialog from the Data tab. The destination’s upper-left cell is where Excel places the summary. Use this sequence:
- Select the destination cell. If the output should be on a new sheet, create that sheet first and select its intended starting cell.
- Choose Data > Consolidate. In the Function list, select the calculation you need, such as Sum or Average.
- Click in the Reference box and select the first source range. Click Add to put it in the All references list.
- Repeat for each additional source range. Check that every intended range appears in the list and that no range has been added twice.
- If your ranges have headings, select Top row, Left column, or both, as appropriate. These options tell Excel to match labels rather than relying only on cell positions.
- Select Create links to source data if you want a linked outline of results. Leave it cleared for a consolidated result that is not linked to the source cells.
- Click OK, then compare several output values with the source ranges to confirm that the setup is right.
In the Reference box, you can select cells with the dialog open and add them, or enter a range reference. For a source on another worksheet, switch to that sheet and select its range. Add each range separately. If a source is in another workbook, make sure the reference points to the intended file and sheet; keeping source files in a stable location helps avoid broken external links later.
Consolidating by position or by category
Consolidate can combine ranges by position or by labels. By position means that the value in the first cell of each source is combined with the value in the first cell of every other source, the second with the second, and so on. This works when the ranges have the same layout and the same categories appear in the same order. It can produce misleading results if one report inserts an extra row or sorts its categories differently.
Consolidating by category means Excel uses the labels in the top row, left column, or both to match corresponding values. For instance, if one worksheet lists Sales before Support and another lists Support before Sales, selecting Left column lets Excel match the department labels rather than assume that the first rows correspond. Selecting Top row is useful when headings such as January and February identify columns.
Use label matching when the order may vary, but do not assume it resolves every data-quality issue. A missing label, spelling variation, or different heading can lead to a separate output category or an incomplete match. Inspect the labels in the result as well as the figures. If the reports have several header rows, extra notes, or inconsistent layouts, prepare a clean intermediate range first.
Choose the right summary function
The Function list determines how Excel combines the source values associated with a position or label. Sum is common for sales, expenses, units, and other additive measures. Average can summarize comparable rates or scores, but averaging averages can be inaccurate when the underlying groups have different numbers of observations. In that case, combine the underlying totals and counts, or use a method that preserves the detail needed for a weighted calculation.
Other available choices include Count and Count Numbers, which count different kinds of entries; Max and Min, which return the largest and smallest values; Product; and statistical functions such as StdDev, StdDevp, Var, and Varp. Choose a function that fits what the numbers mean, not merely one that gives a plausible-looking output. For example, summing monthly percentages is rarely a meaningful annual percentage.
Text labels help identify categories, but the selected calculation is intended to summarize source values. If your ranges include text, blanks, subtotals, or error values, verify how those entries affect the result and remove or handle unwanted content in the source data. A quick manual check of one category is often enough to catch a mistaken function or an accidentally included total.
Example: combine regional monthly reports
Suppose North, South, and West worksheets each contain a small table of sales by product. Column A lists products, row 1 lists months, and the remaining cells contain sales amounts. To build a combined report, select an empty destination cell and open Data > Consolidate. Choose Sum, add the corresponding table range from each regional sheet, and select both Top row and Left column. Excel can then match a product and month even if a product appears in a different row order on one sheet.
After clicking OK, the result should show combined sales for each matching product-and-month combination. Check one cell by locating that same product and month on all three source sheets and adding the figures. Also check the final row and column: a source range that accidentally includes a pre-existing total can make the consolidated total too large. Save the workbook after verifying the summary, especially if it relies on references to other files.
Linked results, updates, and refresh expectations
With Create links to source data selected, Excel builds links back to the source cells and organizes the output with an outline structure. This can make it possible to expand or collapse detail beneath summary values. Changes to source values can flow through those links when Excel recalculates, although links to other workbooks may require the source file to be available or may trigger an update prompt.
Without that option, the output is a consolidated result rather than a live connection to the source cells. If the source reports change, do not assume the existing summary has updated. Run Consolidate again with the current ranges, or use a different tool if recurring updates are part of the workflow. In either case, check the output after changing the source layout: adding rows outside the original range does not necessarily make those rows part of the existing consolidation.
Linked results are useful when a workbook needs traceable references, but links can become fragile if files are renamed, moved, or shared without their source workbooks. A static result can be simpler for a fixed snapshot. Choose based on whether you need ongoing linkage, a point-in-time total, or a repeatable process that can accommodate changing data.
Common problems and how to prevent them
- Unexpectedly separate categories: Check spelling and wording in the row and column labels. Standardize equivalent labels before consolidating.
- Totals that are too high: Look for duplicated references, included subtotals, or a source range that extends into unrelated data.
- Values combined in the wrong rows: Confirm that you selected the correct label options. If matching by position, make sure every range has the same order and shape.
- Missing figures: Verify that the relevant source cells are inside the selected ranges and that values are numeric where a numeric summary is expected.
- Links that do not work later: Check the source workbook path and whether the workbook is available. Avoid moving linked files without updating the references.
- New rows do not appear: Reopen Consolidate and add the expanded range, or use a workflow designed to include growing tables.
A useful review is to compare the number of categories in the output with the source reports, then check a few sample calculations and the overall total. If the source data is large, inconsistent, or business-critical, retain the original reports and document which ranges and function were used. A summary is only as reliable as the references and assumptions behind it.
When formulas, PivotTables, or Power Query are better
Consolidate is convenient for a small number of similar ranges and a straightforward summary. It is not always the best long-term method. A PivotTable is often more flexible when you want to filter, rearrange fields, or explore categories interactively. Power Query is a stronger choice when reports need repeatable cleanup, when new files arrive regularly, or when you need to append rows from multiple sources into one detailed table before analysis.
Formulas can be preferable when you want the summary logic visible in cells and need a custom calculation. For example, a formula-based summary can make criteria explicit, while Consolidate packages the range selection and function in a dialog. The right choice depends on whether the goal is a quick combined total, a reusable data-import process, an interactive report, or a transparent calculation model.
Do not confuse consolidation with simply stacking records. If each regional sheet contains individual orders and the aim is to make one list of all orders, summing same-position cells is the wrong operation. Append the records with Power Query or combine them into a consistent table, then summarize the resulting data with a PivotTable or other analysis tool.
Frequently Asked Questions
Where is Consolidate in Excel?
In desktop Excel for Microsoft 365 on Windows, select the Data tab and choose Consolidate in the Data Tools group. Excel for the web may not include this command; open the workbook in the desktop app if it is missing.
Can Excel consolidate data from multiple worksheets?
Yes. Add each worksheet’s range to the All references list in the Consolidate dialog. The ranges can be on different sheets, and the label options can match corresponding categories when their order differs.
Does Consolidate update automatically when source data changes?
Results created with Create links to source data can reflect changes through their links, subject to recalculation and any external-workbook link requirements. Without links, treat the result as a snapshot and run the consolidation again when the source changes.
Why does Excel show the same category more than once?
The labels in the source ranges may not match exactly, or you may have consolidated by position instead of by category. Standardize the labels and select the relevant Top row or Left column option.
Should I use Consolidate or Power Query?
Use Consolidate for a quick summary of a few similar ranges. Choose Power Query when you need to append detailed rows, clean inconsistent reports, or repeat the same import and transformation process as new data arrives.
Related
- Excel Showing Page Break Lines? How to Hide Them
- Excel Shortcut Keys: Examples for Everyday Tasks
- Excel Shortcut Keys: Does Uppercase Actually Matter?
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Google Sheets SPLIT Function: How to Split Text into ColumnsTo split text into separate columns in Google Sheets, put the original text in A2 and enter =SPLIT(A2,",")…
- Google Sheets Zoom: How to Zoom In or Out on Any DeviceTo zoom out in Google Sheets in a web browser, click the zoom percentage in the toolbar and…
- Schedule Recurring Emails in Outlook: Your OptionsOutlook can schedule a single email, but it does not have a built-in option to send the same…
- Delete a Page in Word: The Quick Keyboard ShortcutTo delete a page in Word quickly, click anywhere on the page, press Ctrl+G on Windows (or Option+Command+G…
- Excel Page Break Dashed Line: What It MeansAn Excel dashed line usually marks an automatic page break: the boundary Excel currently expects to use when…
- How to Make Serial Numbers in Excel: 4 Easy MethodsTo make serial numbers in Excel, enter 1 and 2 in the first two cells, select both, then…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.