Excel help please - filter and fetch values

I have made a more elaborate post here considering all the points mentioned -

Regards,
G