• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
Excel

How to identify duplicates in Excel

0 Comments

In the world of duplicates, the definition is crucial. This is because the concept of a duplicate depends on the context of its related data. Duplicates can exist within a single column, across multiple columns, or even in complete records. There is no one-size-fits-all feature or technique that can identify duplicates in every scenario. In this article, I will demonstrate how to find identify duplicates in Microsoft Excel.

Method 1: Filtering for duplicate records in Excel

One of the easiest ways to locate identify duplicates is by using Excel’s advanced filter feature. It provides flexibility and can effectively identify duplicate rows. What you do with the identified duplicates is up to you. For instance, you can use the advanced filter to copy the unique records to a different location, ensuring that you retain the original data and have a separate set of distinct records.

In this particular case, the term “find” can be slightly misleading. This feature doesn’t actually find the duplicates; rather, it filters them from the results, giving you a unique set of records.

Let’s consider a sheet that contains identify duplicate records within a Table object (Figure A).

How to identify duplicates in Excel

How to identify duplicates in Excel

While it is recommended to use Tables, this feature can also work with regular data ranges. Even in a small sheet, visually identifying duplicates can be a daunting task, and there’s a high chance of missing some duplicates. To temporarily remove duplicates from the dataset, follow these steps:

How to identify duplicates in Excel

How to identify duplicates in Excel

  1. Select any cell within the dataset.
  2. Click the Data tab and then choose Advanced Filter in the Sort & Filter group.
  3. Select “Copy To Another Location” in the Action section.
  4. Verify that Excel correctly references the original data in the List Range.
  5. Specify a copy range in the Copy To control (e.g., H2).
  6. Check the “Unique Records Only” option (Figure B) and click OK.
    How to identify duplicates in Excel

    How to identify duplicates in Excel

Excel will copy a filtered list of unique records (Figure C) to the range you specified in Step 5. At this point, if you wish to remove duplicates, you can replace the original data with the filtered list. However, as a general rule, it is not recommended to delete data, even if you believe you won’t need it again. The decision is ultimately up to you.

One thing to note is that you might not immediately notice that the Commission values in the filtered set are literal values. In the original data, that column may contain expressions. Pay attention to such issues – if you plan to use the filtered set in the future, you need to replace the values with the corresponding expressions, so that new records can calculate the commissions correctly.

Method 2: Formatting duplicate values in Excel

Identifying duplicates within a single column or across multiple columns is slightly more challenging than filtering for entire records. However, you can utilize Excel’s conditional formatting to quickly highlight duplicates in a single column. In this case, deleting duplicates may not be the main objective. Let’s explore formatting duplicate commission values:

  1. Select the range of cells containing commission values (e.g., F3:F13).
  2. On the Home tab, click Conditional Formatting in the Styles group.
  3. Choose New Rule from the dropdown menu.
  4. In the top pane, select the “Use a formula to determine which cells to format” option.
  5. In the lower pane, enter the formula “=COUNTIF(F:F, F3)>1” (Note: The period at the end is grammatical and not part of the Excel formula).
  6. Click the Format button, go to the Font tab, choose Red, and click OK (Figure D).
  7. Click OK to apply the formatting to the worksheet.
    How to identify duplicates in Excel

    How to identify duplicates in Excel

The conditional format will highlight any duplicate values in column F (Figure E). The Excel function COUNTIF() is used to determine

How to identify duplicates in Excel

How to identify duplicates in Excel

the number of occurrences of each value in column F. In this case, the formula “=COUNTIF(F:F, F3)>1” compares the current commission value to all other commission values in column F and returns True if there is more than one occurrence. If you only want to highlight the duplicate copies and leave the first occurrence unaltered, you can use the formula “=COUNTIF($F$3:$F3, F3)>1” instead.

This conditional formatting rule works well for a single column. But how can we identify duplicate values across multiple columns? For this task, we can use two helper formulas in Excel: one to concatenate the columns we want to compare and another to count the duplicates. Let’s assume we want to find duplicates based on the name and commission. Follow these steps:

Enter the following expression in cell H3 and copy it to the remaining cells:

