+ Reply to Thread
Results 1 to 5 of 5

Use FILTER function to "Include" match against an Array and not one value

  1. #1
    Registered User
    Join Date
    10-06-2022
    Location
    Hamburg
    MS-Off Ver
    Office 365
    Posts
    8

    Question Use FILTER function to "Include" match against an Array and not one value

    Hello,

    I'm currently trying to filter some data. I have two sheets, one with the users name, e-mail and their function within the company and another with the same e-mail and then which mailboxes they have access to in another column.
    I want to take a function, see which users are associated with it and then use those e-mails to again check which mailboxes are connected. This way I can see which function has which users and which rights to mailboxes.
    With =FILTER I already have a sheet where I can choose a function in a drop-down menu and then get the relevant users, but now as I already said I want to take those newly filtered users e-mails and again put them against the mailboxes.

    =FILTER(ADExportUsersNL!A2:J445;ADExportUsersNL!J2:J445=A3;"NoData") <-- this is the first function that already works.
    =FILTER(MailboxRechten!B2:L3452;MailboxRechten!G2:G3452=B6;"NoData") <-- This is the one I want to work.

    The problem is that with the INCLUDE part of the formula (so =B6), I can only verify against one thing at a time, one cell. If I specify one cell which happens to have the filtered data in it, then it works. I want to be able to search in the same way, but then in a range. So for example: =FILTER(MailboxRechten!B2:L3452;MailboxRechten!G2:G3452=B5:B100;"NoData") but this doesn't work and gives an error. I've tried using XLOOKUP, but I don't think I understand it correctly. I can't upload some sample data for now since it would take a lot of time to anonymize it, so I hope my explanation is clear enough.

    Many thanks for the help.
    Last edited by Quiets; 10-20-2022 at 07:38 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Use FILTER function to "Include" match against an Array and not one value

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

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

    Re: Use FILTER function to "Include" match against an Array and not one value

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

  4. #4
    Registered User
    Join Date
    10-06-2022
    Location
    Hamburg
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Use FILTER function to "Include" match against an Array and not one value

    Yes that is it, it seems to be working, many thanks! I'll put it solved for now, and if I notice something weird I'll change it again.

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

    Re: Use FILTER function to "Include" match against an Array and not one value

    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: 3
    Last Post: 11-19-2020, 08:30 PM
  2. Replies: 4
    Last Post: 02-25-2019, 03:22 PM
  3. Replies: 2
    Last Post: 07-24-2017, 02:19 AM
  4. Replies: 1
    Last Post: 01-22-2016, 09:21 AM
  5. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  6. [SOLVED] Variable "sheet-name" and "range-name" wanted in INDEX/MATCH-function
    By Fiebuls in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-01-2012, 04:09 PM
  7. Replies: 5
    Last Post: 01-28-2010, 04:04 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