bilig

Formula Language

Current state

Canonical corpus milestone

The active milestone is the canonical Excel for the web worksheet formula corpus represented in packages/formula/src/compatibility.ts.

The current code-backed canonical registry contains 431 rows.

There are no non-production canonical rows.

The canonical grouped-array SUM forms for GROUPBY and PIVOTBY now route through internal native grouped-array builtins on the wasm path.

Google Sheets compatibility subset

QUERY is supported for local WorkPaper ranges, not provider-backed Sheets data. The current deterministic subset covers:

Unsupported Google Visualization Query Language clauses such as pivot, having, format, and options still fail closed with #VALUE!.

Full target

The full formula target remains Excel 365 worksheet parity as of 2026-03-15, including:

Host and service function boundary

The worksheet engine keeps non-worksheet Excel surfaces behind the adapter contract in packages/formula/src/external-function-adapter.ts.

Semantic rules

Canonical companions