+ Reply to Thread
Results 1 to 4 of 4

Remove duplicates in specific range

  1. #1
    Registered User
    Join Date
    08-31-2024
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    12

    Remove duplicates in specific range

    Hi all,
    I have a table as shown below (attached file)
    Screenshot 2024-10-08 073939.png
    I would like to remove duplicates from A5 to , specifically in the "Index" column. However, if I use the "Remove Duplicates" function in the Table Design tab, it removes duplicates from the entire table, which is not what I want.

    Could you please advise on how to remove duplicates only from that specific range?

    Thank you in advance!
    Attached Files Attached Files
    Last edited by yui_2000; 10-07-2024 at 08:41 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,404

    Re: Remove duplicates in specific range

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-31-2013
    Location
    Essex UK
    MS-Off Ver
    MS365 v2501
    Posts
    57

    Re: Remove duplicates in specific range

    Not sure in 2016 version but from 2017 onwards when you use remove duplicates, it then gives you a tick box selection to choose which columns. Leave just the Index col ticked and the programme removes all duplicates in that column selected.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: Remove duplicates in specific range

    With Power Query
    1.Load your table to the PQ Editor
    2.Duplicate your table
    3.In the Duplicate table, enact this Mcode

    Please Login or Register  to view this content.
    4. Perform a full outer join on the original table and the duplicate table.

    Please Login or Register  to view this content.
    Excel 2016 (Windows) 64 bit
    A
    B
    C
    D
    E
    1
    Index Value Index Value
    2
    0001
    2
    0001
    2
    3
    0002
    3
    0002
    3
    4
    0001
    7
    7
    5
    0002
    10
    10
    6
    0003
    11
    0003
    11
    7
    0002
    10
    10
    Sheet: Sheet2
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Remove Duplicates from specific column?
    By AircrewX in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 12-20-2022, 05:58 PM
  2. [SOLVED] VBA Macro to remove specific duplicates based on 2 columns
    By ShawnJun in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-17-2021, 04:09 PM
  3. Remove Duplicates Based on other column Specific Value
    By savinirsb4u in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-15-2021, 08:02 AM
  4. Replies: 6
    Last Post: 10-19-2018, 02:44 PM
  5. How to find duplicates and remove the one with a specific value
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-28-2018, 09:53 AM
  6. [SOLVED] Remove duplicates based on specific words
    By coatesy69 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-26-2016, 08:23 AM
  7. How To Remove Duplicates On Specific Condition?
    By TechnicGeek in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-15-2014, 02:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1