Learn Excel - Lesson 6: How to filter unique values ​​and delete duplicate values ​​in Excel

Video Learn Excel - Lesson 6: How to filter unique values ​​and delete duplicate values ​​in Excel

Filtering unique values ​​and deleting duplicate data is a basic operation that everyone needs to know when using Excel. Join us to learn how to do that on Excel for Office 365, Excel Online, Excel 2007 and above.

Filter unique values ​​or delete duplicate data on Excel for Windows

  • To filter unique values, click Data> Sort & Filter> Advanced .
Learn Excel - Lesson 6: How to filter unique values ​​and delete duplicate values ​​in Excel
  • To delete duplicate values, click Data> Data Tools> Remove Duplicates .
Learn Excel - Lesson 6: How to filter unique values ​​and delete duplicate values ​​in Excel

To highlight unique or duplicate values, use the Conditional Formatting command in the Style group on the Home tab .

Detailed instructions on how to filter unique values ​​and delete duplicate values ​​in Excel

Filtering for unique values ​​or eliminating duplicate values ​​are two similar tasks because the goal is to present a list of distinct values. However, there is an important difference. When you filter for unique values, the duplicate values ​​are only temporarily hidden. Removing duplicate values ​​means they are permanently removed from the spreadsheet.

Duplicate value is one of all minimum values ​​in a row that is identical to all other rows' values. Comparing duplicate values ​​depends on the data currently in the cell - not the value stored in the cell. For example, you have the same date value in different cells. One cell has the format 3/8/2006, the other is Mar 8, 2006. These values ​​are unique.

Check before deleting duplicates: Before removing duplicate values, you should first try filtering or formatting according to the unique values ​​to confirm you will achieve the expected results.

How to filter unique values

1. Select the range of cells or make sure the cell in use is in a table.

2. Click Data> Advanced (in the Sort & Filter group).

Learn Excel - Lesson 6: How to filter unique values ​​and delete duplicate values ​​in Excel

3. In the Advanced Filter popup , do the following:

Filter local range of cells or tables:

  • Click Filter the list, in-place .

To copy filter results to another location:

  • Click Copy to another location .
  • In the Copy to box , enter a cell reference.
  • Alternatively, click Collapse DialogLearn Excel - Lesson 6: How to filter unique values ​​and delete duplicate values ​​in Excel to temporarily hide the popup window, select a cell on the worksheet, and then click ExpandLearn Excel - Lesson 6: How to filter unique values ​​and delete duplicate values ​​in Excel .
  • Check Unique records only , then click OK .

The unique values ​​in this range will be copied to the new location.

Eliminate duplicate values

When deleting duplicate values, only values ​​in cell range or table are affected. Any other values ​​outside the range of cells or tables will not change or move. Once the duplicate data has been deleted, the first occurrence of this value in the list is retained and other identical values ​​are deleted.

Because you are permanently deleting data, you should copy the original cell range or table into another worksheet or workbook before removing duplicate values.

The steps are as follows:

1. Select the cell range or make sure the active cell is in a table.

2. On the Data tab, click Remove Duplicates (in the Data Tools group ).

Learn Excel - Lesson 6: How to filter unique values ​​and delete duplicate values ​​in Excel

3. Do one or more of the following:

  • In Columns , select from one or more columns.
  • To quickly select the entire column, click Select All .
  • To quickly delete the entire column, click Unselect All .

If the range of cells or table contains many columns and you want to select only a few columns, you can easily click Unselect All to remove it. Then, in Columns , select these columns.

Note: Data will be deleted from the entire column, even if you do not select all columns in this step. For example, if Column1 and Column2 are selected, but Column3 is omitted, the keyword used to find duplicates is the value of both columns 1 & 2. If duplicates are found in these columns, the entire row will be duplicated. remove, including other columns in the table or range above.

4. Click OK , the message number or number of duplicates will be deleted or deleted. Click OK to close this message.

5. Undo the change by clicking Undo or pressing Ctrl+ Zon the keyboard.

Common problems when deleting duplicates on summary or outline data tables

