A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Enter below formula as an array formula (Ctrl+Shift+Enter) in cell A11 and copy down and to the right (except column F):
=IFERROR(INDEX(A$2:A$8,SMALL(IF($H$2:$H$8="Yes",ROW(A$2:A$8)-ROW(A$2)+1),ROW(1:1))),"")
Regards,
Amit Tandon