+ Reply to Thread
Results 1 to 9 of 9

How to list Column without duplicates by formula

  1. #1
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    40

    Question How to list Column without duplicates by formula

    hello everyone i need a little help

    i want to list all SN without duplicates

    if there is duplicate values not removing all of it I want to keep just 1 and remove the others

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    49,108

    Re: How to list Column without duplicates by formula

    I suspect it is something to do with the length of the "numeric" strings. If I use Conditional Formatting, it highlights entries as duplicates even though they are not.

    If you have, by any chance, upgraded to 365, you could use this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    These are treated as duplicates:

    190802203051017408042864
    190802203051017408043425
    190802203051017408043681
    190802203051017408043796

    Only this one is included using your formula

    190802203051017408043796

    It appears to be ignoring the last four digits. So, the unique part is being treated as 19080220305101740804
    Last edited by TMS; 08-26-2024 at 06:45 PM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    40

    Re: How to list Column without duplicates by formula

    yes i can see that but i can't upgrade to 365 right now is there any fix to this formula to make it work for more that 20 characters or fix for the other formula
    Last edited by AliGW; 08-27-2024 at 01:52 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,677

    Re: How to list Column without duplicates by formula

    For Excel 2007+
    If the differences between the cells mainly come from characters on the right, we can take up to 20 characters from the right to compare.
    Like this:
    F2:
    Please Login or Register  to view this content.
    Note: The 2nd INDEX helps to avoid Ctrl-Shift-Enter combination.
    Attached Files Attached Files
    Quang PT

  5. #5
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    40

    Re: How to list Column without duplicates by formula

    Thanks for your reply
    good thinking
    it is working by this way
    Last edited by AliGW; 08-29-2024 at 07:42 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  6. #6
    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. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,919

    Re: How to list Column without duplicates by formula

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
    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.

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,897

    Re: How to list Column without duplicates by formula

    Another option is
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    40

    Re: How to list Column without duplicates by formula

    Thanks for your reply

  9. #9
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,897

    Re: How to list Column without duplicates by formula

    Glad to help & thanks for the feedback.

+ 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. Replies: 4
    Last Post: 11-28-2020, 06:07 PM
  2. Replies: 13
    Last Post: 06-30-2020, 04:30 PM
  3. List of companies(with duplicates) with corresponding niche column.....
    By HelpMyDataMan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-10-2018, 08:42 AM
  4. List duplicates in separate column
    By gillmacca in forum Excel General
    Replies: 11
    Last Post: 06-15-2013, 02:12 AM
  5. Need Macros to find and list duplicates in a column
    By Karthik Sen in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-13-2012, 03:41 PM
  6. Replies: 2
    Last Post: 08-28-2012, 10:41 PM
  7. Replies: 4
    Last Post: 05-31-2012, 07:27 PM

Tags for this Thread

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