jassybun
Member
In the workbook, the formulas are in the same sheet as the raw data. I tried to separate them, and place the formulas into a 2nd sheet, the first row works..but the 2nd and 3rd do not.
Here is the second formula:
=INDEX($A$2:$C$7, SMALL(IF($B$9=$A$2:$A$7, ROW($A$2:$A$7)-MIN(ROW($A$2:$A$7))+1, ""), ROW(A2)),COLUMN(A2))
that I changed to:
=INDEX(Sheet1!$A$2:$C$7, SMALL(IF(Sheet1!$B$9=Sheet1!$A$2:$A$7, ROW(Sheet1!$A$2:$A$7)-MIN(ROW(Sheet1!$A$2:$A$7))+1, ""), ROW(Sheet1!A2)),COLUMN(Sheet1!A2))
Here is the file:
https://dl.dropboxusercontent.com/u/28469410/Vlookup-return-multiple-records.xlsx
Here is the second formula:
=INDEX($A$2:$C$7, SMALL(IF($B$9=$A$2:$A$7, ROW($A$2:$A$7)-MIN(ROW($A$2:$A$7))+1, ""), ROW(A2)),COLUMN(A2))
that I changed to:
=INDEX(Sheet1!$A$2:$C$7, SMALL(IF(Sheet1!$B$9=Sheet1!$A$2:$A$7, ROW(Sheet1!$A$2:$A$7)-MIN(ROW(Sheet1!$A$2:$A$7))+1, ""), ROW(Sheet1!A2)),COLUMN(Sheet1!A2))
Here is the file:
https://dl.dropboxusercontent.com/u/28469410/Vlookup-return-multiple-records.xlsx