+ Reply to Thread
Results 1 to 8 of 8

Show Unique results from a list only once.

  1. #1
    Registered User
    Join Date
    02-02-2024
    Location
    Glasgow, Scotland
    MS-Off Ver
    365
    Posts
    36

    Show Unique results from a list only once.

    Hi

    I have a spreadsheet that contains a column of references. There will be repeats of the same reference, and in the next column I need to show the reference but only once, when it repeats it's not shown.

    Also, the duplicated references won't ordinarily be grouped together, they will be scattered throughout the column.

    The sample enclosed is very basic but my original data has extra columns, and the unique reference has other workings based around it, so not as simple as just removing duplicates, or filtering. The original column needs to remain in place without being altered.

    Any ideas?

    thanks
    Barry
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Show Unique results from a list only once.

    ?? This:

    =UNIQUE(A7:A220)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

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

    Re: Show Unique results from a list only once.

    Maybe
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    02-02-2024
    Location
    Glasgow, Scotland
    MS-Off Ver
    365
    Posts
    36

    Re: Show Unique results from a list only once.

    Afraid not. Whilst that shows the unique values, I need the value on the same row as the original, but only one time.

    eg;


    3 SOD-001 SOD-001
    4 SOD-003 SOD-003
    5 SOD-006 SOD-006
    6 SOD-003
    7 SOD-001
    8 SOD-006
    9 SOD-003
    10 SOD-008 SOD-008

    This is Row, Reference, Result

    Result only shows in the first instance of Reference, all other instances of Reference are blank.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Show Unique results from a list only once.

    An alternative to Fluff's with no copy/paste needed. Just delete all expected results first.

    =LET(A,A7:A220,IF(MAP(A,LAMBDA(x,COUNTIF(A7:x,x)))=1,A,""))
    Attached Files Attached Files

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Show Unique results from a list only once.

    or this, which automatically locates the last row:

    =LET(A,A7:INDEX(A:A,MATCH("Zzzz",A:A)),IF(MAP(A,LAMBDA(x,COUNTIF(A7:x,x)))=1,A,""))

  7. #7
    Registered User
    Join Date
    02-02-2024
    Location
    Glasgow, Scotland
    MS-Off Ver
    365
    Posts
    36

    Re: Show Unique results from a list only once.

    Thank you both, these work so will try and figure out what they are doing so I can amend later if needs be :D

    I need to go and see what LAMBDA does!

    thanks again.

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

    Re: Show Unique results from a list only once.

    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. [SOLVED] List Unique Values from two worksheet in to Results TAB
    By SARAN89 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-10-2022, 07:25 AM
  2. New: Return multiple results from a unique list
    By ifulao in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 10-03-2018, 03:19 AM
  3. Search Folder and Show Results in Userform List Box
    By powerplug in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-14-2016, 05:18 AM
  4. Check if Data not unique, and show results
    By Chantal4130 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-24-2015, 08:34 AM
  5. Replies: 2
    Last Post: 11-26-2013, 11:02 PM
  6. [SOLVED] Show a unique list of items based on Cell value
    By gorgon777 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-10-2013, 12:18 PM
  7. Find and list only unique results in a column
    By Vbort44 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-10-2008, 03:54 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