+ Reply to Thread
Results 1 to 9 of 9

Unique List + Find All Matches In Another Column

  1. #1
    Registered User
    Join Date
    10-15-2013
    Location
    Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    71

    Unique List + Find All Matches In Another Column

    Hi.

    I have a table containing Names in col A, TRUE/FALSE in col C and names of groups in col D.

    Names in col A can appear multiple times, once for each group they are listed as having in col D.

    My list is nearly 20,000 names long and I need to create a list of unique names that have FALSE in col C and then list all of the groups they belong to in col D. (The aim is to list all of the groups each name has access to but no longer require ("FALSE") so that I can arrange to have them removed from those groups.

    I've attempted this with a couple of different formula but can't get it to work.

    I'm thinking that the list of groups will need to be displayed horizontally since the Unique list of names is around 2,500 rows and the most groups anyone will have is less than 20.

    I've attached a small sample of this and would appreciate any help in getting the data I'm looking for.

    Thanks.
    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
    43,891

    Re: Unique List + Find All Matches In Another Column

    Delete ALL formulae/expected results.

    =LET(A,A2:A200,C,C2:C200,D,D2:D200,E,UNIQUE(FILTER(A,C=FALSE)),F,DROP(REDUCE(0,E,LAMBDA(x,y,VSTACK(x,TRANSPOSE(FILTER(D2:D200,A=y))))),1),HSTACK(E,F))
    Attached Files Attached Files
    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
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Unique List + Find All Matches In Another Column

    is that what you want?
    with Power Query
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-15-2013
    Location
    Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    71

    Re: Unique List + Find All Matches In Another Column

    Hi Glen.

    That formula seems to do the trick perfectly, thanks for that - can't say I understand most of it though but it works so that's the main thing!

    Sandy666, I've not used Power Query in Excel yet so I'll stick with the formula solution but thank you for taking the time to reply.

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Unique List + Find All Matches In Another Column

    Quote Originally Posted by Necroscope View Post
    Sandy666, I've not used Power Query in Excel yet so I'll stick with the formula solution but thank you for taking the time to reply.
    maybe time to try

  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
    43,891

    Re: Unique List + Find All Matches In Another Column

    You're welcome... I hadn't a clue how to use the new array functions (REDUCE, BYROW, MAP, etc) a few months ago. I still don't understand MAKEARRAY.

    However, I don't like being beaten...

  7. #7
    Registered User
    Join Date
    10-15-2013
    Location
    Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    71

    Re: Unique List + Find All Matches In Another Column

    Not sure if a follow-up question is allowed or whether I need to start a new post (happy to do that if required) but just wanted to query:

    Is it possible to display the staff numbers next to the filtered names and then the groups list?

  8. #8
    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
    43,891

    Re: Unique List + Find All Matches In Another Column

    Try:

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

  9. #9
    Registered User
    Join Date
    10-15-2013
    Location
    Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    71

    Re: Unique List + Find All Matches In Another Column

    Fantastic. Thanks Glenn.

+ 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. Challenge to find unique matches without duplicates.
    By dnomyar105 in forum Excel General
    Replies: 4
    Last Post: 06-17-2021, 05:06 AM
  2. Replies: 1
    Last Post: 04-30-2015, 10:01 AM
  3. [SOLVED] Summing the matches of one column only if its corresponding description matches a list
    By bishop-jese-erl in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-19-2015, 04:26 PM
  4. Find Matches in two different Spreadsheets without unique ID
    By oxy11 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-13-2011, 02:51 PM
  5. Replies: 1
    Last Post: 10-27-2009, 07:04 AM
  6. 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
  7. Return a list of unique matches
    By NickySA in forum Excel General
    Replies: 10
    Last Post: 01-24-2007, 04:39 AM

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