How to combine duplicate rows in Excel 

Merge Duplicates Wizard is an add-in for Microsoft Excel specially designed for combining data from duplicate rows into one.

Video: How to work with Merge Duplicates

Before you start

Pay attention to the Create a backup copy of the worksheet checkbox. We recommend keeping this option selected as Excel doesn't let you cancel changes made by add-ins.

Note that hidden rows are still processed by the add-in.

How to use Merge Duplicates

Start Merge Duplicates

On the Ablebits Data tab in the Merge group, click the Merge Duplicates icon:
Start Merge Duplicates for Excel.

Step 1: Select your table

On the first step, the add-in picks the entire range with your data:
Select your table to merge duplicates.

  • To specify a different range, click the Select range icon in the add-in window.
  • You can also select the records right in the worksheet, the add-in will pick up your selection.
  • Another option is to type the range address in the Select your table field manually.
Note. If your data is formatted as a table, the add-in will always get the entire table.
Note. If you have hidden rows in your table, they will be processed.

Do not forget to tick the Create a backup copy of the worksheet checkbox to have a copy of your data.

Click Next.

Step 2: Choose key columns with duplicate records

On this step, you can see a list of all columns you have in your Excel sheet:
Select key columns with duplicates to merge.
Pick the columns where you want to find duplicate entries. If you select more than one column, a record will be considered duplicate if values in all the selected key columns are the same.

  • If you have header rows, tick off the My table has headers checkbox at the top. If you do not have labels, look at 1st row content to understand what kind of data the columns contain.
  • Select the Skip empty cells option if you have blanks in your key columns and don't want to merge them. Unselect the checkbox to consider blank values as duplicates.
  • Take advantage of the Select All button if all the columns in your table are the key ones. Use Unselect All if you picked the wrong columns.
Tip. If you have a lot of columns in your table, you can expand the wizard window by dragging the bottom-right corner down and to the right until you get a suitable size.

Click the Next button.

Step 3: Pick columns with the values to merge

On this step, select the columns with the entries to merge:
Pick columns with the values to merge with the Merge Duplicates tool.
Tick the checkboxes next to the columns with the data you need to combine and take advantage of the advanced options:

  • Check Delete duplicate values if the records you need to combine may contain identical items but you want to keep only unique values in your results:
    Merge duplicates and delete duplicate values.
  • Select the Skip empty cells option to avoid adding extra delimiters to blank cells.
  • To use the same delimiter in each column, click the Choose delimiter drop-down list at the top. You can either enter your own separator or select one from the predefined options. Standard delimiters include a semicolon, comma, space, and a line break. Besides, you can select one of the following aggregate functions: AVERAGE, SUM, COUNT, MAX, MIN, PRODUCT, STDEV.S, or STDEV.P:
    Select delimiters for merged values. Choose aggregate functions.
  • Note. The tool uses the standard Excel functions (SUM, AVERAGE, COUNT, MAX, MIN, PRODUCT, STDEV.P, STDEV.S), so if you face certain difficulties, please consult a corresponding section here.
  • If you wish to have different delimiters for each column, enter or select the needed ones in the Delimiter field next to the column name:
    Choose a different delimiter for each column.
  • The Select All and Unselect All buttons help you quickly pick all the columns or unselect them at once.
Tip. If you need to change your settings on the previous steps, click the Back button and make the necessary corrections.

Click Finish to get the duplicates in the selected columns merged:
Merge Duplicates Wizard for Excel


I am having an issue when I try to sum decimal numbers. When I merge the cell with decimal numbers it makes the formula looks like two numbers in a cell (ex. cells 2,4 and 3,4 appears as sum(2;4;3;4) )
Obs. I am from Brasil and here we use comma as separator of decimal numbers.


Hello, Raul,

Thank you very much for your comment. You helped us to find a bug and our developers are already working on fixing this issue. As soon as it is solved, I will send you details via e-mail.

Thank you!


Just find this amazing function, saved me for hours of work
OK, it didn't removed all duplicate value, some "," before and after was not removed, but all together saved me for lot's of work



Hi, Tom,

Thank you so much for your kind feedback, it is always very important to know that our products help people save precious time!
I am sorry to know that you’ve encountered difficulties with removing quotes. Please contact our support team with this issue at It would be perfect if you could attach a sample of your dataset and indicate the version of Ultimate Suite you use. We’ll do our best to help you.

Thank you.


I can't chose delimiter [Line break]. How to chose it ?Pls help me !


Hello Thuc,

To choose the line break as a delimiter on the final step of the wizard, just select the following symbol from the "Choose delimiter" drop-down list: ↲

If there is anything else we can help you with, please let us know.


Ask a question (posted publicly)

If you have any questions or issues with this add-in, please feel free to post your concerns in the comments area. As soon as we answer, a notification message will be sent to your e-mail. If you do not want to share your thoughts in public, please contact us at
Privacy policy Terms of use Contact us

Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.