Arrow left
Back to guides
Google Sheets Tips

How to Remove Duplicates in Google Sheets

There are several ways to get rid of duplicates in Google Sheets: Google Sheets’ “Data cleanup” function, formulas such as the UNIQUE and QUERY, and Pivot Table.

In another way, You can use Conditional Formatting to identify duplicates and remove them manually. In this article, you will learn how to eliminate duplicates using the clean-up function in Google Sheets.

The function is straightforward and valuable when you process the existing data set and don’t need to keep the filtered output dynamic.

How to delete duplicates by Data cleanup in Google Sheets

  • Select the range you want to clean up.

  • Go to the “Data” → “Data cleanup” → “Remove duplicates”, which brings up a pop-up menu.

  • Check “Data has header now” if the selected range includes table headers.

  • Choose the columns based on which duplicates will be removed in the “Columns to analyze” section.

  • Click “Romove duplicates”.

Steps 1 and 2

How to show the “Remove duplicates” window from the menu bar in Google Sheets

Why spend hours creating spreadsheets, when we have already done the work for you?
100+ financial spreadsheet templates, all free and ready for you now.
Free Spreadsheet Templates

Steps 3 to 5

What “Remove duplicates” menu looks like in Google Sheets

See the examples below to understand how the function works depending on the number of columns selected in Step 4 above.

Example #1 shows the case in which you select all columns as standard.

Example #2 presents the outcome when you focus on a single column (Column B - Name)

Example #3 describes the case in which you choose two columns for criteria (Column B - Name and Column C - Country)

The entire array, including table headers, is selected as the array to be streamlined and contains the same items in all examples.

Example #1

How “Data cleanup” works for multiple columns in Google Sheets

Level up your Google Sheets skills with our FREE LiveFlow Academy
Basic and intermediate classes live now! Earn your certificate today.
Enroll in LiveFlow Academy

The highlighted rows are duplicates in the left table. As you can see, after the function is applied, there is no duplication in the table (on the right). The function judges if there is any redundancy based on values in selected columns in a specific row.

For instance, the first row under the headers contains Isabella, North, 20, and Plan A. The function considers the factors as a chunk, and if it finds the same chunk in other rows, it excludes them from the outcome.

Example #2

How “Data cleanup” works for a column in Google Sheets

The function works similarly in this example. However, as we focus on the “Name” column this time, the entire table is rearranged only based on the items in Column B (Name); The rows incorporating identical names are removed.

Example #3

How “Data cleanup” works for two columns in Google Sheets

Turn Quickbooks Online data into a Google Sheets dashboard
100+ templates, update automatically, totally secure!
Book a Demo

The function works similarly to the first example. In this example, it regards items in Columns B and C in a row as one group and eliminates other rows containing the same information.

Thus, as you can see, even though the sixth row includes the same information (Isabella) for Column B as the first row because their countries are different, the sixth row remains in the streamlined list.

Finally, ensure you don’t have the extra space(s) or other hidden texts in each cell in the range to be filtered.

Learn how to do this step-by-step in the video below 👇

Automate financial reporting with LiveFlow

Want to eliminate manual updates of your Excel & Google Sheets models?

Yes, show me how

Need help?

Our team is here to help you any time between 9am and 10pm EST.
Check Icon
Email us at: help@liveflow.io

Liked this article? Then you'll love the ones below