Formula language
v1 uses a small, allow-listed language. It does not run JavaScript and it does not call the network.
References
- Column letters:
A,B,AA. - Header names:
Price,Tax. If a header has spaces, quote it:'Unit Price' * Qty. - If a header and a column letter would clash, the header name wins.
Operators and functions
- Arithmetic:
+-*/and parentheses. - Comparisons, for
IF:=!=<>><>=<=. - Functions:
SUM,AVERAGE,MIN,MAX,COUNT,IF(condition, a, b).
Examples
| Formula | What it does |
|---|---|
Price * (1 + Tax) | Per-row total with tax |
IF(B = 0, 0, A/B) | Avoid a divide-by-zero |
SUM(A, B) | Add two cells in the same row |
Empty cells count as 0 in arithmetic and are skipped in AVERAGE, MIN, MAX, and COUNT. Errors show in the cell as #DIV/0!, #REF!, #NAME?, #VALUE!, or #ERROR! — the macro does not crash.