Closed Thread
Results 1 to 11 of 11

Returning multiple entries with INDEX and MATCH

Hybrid View

  1. #1
    Registered User
    Join Date
    05-19-2008
    Posts
    3
    Try...

    N1:

    =SUMPRODUCT(--([other_file.xls]Sheet1!E2:E1000=M1))

    O1, confirmed with CONTROL+SHIFT+ENTER, and copied down:

    =IF(ROWS(O$1:O1)<=$N$1,INDEX([other_file.xls]Sheet1!$A$2:$A$1000,SMALL(IF([other_file.xls]Sheet1!$E$2:$E$100=$M$1,ROW([other_file.xls]Sheet1!$E$2:$E$100)-ROW([other_file.xls]Sheet1!$E$2)+1),ROWS(O$1:O1))),"")

    Hope this helps!
    Hi Domenic,

    Thanks for your help. I tried putting it into my spreadsheet but it didn't seem to work. I was wondering if you could explain to me what the formula is saying? I'm not very good at these yet...

    Also, what do you mean by "confirmed with CTRL+SHIFT+ENTER"?

    Thank you,
    Jesse

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Hi Domenic,

    Thanks for your help. I tried putting it into my spreadsheet but it didn't seem to work. I was wondering if you could explain to me what the formula is saying? I'm not very good at these yet...

    Also, what do you mean by "confirmed with CTRL+SHIFT+ENTER"?

    Thank you,
    Jesse
    The formula needs to be confirmed with CONTROL+SHIFT+ENTER, not just ENTER. In other words, enter the formula, press the CONTROL and SHIFT keys down, then while these keys are pressed down press the SHIFT key. If done correctly, Excel will automatically place curly brackets {....} around the formula.

    Hope this helps!

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    jessea,

    Please read forum rules below about cross posting on other forums without posting the link.

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

Closed 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