You cannot remove duplicate values ​​from outlined or aggregated outline data. To eliminate duplicates, you must delete both of these data.

Unique or duplicate values ​​that match conditions

Note: You cannot format conditional fields in the Values ​​area of ​​a PivotTable report with unique or duplicate values.

Quick format

1. Select one or more cells in a range, worksheet, or PivotTable.

2. On the Home tab , in the Style group , click the small arrow in Conditional Formatting> Highlight Cells Rules and select Duplicate Values .

Learn Excel - Lesson 6: How to filter unique values ​​and delete duplicate values ​​in Excel

3. Enter the value you want to use, then select the format.

Advanced format

1. Select one or more cells by range, table, or PivotTable report.

2. On the Home tab , in the Styles group , click the arrow in Conditional Formatting > click Manage Rules to bring up the Conditional Formatting Rules Manager window .

3. Follow one of the following steps:

  • To add conditional formatting, click New Rule to display the New Formatting Rule .
  • To change conditional formatting, start by making sure that the appropriate worksheet or table is selected in the Show formatting rules for list . If necessary, select another cell range by clicking the Collapse button in the Applies to to temporarily hide it. Select the new cell range on the worksheet, then open that popup window again. Select this rule, then click Edit rule to show Edit Formatting Rule .

4. In Select a Rule Type , click Format only unique or duplicate values.

5. In the Format all list of Edit the Rule Description , choose unique or duplicate .

6. Click Format to display the Format Cells window .

7. Select the number, font, border or fill format you want to apply when the cell value meets the condition, then click OK . You can choose more than one format. The format you choose will be displayed in the Preview panel .

Filter unique values ​​or delete duplicate data on Excel Online

In Excel for Web, you can delete duplicate values.

Delete duplicate values

When deleting a duplicate value, the effect only occurs on values ​​in a range of cells or tables. Other values ​​outside the cell range or table will not change or move. When the duplication is successfully deleted, the first occurrence of the value in the list will be retained, other identical values ​​will be deleted.

Note: You can always click Undo to get back the data after deleting duplicates. Ideally, you should copy the original cell range or table into another worksheet or workbook before removing duplicate values.

The steps are as follows:

1. Select the cell range or make sure the active cell is in the table.

2. On the Data tab , click Remove Duplicates .

3. In Remove Duplicates , uncheck any column where you do not want to delete duplicate values.

Note: Data will be deleted from the entire column, even if you do not choose to do so. For example, if you select columns 1 & 2, remove column 3. The keyword used to find duplicates is the value in both columns 1 and 2. If a duplicate is found in these two columns, the entire row will be deleted, including data in column 3.

Click OK . Notice of the amount of duplicate value to be deleted will appear. Click OK to close it.

Note: If you want to retrieve the data, just click Undo or Ctrl+ Zon the keyboard.

Sign up and earn $1000 a day ⋙

Exploring the Features of IP Anonymizer Database

Exploring the Features of IP Anonymizer Database

In an era where online privacy and data protection have become paramount concerns for individuals and organizations alike, the need for effective tools to safeguard personal information is more critical than ever. The IP Anonymizer Database emerges as a vital resource for those seeking to navigate the complexities of digital anonymity.

TOP AI tools help you add color to old black and white photos

TOP AI tools help you add color to old black and white photos

TOP AI tools help you add color to old black and white photos. If you want to add color to old black & white photos, use one of the AI ​​tools below.

7 rules for storing a bank card

7 rules for storing a bank card

Each bank card is marked with important information - number, owner’s name, expiration date, CVC or CVV and a chip, thanks to which payments are made at terminals (including contactless). In order for this information to be preserved, it is important to treat the means of payment with care.

IObit Malware Fighter 11 Review 2024

IObit Malware Fighter 11 Review 2024

When your computer gets attacked by a virus or malware, you’ll certainly such for a powerful antivirus to fight back. Well, IObit Malware Fighter is exactly what you need. From its name alone, you can be certain that you are getting the tough protection your computer needs.

