Remove Duplicate Values from Excel File

This topic has been explained in great detail in the video shown below, to learn this topic just play the video and the notes are mentioned below the video.


Remove Duplicate Values from Excel File






Remove Duplicate Values in Excel

 

In Excel, you have several ways to filter for unique values or remove duplicate values:

  • To filter for unique values, use the Advanced command in the Sort & Filter group on the Data tab.

  • To remove duplicate values, use the Remove Duplicates command in the Data Tools group on the Datatab.

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

 

Learn about filtering for unique values or removing duplicate values

Filtering for unique values and removing duplicate values are two closely related tasks because the displayed results are the same — a list of unique values. The difference, however, is important: When you filter for unique values, you temporarily hide duplicate values, but when you remove duplicate values, you permanently delete duplicate values.

A duplicate value is one where all values in the row are an exact match of all the values in another row. Duplicate values are determined by the value displayed in the cell and not necessarily the value stored in the cell. For example, if you have the same date value in different cells, one formatted as “3/8/2006” and the other as “Mar 8, 2006”, the values are unique.

It’s a good idea to filter for or conditionally format unique values first to confirm that the results are what you want before removing duplicate values.

Filter for unique values

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

  2. On the Data tab, in the Sort & Filter group, click Advanced.

    The Sort & Filter group on the Data tab

  3. In the Advanced Filter dialog box, do one of the following:

    1. To filter the range of cells or table in place, click Filter the list, in-place.

    2. To copy the results of the filter to another location, do the following:

      1. Click Copy to another location.

      2. In the Copy to box, enter a cell reference.

        Alternatively, click Collapse Dialog Button image to temporarily hide the dialog box, select a cell on the worksheet, and then press Expand Dialog Button image .

  4. Select the Unique records only check box, and click OK.

    The unique values from the selected range are copied to the new location.

Remove duplicate values

When you remove duplicate values, only the values in the range of cells or table are affected. Any other values outside the range of cells or table are not altered or moved.

Because you are permanently deleting data, it’s a good idea to copy the original range of cells or table to another worksheet or workbook before removing duplicate values.

  1. Select the range of cells, or make sure that the active cell is in a table.

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

    Excel Ribbon Image

  3. Do one or more of the following:

    • Under Columns, select one or more columns.

    • To quickly select all columns, click Select All.

    • To quickly clear all columns, click Unselect All.

      If the range of cells or table contains many columns and you want to only select a few columns, you may find it easier to click Unselect All, and then under Columns, select those columns.

  4. Click OK.

    A message is displayed indicating how many duplicate values were removed and how many unique values remain, or if no duplicate values were removed.

  5. Click OK.

Issue: I’m having problems removing duplicate values from data that is outlined or that has subtotals.

You cannot remove duplicate values from data that is outlined or that has subtotals. To remove duplicates, you must remove both the outline and the subtotals. For more information, see Outline a list of data in a worksheet and Remove subtotals.

Conditionally format unique or duplicate values

Note: You cannot conditionally format fields in the Values area of a PivotTable report by unique or duplicate values.

Quick formatting

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

  2. On the Home tab, in the Style group, click the arrow next to Conditional Formatting, and then click Highlight Cells Rules.

    Excel Ribbon Image

  3. Select Duplicate Values.

  4. Enter the values that you want to use, and then select a format.

Advanced formatting

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

  2. On the Home tab, in the Styles group, click the arrow next to Conditional Formatting, and then click Manage Rules.

    The Conditional Formatting Rules Manager dialog box is displayed.

  3. Do one of the following:

    • To add a conditional format, click New Rule.

      The New Formatting Rule dialog box is displayed.

    • To change a conditional format, do the following:

      1. Make sure that the appropriate worksheet or table is selected in the Show formatting rules for list box.

      2. Optionally, change the range of cells by clicking Collapse Dialog Button image in the Applies to box to temporarily hide the dialog box, by selecting the new range of cells on the worksheet, and then by selecting Expand Dialog Button image .

      3. Select the rule, and then click Edit rule.

        The Edit Formatting Rule dialog box is displayed.

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

  5. Under Edit the Rule Description, in the Format all list box, select unique or duplicate.

  6. Click Format to display the Format Cells dialog box.

  7. Select the number, font, border, or fill format that you want to apply when the cell value meets the condition, and then click OK.

    You can choose more than one format. The formats that you select are displayed in the Preview box. The video has been made by me and the text has been taken from a Microsoft blog 

 

 








Our Other Services




Read Free Ebooks

myeboook.com

Myebook has 1000's of free ebooks for you. On productivity, health, online income, learning, music and many more, it's free of course!



Buy Excel Course

myelesson.org/product

Become an Excel Guru, Buy the best Excel course. Learn on your mobile, tv & laptop without internet. For COD, Call 9752003788



Create Best Looking Resume

http://www.makecv.org/

At Makecv.org you get to create a amazingly professional looking resume in just 3 steps with our intuitive resume builder!


Download Excel Crash Course


This Excel Crash Course contains the list of topics that cover the most important and used features and formula of Excel . This Excel Crash Course lists 43 major topics in Excel so that you can start using Excel like a pro in the shortest possible time.



Learn Photoshop Web Designing


You can Buy the Photoshop Course to learn Photoshop and start a career in Web Designing and Photo Editing. .



Learn HTML CSS


You can Buy the HTML CSS Course to learn HTML CSS and start a career in Web Designing and Photo Editing. .


Download Full list of Excel Shortcuts


This Excel Shortcuts Complete list is to help you become save time and use Excel like a Master level user. Excel is best used when you know the Keyboard shortcuts because the use of keyboard shortcuts in Excel helps you in completing tasks faster.

I have created a Excel Shortcuts complete list for you to use Excel better, this list has 242 excel keyboard shortcuts which means that it covers almost everything that can be done using shortcuts in Excel.




Full List of Excel Formulas

This is a complete alphabetical list of all the Formula in Excel with a description. You can learn all these formulas on www.Myelesson.org




Convert Numbers to Text in Excel

Now easily convert numbers to Text in Excel with this inbuilt sheet from myelesson.org .  Many times we need the amount in figures to be converted into words. This is a typical requirement for writing checks or any other financial reports. Microsoft Excel does not have standard function available for this requirement. Just download this sheet and then you can convert any number to text in Excel.




List of Most Commonly Asked Excel Questions in Interviews

Here is the list of most asked excel related questions in interviews.  Prepare for this excel questions and you would be able to most of the excel interviews. This list of excel questions covers excel formula, excel analysis, excel reporting, excel charts and more.





Myelesson © 2010 - 2014. All rights reserved.

Do You Want to Become a Expert in Excel ?
Buy The Full Excel Course Now
Enter Your Details & We Will Contact You
Great Choice
Thank You
Ok
Do You Want to Become a Expert in Excel ?
Buy The Full Excel Course Now
Enter Your Details & We Will Contact You
Great Choice
Thank You
Ok