+ Reply to Thread
Results 1 to 11 of 11

multiple match results

  1. #1
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    multiple match results

    Hello All

    I'm trying to find list of values related to one criteria ... I have used INDEX in combination with SMALL function (I work on Excel 2017 version hence AGGREGATE function is not available) however i get in return #DIV/0!

    formula I applied
    {=INDEX($A$2:$A$50, SMALL(($B$2:$B$50=$D$1)/($B$2:$B$50=$D$1)*(ROW($B$2:$B$50)-ROW($B$1)), ROW($C$2:C2)))}

    for instance for value CH2307-0046 I should have received 42472 and 42473 (as those are in row 2 and 6 however i get #DIV/0!

    not sure where is the problem

    can you please advise

    attached file

    thanks
    Attached Files Attached Files
    Last edited by adsako; 10-02-2019 at 03:59 AM.

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: multiple match results

    {=INDEX($A$2:$A$50, SMALL(if($B$2:$B$50=$D$1)*($B$2:$B$50=$D$1),ROW($B$2:$B$50)-ROW($B$1)), ROW($C$2:C2)))}

  3. #3
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    Re: multiple match results

    Hi
    thanks for this

    I'm still trying to understand why my formula is not working?
    when I'm going through entire evaluation all seems to be OK bur I get error in return

    Maybe im stupid but i don't know where is the problem in my formula

    thanks

  4. #4
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    Re: multiple match results

    Hi again

    i applied your solution however I get a message that formula contains an error

    cannot find it to be honest :/

    thanks

  5. #5
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: multiple match results

    did you try to evaluete it?

  6. #6
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    Re: multiple match results

    Hi
    unfortunately formula you have suggested seems not working ... when I applied your solution I did not get list of values but only one value from line 6 (and first value related to criteria is in line 5)

    attached file where your solution was applied ...

    thanks
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    Re: multiple match results

    Hi, yes ... returns error

  8. #8
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: multiple match results

    =index($a$2:$a$50, small(if(($b$2:$b$50=$f$1)*($b$2:$b$50=$f$1),row($b$2:$b$50)-row($b$1)), rows($e$2:$e2)))

  9. #9
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    Re: multiple match results

    Hi
    I don't know why but formula works partially ...

    for instance
    for S130 - 3/4" DIA (NON-MAG) i should get 7 results but formula returns only 3

    I'm confused ....

    where is an error
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,325

    Re: multiple match results

    Please Login or Register  to view this content.
    Look for the differences
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  11. #11
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    Re: multiple match results

    Hello all

    I'm reopening this topic ...

    I need to get list of unique values (excluding duplicates) from 'column A' matching criteria in cell H1 (cell H1 is with drop down list)
    File is excel official table which is connected to server and is refreshing automatically

    in column H I applied the following formula:

    =INDEX(Table1[[#All],[WO]], SMALL(IF((Table1[[#All],[P/N]]=$H$1)*($H$1=Table1[[#All],[P/N]]), ROW(Table1[[#All],[P/N]])-ROW($C$1)), ROWS($G$2:G2)))

    however it does not return unique values (does not exclude duplicates)
    for instance for ASK1671_CH2307-0123 I should get only 2 values (which I get actually but with all duplicates and what I need is just list of TWO values)

    can you please advise where is the issue?

    thank you
    Attached Files Attached Files

+ 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. [SOLVED] Index Match - Multiple Criteria - Multiple Results
    By ClwnMan76 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-03-2019, 08:06 AM
  2. Need Help with Index, Match, Match with multiple results and copying data x times
    By jrboyd in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-27-2019, 06:57 AM
  3. [SOLVED] Index match with multiple criteria (one with a wildcard) and multiple results.
    By rachelsteele in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2019, 06:51 PM
  4. Replies: 1
    Last Post: 01-18-2019, 03:55 PM
  5. [SOLVED] Lookup to match multiple criteria and return multiple results excluding duplicates.
    By kris3012 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-13-2018, 11:06 AM
  6. Replies: 3
    Last Post: 08-16-2017, 11:03 AM
  7. Replies: 2
    Last Post: 12-16-2016, 07:58 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