I wouldn't expect to do anything much more complicated than http://strlen.com/treesheets/docs/images/screenshots/screens...
The tutorial has a live example, and also lists the implemented operators.
If you want to do complicated formulas, you're almost certainly better off with a traditional spreadsheet. Or create a PR to extend it with operations you need :)