+ Reply to Thread
Results 1 to 8 of 8

Index Match Multiple results

  1. #1
    Registered User
    Join Date
    05-14-2014
    Location
    Kuwait
    MS-Off Ver
    Excel 2019
    Posts
    40

    Index Match Multiple results

    I have two sheets in a file
    First Sheet is Op Having Fields
    S/No.Emp. No. Emp. Name Equip. Code
    31 20320 AHMED MAHDI ESMAIEL GAD MC43
    32 33468 SAEEDULLAH KHAN DAWA KHAN MC43

    Second Sheet Eq I have following Fields
    EQUIP. CODE Operator No Name
    MC43 20320 AHMED MAHDI ESMAIEL GAD
    MC43 20320 AHMED MAHDI ESMAIEL GAD

    In Eq Sheet I have used following formula

    =IFERROR(INDEX(Op!$A$2:$D$1001,MATCH(A12,Op!$D$2:$D$1001,0),3)," ")

    Its giving the result but only the first found number.
    In my scenario I have Equip. Code Operator in Op Sheet Which may have more than one Operator No.
    In Eq sheet I need both of the Operator no having the same Equip Code.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,004

    Re: Index Match Multiple results

    Here's one way, using array formulae, copied to the right, like this oe:

    =IFERROR(INDEX(Op!$B:$B,SMALL(IF(Op!$D$2:$D$36=$A2,ROW(Op!$D$2:$D$36)),COLUMNS($B:B))),"")Array Formulae are a little different from ordinary formulae in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,004

    Re: Index Match Multiple results

    Incidentally, I have just noticed that your profle says Excel 2003, while you posted an .xlsx file, which is Excel 2007 and later. Which do you use? My formula will need to be modified if you are really are using Excel 2003.

  4. #4
    Registered User
    Join Date
    05-14-2014
    Location
    Kuwait
    MS-Off Ver
    Excel 2019
    Posts
    40

    Re: Index Match Multiple results

    First of all thank you very much for your reply.
    I am using excel 2013. its really worked for me. you added multiples columns and data is coming like operator 1,2,3,4 and name 1,2, 3,4
    here I would like to ask if its possible in excel that without adding extra columns it check first EQUIP. CODE in Op Sheet bring the first one, on next row it brings second value. as per knowledge its not applicable in excel but still I am confirming if there is a way.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,004

    Re: Index Match Multiple results

    Yes... Like this. It's just not as convenient for copying/pasting.

    Can you amend your profile (User CP/My settings/Edit profile to correctly identify which Excel version you are using. By comparison with E-2013, E-2003 is a bit pre-historic and limited...
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-14-2014
    Location
    Kuwait
    MS-Off Ver
    Excel 2019
    Posts
    40

    Re: Index Match Multiple results

    Thank you very much...

  7. #7
    Registered User
    Join Date
    05-14-2014
    Location
    Kuwait
    MS-Off Ver
    Excel 2019
    Posts
    40

    Re: Index Match Multiple results

    I m trying to change excel version in profile but I click on save change button its gives me error message "A required field called Location is missing or has an invalid value.."

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,004

    Re: Index Match Multiple results

    It works OK for me. I just changed mine to Excel 2010... mostly. Maybe you could send a PM to one of the Forum Mods... AliGW, 6StringJazzer and JBeaucaire are here v. frequently. One of them (6SJ) is online now. Ask one of them nicely....

+ 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. Multiple results Index Match
    By vortexx in forum Excel General
    Replies: 4
    Last Post: 05-09-2016, 03:51 AM
  2. [SOLVED] Sum of multiple index/match results
    By kawaik in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-25-2015, 10:03 PM
  3. Index Match with multiple results
    By pitterpatton in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-10-2014, 10:41 PM
  4. [SOLVED] Index, Match, Multiple Results
    By ecorf in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-28-2013, 11:37 AM
  5. Index/Match with multiple results
    By amcghee1 in forum Excel General
    Replies: 4
    Last Post: 10-18-2012, 12:15 PM
  6. Need help with Index + Match Multiple Results
    By xenohadden in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-11-2012, 05:00 PM
  7. Index and Match and multiple results
    By mike2bf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2008, 04:10 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