Thanks! Works like a charm, will have a look into array formulas in the future