We are using AGGREGATE so you dont need array formula.

The rest looks ok, just checking...