A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
This simple formulas play would get it going for you
Assume data in Tracker Sheet starts in row2 down
In a new sheet,
Criteria Col
Put in A2:
=IF(COUNTA('Tracker Sheet'!X2,'Tracker Sheet'!Y2)<2,"",IF(AND('Weekly Report'!$L$17='Tracker Sheet'!X2,'Weekly Report'!$N$17='Tracker Sheet'!Y2),ROW(),""))
Copy A2 down to cover the max expected extent of data in Tracker Sheet, say down to row 500?
Extraction -- only the lines satisfying the criteria will be extracted, all neatly packed at the top
Place this in B2:
=IF(ROWS($1:1)>COUNT($A:$A),"",INDEX('Tracker Sheet'!A:A,SMALL($A:$A,ROWS($1:1))))
Copy B2 across as far as required (across to AY2, going by your specs), fill down by the smallest range required to cover the max expected # of line returns for any criteria set, eg down to row 50 will do? Dress it up by deleting away all the intervening cols that you don't need extracted. In your deletion, just refer to the "INDEX('Tracker Sheet'!A:A, .. " part of expression in the cell, that's the source col extracted