This is a collection of functions I wrote while developing a complex spreadsheet in Google Sheets. They can be split into 3 categories:
- Utility Functions: These functions compensate for features missing from Google Apps Script.
- Formula Functions: Functions that can be used in Google Sheets formulas.
- Class Constructor Functions: An "Enum" class.
Google Apps Script is a subset of JavaScript 1.6. Some features of JS 1.6 (such as "let" and "const") are either buggy or absent. Since I'm not an expert JavaScript programmer, I wrote this code to work around those limitations. There may be more conventional solutions to these problems, especially my Enum class. I also tend to think in Python, which may cause JavaScript pros some distress.
Some important things to be aware of:
- Functions with names that end with "_" cannot be called as formulas from Google Sheets.
- User-defined formulas that are called too frequently or run too long may be rate-limited by Google.
- Google Sheets is not a reasonable platform for complex applications. Use Rails or Django instead.
N/A (yet).
- Pete DiMarco - Initial work - PeteDiMarco
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.