tableHome Edition macOS

If several users worked on one spreadsheet, or if it was created from several spreadsheets, it is very likely to contain repetitive data. These data can be removed from the table automatically using the Remove Duplicates command.

The search for duplicates in a spreadsheet or a specified range is carried out line by line. An example is shown in the figure: the rows that will be deleted if one column (left) or two columns (right) are selected for the search are highlighted in red.


When removing duplicates, only the first variant of the found matches is saved, the rest are deleted.

Duplicate search and deletion is not carried out if:

The selected range contains:

oAn array formula.

oCells of the pivot table.

oA smart table or a part of it. If the range contains only smart table cells, duplicates are searched and replaced.

oGrouped columns or rows: to find duplicates, you need to clear the grouping.

oMerged cells: to find duplicates, each cell in the range needs to occupy the same number of rows and columns.

There is a “break” between the selected cells/rows/columns/ranges. For example, columns A and C are selected, but column B is not selected.

If the selected range contains hidden or filtered rows or columns, the values in them are ignored when removing duplicates. After removing duplicates, hidden rows and columns remain hidden. In the cells of hidden rows, the values may change because the cell data is shifted upward after the duplicates are removed.

To remove duplicates, follow the steps below:

1.Select a range to search for and remove duplicates.

2.Open the Remove Duplicates window using one of the following methods:

In the Command menu, select Data > Remove Duplicates.

On the Toolbar, in the Data section, click t_data_remove_duplicates Remove Duplicates.

3.In the Remove Duplicates window, check the With header row box, if the selected range contains a row with column names. This line will be excluded from the selected range.

4.In the Columns area, if necessary, uncheck the columns that you want to exclude from the selected range.

5.Click OK.

When duplicates are successfully deleted, a pop-up message will be displayed: “N duplicate values found and removed. M unique values remain.”

Was this helpful?
Check data
Links to sheets