+ Reply to Thread
Results 1 to 6 of 6

filter with excluding array

  1. #1
    Forum Contributor
    Join Date
    09-15-2022
    Location
    Marseille, France
    MS-Off Ver
    O365 (PC) V 2303
    Posts
    265

    filter with excluding array

    Dear Friends:

    I have an array, dynamic. I want to remove from this array a list of values, which is available in another array.

    While trying to do:

    =FILTER(I2#,I2#<>K2#)

    I got an error.

    Where is my mistake. Thank you for your help.filter.jpg
    Attached Files Attached Files

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

    Re: filter with excluding array

    Voici:

    =FILTER(I2#;(ISNUMBER(MATCH(I2#;K2#;0)))=FALSE)
    Attached Files Attached Files
    Last edited by AliGW; 07-22-2023 at 05:54 AM. Reason: Workbook added.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,406

    Re: filter with excluding array

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    09-15-2022
    Location
    Marseille, France
    MS-Off Ver
    O365 (PC) V 2303
    Posts
    265

    Re: filter with excluding array

    It works! Thank you so much guys for this quick fix.

  5. #5
    Registered User
    Join Date
    02-14-2022
    Location
    Harmony, Maine
    MS-Off Ver
    Office 365
    Posts
    28

    Re: filter with excluding array

    Hi Ali,

    Please let me know if this deserves its own thread.

    How would this work if the searched array had two columns? e.g. If you were filtering by a range of dates.

    Parker

  6. #6
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,800

    Re: filter with excluding array

    M2=filter(i2#,isna(match(i2#,k2#,0)))

+ 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: 03-21-2023, 05:54 AM
  2. Excluding item in array?
    By DMA in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-05-2021, 05:59 AM
  3. [SOLVED] Sum array excluding #N/A
    By BC TIPPING in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-09-2017, 12:27 AM
  4. Excluding Cells From an Array!
    By AstToTheRegionalMGR in forum Excel General
    Replies: 6
    Last Post: 12-15-2014, 04:13 PM
  5. Excluding items from filter
    By ij1001 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-29-2011, 07:40 AM
  6. Sumproduct excluding an Array
    By Odysseus in forum Excel General
    Replies: 4
    Last Post: 12-16-2009, 12:42 PM
  7. advance filter excluding record
    By Souris in forum Excel General
    Replies: 2
    Last Post: 10-08-2005, 11:05 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