+ Reply to Thread
Results 1 to 11 of 11

Search multiple values and return multiple results.

  1. #1
    Registered User
    Join Date
    04-01-2023
    Location
    Rotterdam, Nederland
    MS-Off Ver
    Office 365
    Posts
    53

    Search multiple values and return multiple results.

    Can someone help me find the right formula?

    I would like to find multiple values in another tab and return different results.

    It concerns the following:

    In the 'blad1' sheet, the search value is B2:Y2. I would like to see all matching values from column A ('blad 2') in column A ('blad1' sheet), by searching the matrix B2:D124.

    For example, if I search for the value "5.1", I expect the result in cell A2 (sheet 'blad1').

    Information Protection, Data Privacy Protection, Legal and Regulatory Monitoring,
    Attached Files Attached Files
    Last edited by Mxmaarten; 04-03-2023 at 11:50 AM.

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,106

    Re: Search multiple values and return multiple results.

    Hi,
    The file is empty

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,364

    Re: Search multiple values and return multiple results.

    Empty "Blad1" ?? !!!
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Registered User
    Join Date
    04-01-2023
    Location
    Rotterdam, Nederland
    MS-Off Ver
    Office 365
    Posts
    53

    Re: Search multiple values and return multiple results.

    Sorry. I uploaded now the right one.

  5. #5
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,106

    Re: Search multiple values and return multiple results.

    And where do you want the results to appear ?
    Is it column A?

  6. #6
    Registered User
    Join Date
    04-01-2023
    Location
    Rotterdam, Nederland
    MS-Off Ver
    Office 365
    Posts
    53

    Re: Search multiple values and return multiple results.

    Yes!

    The result must be in column A of sheet "blad1". I grayed out the column and now it has a formula in it that doesn't work.
    Last edited by Mxmaarten; 04-03-2023 at 10:51 AM.

  7. #7
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,106

    Re: Search multiple values and return multiple results.

    ok so that means you are trying to display multiple results in 1 cell....

    Try to add 2 more columns , B & C and use this in A:
    =IFERROR(FILTER(Blad2!$B$2:$D$124,Blad1!D2=Blad2!$A$2:$A$124),"")
    Attached Files Attached Files

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

    Re: Search multiple values and return multiple results.

    Blad1

    A2=IFERROR(TEXTJOIN(" -",TRUE,UNIQUE(FILTER(Blad2!$B$2:$B$124,ISNUMBER(MATCH(Blad2!$A$2:$A$124,Blad1!$B2:$Y2,0))))),"")

    Copy down

  9. #9
    Registered User
    Join Date
    04-01-2023
    Location
    Rotterdam, Nederland
    MS-Off Ver
    Office 365
    Posts
    53

    Re: Search multiple values and return multiple results.

    Hi CARACALLA,

    Thanks for your comment. It's a good start, but unfortunately I still have a problem with the formula you gave. This is because an overflow error occurs when I try to use the formula for cells A3 and A4. This is because cell A2 returns three values. I've tried several solutions, but so far without success. Do you have an idea how I can solve this problem?

    I added a new version of the excel file
    Attached Files Attached Files
    Last edited by Mxmaarten; 04-03-2023 at 12:25 PM.

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

    Re: Search multiple values and return multiple results.

    File attached .

  11. #11
    Registered User
    Join Date
    04-01-2023
    Location
    Rotterdam, Nederland
    MS-Off Ver
    Office 365
    Posts
    53

    Re: Search multiple values and return multiple results.

    Hi CARACALLA,

    Awesome! I am immensely grateful for your help.

+ 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. Userform Search when search two text boxes return multiple results
    By nekiwa07 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-29-2020, 09:42 AM
  2. [SOLVED] Search multiple criteria and return multiple results with Closest value
    By palash1010 in forum Excel General
    Replies: 1
    Last Post: 05-28-2020, 12:23 AM
  3. [SOLVED] Macro- Search multiple criteria in spreadsheet return with multiple results in new sheet
    By nicebeaches in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-22-2018, 04:47 PM
  4. [SOLVED] Multiple search criteria to return multiple results
    By johnmacs5 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-01-2016, 05:17 PM
  5. Replies: 6
    Last Post: 08-22-2014, 08:47 AM
  6. Search multiple sheets and return list of multiple results
    By Abuck in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-07-2012, 11:59 AM
  7. User Form to Search multiple Criteria to return multiple Results
    By Calieth in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-16-2011, 11:57 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