1:
{=IFERROR(INDEX(PI_Data!F$4:F$182185,SMALL(IF(PI_Name=PI_Data!G$4:G$182185,ROW(PI_Data!G$4:G$182185)-ROW(PI_Data!G$4)+1),ROWS(A$4:A4))),"")}