=Commissions8[@Personnel]&Commissions8[@Commission]

  1. (Note: The structured referencing is based on using a Table object to store the data. If you’re using a data range, enter =D3&F3.)

Next, in cell I3, enter the following formula and copy it down:

  1. =IF(COUNTIF(H3:H13,H3)>1,”Duplicate”,””)

Now we have two helper columns in place (Figure F). The Excel IF() function checks if the concatenated values in column H have more than one occurrence using the COUNTIF() function. If it finds duplicates, it returns “Duplicate”.

At this point, you can stop or apply a conditional format based on the formula in column I to highlight duplicates as follows:

  1. Select the range of cells containing the data (e.g., B3:F13).
  2. On the Home tab, click Conditional Formatting in the Styles group.
  3. Choose New Rule from the dropdown menu.
  4. In the top pane, select the “Use a formula to determine which cells to format” option.
  5. In the lower pane, enter the formula =$I3=”Duplicate”.
  6. Click the Format button, go to the Font tab, choose Red, and click OK (Figure G).
  7. Click OK to apply the formatting to the worksheet.

The conditional formatting rule will highlight the first occurrence of a duplicate in both the Name and Commission columns (Figure H). Since the rule formats the entire record, users might assume that the entire record is a duplicate, so it may require some explanation. In the second helper formula, you can display “DuplicateNameCommission” instead of just “Duplicate” if you want to provide more specific information, but that might be excessive.

None of these techniques can handle all types of duplicate data. The method you choose will depend on the specific situation, whether you’re comparing entire records, single columns, or multiple columns. There are other ways to find duplicates, but these methods are quick and straightforward.

Rate this post
32
256 Views
Missing System Cooling Policy on Windows 11? Try These Solutions!PrevMissing System Cooling Policy on Windows 11? Try These Solutions!May 29, 2023
How to utilize named ranges for efficient navigation in an Excel workbookMay 29, 2023How to utilize named ranges for efficient navigation in an Excel workbookNext

Leave a Reply Cancel reply

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years
    Rated 5.00 out of 5
    $47.00
  • Avast Premium Security 2021 10 Devices 1 Year Global Avast Premium Security 2021 10 Devices 1 Year Global
    Rated 5.00 out of 5
    $28.00
  • Avast Ultimate Suite 2021 3 Years 10 Devices Global Avast Ultimate Suite 2021 3 Years 10 Devices Global
    Rated 5.00 out of 5
    $90.00
  • Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
  • Kaspersky Internet Security 2021 1 year 1 device key Global Kaspersky Internet Security 2021 1 year 1 device key Global
    Rated 5.00 out of 5
    $24.00
Products
  • Kaspersky Small Office Security 15 PCs + 15 Mobiles + 2 Servers 1 Year Kaspersky Small Office Security 15 PCs + 15 Mobiles + 2 Servers 1 Year
    Rated 5.00 out of 5
    $201.00
  • Microsoft Visio Standard 2019 Key 1PC Microsoft Visio Standard 2019 Key 1PC $12.00
  • Microsoft Office Home And Business 2019 CD Key for MAC Global Microsoft Office Home And Business 2019 CD Key for MAC Global
    Rated 4.95 out of 5
    $30.00
  • Avast Ultimate Suite 2021 1 Year 10 Devices Global Avast Ultimate Suite 2021 1 Year 10 Devices Global
    Rated 5.00 out of 5
    $54.00
  • Windows Server 2025 Standard Windows Server 2025 Standard $30.00
  • Windows Server 2019 Datacenter Key Global Windows Server 2019 Datacenter Key Global
    Rated 4.75 out of 5
    $7.00
  • Windows Server 2022 Datacenter Key Global Windows Server 2022 Datacenter Key Global
    Rated 5.00 out of 5
    $7.00
  • Buy Windows 11 Home CD Key Global Buy Windows 11 Home CD Key Global
    Rated 4.73 out of 5
    $6.00
  • Kaspersky Total Security 2021 1 year 5 devices key Global Kaspersky Total Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $46.00
  • Windows 10 Pro OEM Key Global - Reinstalling win is still active Windows 10 Pro OEM Key Global - Reinstalling win is still active
    Rated 4.88 out of 5
    $6.00
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.