How To Find Quality And Fast Internet In Montreal

How To Find Quality And Fast Internet In Montreal

Montreal, a city brimming with culture, history, and Poutine (a famous Canadian dish), deserves an internet connection that can keep up. Whether you’re a streamer glued to Twitch, a workaholic juggling video conferences, or a casual web surfer, a reliable and fast internet plan is essential.

Google Drive for desktop will be discontinued in March 2018

Google Drive for desktop will be discontinued in March 2018

Google Drive for desktop will be discontinued in March 2018, Google has officially announced that it will stop supporting Google Drive for desktop and then the company will remove the application.

Simple ways to fix AirDrop not working error

Simple ways to fix AirDrop not working error

Simple ways to fix AirDrop not working error, AirDrop not working on iPhone, iPad, Mac what to do? This article will provide you with simple ways

TOP best computer screen recording software 2024

TOP best computer screen recording software 2024

TOP best computer screen recording software 2024, Which is the best lightweight, free, high-quality computer screen recording software? Let's find out the top with WebTech360

What is an email address? How to get an email address?

What is an email address? How to get an email address?

What is an email address? How to get an email address?, What is an email address? What is email address entry? This article will answer all your related questions

Every WhatsApp shortcut for computer you need to know

Every WhatsApp shortcut for computer you need to know

Every WhatsApp shortcut for your computer you need to know, WhatsApp is one of the most popular free messaging apps today. The keyboard shortcuts below will help

Unlocking Baccarats Social Thrills: Tedbets Global Gaming Hub

Unlocking Baccarats Social Thrills: Tedbets Global Gaming Hub

Discover the vibrant social scene of baccarat on Tedbet, where players worldwide connect, chat, and enjoy the excitement of live dealer games.

Summary of how to find videos on TikTok

Summary of how to find videos on TikTok

Summary of how to find videos on TikTok, Finding videos on TikTok is not difficult. Let's learn together how to find the original video on TikTok or find the Tik Tok clip you want to watch

Improved mouse sensitivity for Free Fire on BlueStacks

Improved mouse sensitivity for Free Fire on BlueStacks

Improved mouse sensitivity for Free Fire on BlueStacks, BlueStacks has made important improvements for Free Fire gamers. Please upgrade BlueStacks 4.230.10

Huang you: Butter Camera sparkling photo editing app

Huang you: Butter Camera sparkling photo editing app

Huang you: Sparkling photo editing application Butter Camera, Huang you (黄油 相机) is an extremely hot Chinese editing application today, here we would like to invite you

Tips for using Chrome Web Store you need to know

Tips for using Chrome Web Store you need to know

Tips for using Chrome Web Store you need to know, Chrome Web Store or Chrome Web Store offers a selection of apps, extensions and stylish browser wallpapers

What is CapCut? Is it safe to use CapCut?

What is CapCut? Is it safe to use CapCut?

What is CapCut? Is it safe to use CapCut?, What is CapCut? Is music on CapCut copyrighted? Let's find out with WebTech360 what you need to know about CapCut!

Why is buying TikTok coins cheaper on PC?

Why is buying TikTok coins cheaper on PC?

Why is it cheaper to buy TikTok coins on PC?, TikTok gives users the option to exchange real money for coins in the app. However, buying TikTok coins on PC is cheap

How much Internet capacity does Zoom use?

How much Internet capacity does Zoom use?

How much Internet capacity does Zoom use?, Zoom is an indispensable remote online learning and working software during the epidemic, but it can be extremely bandwidth-consuming.

EmuOS: Relive your childhood with legendary games of the past

EmuOS: Relive your childhood with legendary games of the past

EmuOS: Relive your childhood with legendary games of the past, EmuOS is a Web interface that simulates basic Windows 3.1, 95, 98, NT operating systems that provide a lot

TOP best ways to open and read PDF files on your computer

TOP best ways to open and read PDF files on your computer

TOP best ways to open and read PDF files on your computer. How to open PDF files on your computer is not too difficult. In fact, you have many ways to read PDF files. Join WebTech360