Consolidate Duplicate Rows in Excel

If you just need to consolidate duplicate rows in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel, select the duplicates you want to change, open the Data tab, choose the matching command, and confirm.

On this page7
▤Annotated stepsExcel
1

Select the duplicates you want to change.

2

Open the Data tab on the Excel ribbon and pick the command that acts on duplicates.

3

Set any options the dialog offers, then confirm.

4

Check the result on a few duplicates before applying it to the whole sheet.

Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

What this does

Working with duplicate duplicates in Excel — which is what “consolidate duplicate rows in excel” comes down to — is really about a data step that keeps your analysis trustworthy. The mechanics of duplicates matter less than the habit behind them: keep your inputs in their own labelled cells, reference those cells instead of typing values into formulas, and let Excel recalculate the moment your data changes. That single discipline is the difference between a fix that works once and a sheet you and your colleagues can keep trusting months later. When the structure is clean, handling duplicates stops being a one-off trick and becomes a reusable pattern — you set it up once, check it against a small example in your workbook, and it holds as the data grows from a handful of rows to thousands. Search results often blur “consolidate duplicate rows in excel” together with looser questions about duplicates, but the wording here is precise on purpose. Specifically, “consolidate duplicate rows in excel” turns on consolidate duplicate rows, and that consolidate duplicate rows detail is what sets it apart from the dozen near-identical duplicate questions around it. The quickest reliable route in Excel is to build a tiny example matching your data, confirm “consolidate duplicate rows in excel” against your workbook example, and only then run it for real — that way you solve the exact consolidate duplicate rows problem you searched for, not an approximation. The thing people get wrong about “consolidate duplicate rows in excel” is treating consolidate duplicate rows as interchangeable with the generic duplicate case; it usually is not, and the few seconds you spend checking consolidate duplicate rows on a small sample is what keeps the result honest. If your real sheet differs in one detail, change that one input, re-check “consolidate duplicate rows in excel”, and the same consolidate duplicate rows method carries straight over. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for.

A worked example

Here it is in practice on your duplicates. Select the duplicates you are working with, then use the Data tab in Excel to apply the command, and confirm. Try it first on a small copy of your data — or on your workbook example — so you can see what happens to the duplicates before you commit it to the real sheet. Once the result looks right on a few duplicates, the same steps scale to the whole table without any extra work. Why bother getting your duplicates right here? Trustworthy analysis starts with trustworthy data, and a careful data step here is what keeps every total and chart downstream honest. Set it up once with a small example in your workbook to check your work, and it keeps paying off every time you reopen the sheet. People reach this page for “consolidate duplicate rows in excel” specifically, not for duplicates in general. Specifically, “consolidate duplicate rows in excel” turns on consolidate duplicate rows, and that consolidate duplicate rows detail is what sets it apart from the dozen near-identical duplicate questions around it. The practical takeaway in Excel is to treat the consolidate duplicate rows inputs as the thing you label and reference, run “consolidate duplicate rows in excel” on a handful of rows first, and lean on your workbook example to confirm the consolidate duplicate rows outcome before you commit it. What makes “consolidate duplicate rows in excel” trip people up is assuming consolidate duplicate rows behaves like every other duplicate task — verify it once on your own numbers and that doubt disappears. Get that loop right for “consolidate duplicate rows in excel” and the same consolidate duplicate rows approach answers the next, slightly different version of the question without a rebuild. If this is something you do often, add the command to the Quick Access Toolbar (right-click it on the ribbon and choose Add to Quick Access Toolbar) or learn its shortcut, so next time it is one click instead of a hunt through the menus.

In Google Sheets

This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. Treat “consolidate duplicate rows in excel” as a routine rather than a one-off. Once you know which setting or command controls it, the same few steps handle every workbook where it comes up in Excel, and you can explain them to a colleague in a sentence.

Common mistakes

  • Applying the action to the wrong duplicate — check the selection highlight covers exactly the duplicate duplicates you mean before you commit.
  • Hard-coding values inside a formula instead of referencing cells, which silently breaks the moment the data changes.
  • Sorting one column on its own and tearing each row apart from the rest of its record.
  • Assuming Excel saved your work — confirm the save, especially before closing a shared workbook.
  • Trusting the on-screen result without scrolling to the end of your duplicates to confirm the pattern held all the way down.

Frequently asked questions

What is the quickest way to consolidate duplicate rows in excel?

Read the answer and steps for “consolidate duplicate rows in excel”, identify the intended input and result, and check a small copy of your workbook first. Compare the result with the stated example before applying the action to real data. This fallback page does not include a verified interactive tool for the task.

Does this work in older versions of Excel?

Availability for this exact task in older Excel releases has not been verified. Check the command or function in the documentation for your release. A similar menu icon does not prove that the feature, arguments or result are the same; keep the starting file until the result is checked.

Does the same method work in Google Sheets?

Google Sheets support for this exact task has not been verified. Check its documented functions and commands, then compare a small example in the target product. Similar formula notation does not prove identical arguments, behaviour, menus or file features; an Excel macro or connector needs a separately supported mechanism.