Excel will immediately return you in the first cell. Some people today consider Excel quite expensive in comparison to free choices. Consequently, the very first step would be to double check Excel’s listing of native functions to see whether there is already one that can do the calculations you’re thinking about.
db-excel.com
Excel Spreadsheet Template