Forum Discussion
Adam08780
Nov 21, 2023Copper Contributor
Return Multiple Match Results
I'm trying to return multiple matches in the Calcs tab from the Data tab. Office 365. I've followed this tutorial https://www.youtube.com/watch?v=fDB1Ktyhp3Y&t=516s But I don't think I've got it q...
Harun24HR
Nov 22, 2023Bronze Contributor
Adam08780 If you are on Microsoft-365 then could use FILTER() function.
=HSTACK(FILTER(E2:E7,E2:E7=H1),FILTER(B2:C7,E2:E7=H1))
Adam08780
Nov 22, 2023Copper Contributor
Also tried https://www.xelplus.com/return-multiple-match-values-in-excel/
=IFERROR(INDEX(Data!$B:$B,AGGREGATE(15,3,((Data!$E:$E=Calcs!$E$1)*ROW(Data!$B:$B))-ROW(Data!$B$1),ROWS(Calcs!$H$1:H2))),"")
Which returns blank cell
=IFERROR(INDEX(Data!$B:$B,AGGREGATE(15,3,((Data!$E:$E=Calcs!$E$1)*ROW(Data!$B:$B))-ROW(Data!$B$1),ROWS(Calcs!$H$1:H2))),"")
Which returns blank cell