+ Reply to Thread
Results 1 to 7 of 7

Build array with multiple filters

  1. #1
    Registered User
    Join Date
    11-24-2022
    Location
    France
    MS-Off Ver
    Office 365
    Posts
    11

    Build array with multiple filters

    Allo,
    I have a simple list of systems located in rooms. I have new data regarding certain rooms and i need to figure out which system is impacted.
    If I had 4-5 rooms impacted I would use a filter, but I have decent amount of rooms impacted.

    As a result, I would like a list of two columns:
    - The first one being the system name (A, B, C...)
    - The second one being the room into which it's located
    which is prettymuch the raw data filtered by impacted rooms.

    Any nice way to that?

    Thanks
    Attached Files Attached Files
    Last edited by Hemelaire; 10-24-2023 at 04:18 AM.

  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,194

    Re: Build array with multiple filters

    Try:


    =LET(A,raw_data!A2:B5000,FILTER(A,ISNUMBER(MATCH(INDEX(A,,2),B4:B8,0))))

    see file for a version in your locale.
    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

  3. #3
    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
    44,669

    Re: Build array with multiple filters

    Another way to get the list

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


    Or, for a shorter list

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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


  4. #4
    Registered User
    Join Date
    11-24-2022
    Location
    France
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Build array with multiple filters

    Thank you Glenn and TMS !

  5. #5
    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
    44,669

    Re: Build array with multiple filters

    You're welcome. Thanks for the rep.

  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,194

    Re: Build array with multiple filters

    Likewise...

  7. #7
    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
    44,669

    Re: Build array with multiple filters

    This will sort both columns

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

+ 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. Creating a New array (smaller) by applying filters to the Big Array (10,000+ rows)
    By hemantparmar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2019, 12:57 PM
  2. [SOLVED] How To... array formula that filters by multiple criteria on same column
    By jprealini in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-18-2014, 11:30 AM
  3. [SOLVED] New to arrays-how do I build new array while filtering first array?
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-03-2013, 05:59 AM
  4. Replies: 0
    Last Post: 12-01-2012, 05:02 PM
  5. Replies: 4
    Last Post: 07-24-2012, 01:21 PM
  6. Build an Array
    By Lotus123 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-27-2007, 06:27 PM
  7. build up an array using formulas
    By Kezze in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2005, 01:06 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