Do more with
=FILTER(B2:B9,A2:A9=I2)
If this formula is in cell J2, you may create a data validation dropdown to return the grades using a Source formula of =J2#=IFERROR(INDEX($B$2:$B$9,AGGREGATE(15,6,(ROW($A$2:$A$9)-ROW($A$2)+1)/($A$2:$A$9=$I$2),ROWS(L$2:L2))),"")
The associated named range Dynamic has a Refers to of:=Sheet2!$L$2:INDEX(Sheet2!$L$2:$L$9,SUMPRODUCT(--LEN(Sheet2!$L$2:$L$9)>0))
The associated data validation dropdown uses Source formula of =Dynamic
Premium Content
You need an Expert Office subscription to comment.Start Free Trial