You don't need complex formulas to summarize thousands of rows when PivotTables can do the heavy lifting for you.
Embed Excel formula comments directly into your math using the N and REPT functions to keep your spreadsheet documentation ...
If you can write an Excel formula, you can build your own function.