Custom functions in Google Spreadsheet

The documentation to add script buttons to Google Docs Spreadsheet is quite well advertised in the documentation. Surprisingly, it was more difficult to find how to make custom functions. Custom functions are such that are used as the normal spreadsheet functions "=func(A1:A9)"

My need was to add function ...

lisää…