https://exceljetas.pages.dev/posts/dynamic-array-formulas-in-excel/
Dynamic Array Formulas In Excel