Here's the working sample. Some adjustments done
as your source data starts in row4 instead of row2:
Inputs in A1:A3 as before
In D2, copied to I2:
In J2, copied to M2:
Select C2:M2, copy down to cover max expected extent of source data in
Sheet1. Format cols to taste. All lines satisfying the criteria inputs in
A1:A3 will appear neatly packed at the top. Try changing the criteria inputs
to a different set, it'll return accordingly.
P/s: Keep things in the same book, much simpler.
Downloads:22,500 Files:370 Subscribers:66