Hello,
I am trying to add cell ranges as a parameter in custom formulas, is there a way to do this? I can't seem to find anything about this in the documentation.
Example:
this.spreadsheetObj.addCustomFunction(
(cellRange) => createIRRFunction(cellRange),
'IRR'
);
The formula in the spreadsheet would be used like this "=IRR(A1:A5)". If I log the cellRange parameter in the "createIRRFunction(cellRange: any)" function, I just get the string "A1:A5", but how can I access these values??