If you decide to spill the results, you can then use the spilled range operator (#) to perform a calculation on the spilled ...
This project is a port of the excel-formula library to ES6. It contains a set of functions that can be used to pretty print Excel formulas and convert them into JavaScript, C# or Python code.