Assuming your Drop Downs are in F2 and G2-
First you need to create two helper columns to extract the required data.
In this example I am using Column J and Column K as the Helper Columns.
So in cell J2 use this formula-
=IF(IFERROR(INDEX($A$2:$A$100, MATCH(0,COUNTIF($J$1:J1, $A$2:$A$100), 0)),"")=0,"",IFERROR(INDEX($A$2:$A$100, MATCH(0,COUNTIF($J$1:J1, $A$2:$A$100), 0)),""))
and in cell K2-
=IFERROR(INDEX($B:$B,SMALL(IF($A$2:$A$100=$F$2,ROW($B$2:$B$100),""),ROW(A1))),"")
Now create two drop-downs with range J2:J till end and K2:K till end..
Check attached for reference.
Bookmarks