How to create a function that returns array in Excel