+ Reply to Thread
Results 1 to 7 of 7

Match\Index to find all the records

  1. #1
    Registered User
    Join Date
    04-05-2012
    Location
    Canada
    MS-Off Ver
    Excel 2003/2007
    Posts
    45

    Match\Index to find all the records

    Hi. Please help me on this scenario. I would like to use MATCH\INDEX on finding all records for specific name. Example, if I enter "John" in J2, then from H3 down should show all the records of John in column B, C, and D. I hope my scenario is clear. Pleas help. Thank you in advance.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Match\Index to find all the records

    Hi itsmejan24,

    This is achievable but would prefer a sample file from you side... please upload. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    04-05-2012
    Location
    Canada
    MS-Off Ver
    Excel 2003/2007
    Posts
    45

    Re: Match\Index to find all the records

    Thank you for quick respond.

    Sample:

    A1:JOHN B1: "INFO-B" C1: "INFO-C"
    A2:"MARY" B2: "FORM-A" C2 : "FORM-B"
    A3:"JOHN" B3: "INFO-3B" C3: "INFO-3C"
    and so on

    J2: I type in JOHN
    H2 = should contain INFO-B
    H3 = should contain INFO-3B
    I2 = should contain INFO-C
    I3 = should contain INFO-3C
    and so on....

    Thank you.

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Match\Index to find all the records

    Hi itsmejan24,

    You can use the below formula:-

    {=INDEX($A$1:$C$3,SMALL(IF($A$1:$A$3=$J$2,ROW($A$1:$A$3),""),ROW($A1)),2)}

    Above is an array formula and need to be entered using Ctrl + Shift + Enter key combination. thanks

    Match Index to find all records.xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Registered User
    Join Date
    04-05-2012
    Location
    Canada
    MS-Off Ver
    Excel 2003/2007
    Posts
    45

    Re: Match\Index to find all the records

    Hi Dilipandey....Thank you very much for your time. It worked perfectly. I really appreciated your help. Thank you again. BRAVO.

  6. #6
    Registered User
    Join Date
    04-05-2012
    Location
    Canada
    MS-Off Ver
    Excel 2003/2007
    Posts
    45

    Re: Match\Index to find all the records

    Dilipandey...Just 1 more question. Excel 2007 tends to slow when it tries to locate the records. Is it because of the array formula? or is there way to make the search faster? Thank you again.

  7. #7
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Match\Index to find all the records

    You are welcome itsmejan24...

    Number of records and usage of complex formulas could be a reason for slowness.. to overcome this, I would suggest you that after calculation is done, copy paste the formulas to values - leaving the first row with formulas.. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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