Query data with SQL, directly from any Excel cell.

formulaDB is an Excel add-in that runs DuckDB in the browser, so SQL works on remote or local files with no upload and no server.

fx =DB.QUERY("SELECT region, SUM(revenue) FROM sales GROUP BY region", A1) region SUM(revenue) EMEA 4,182,900 APAC 3,640,210 Americas 5,071,640

Write SQL where you already work

Before

Download the Parquet file, load it into Python or Tableau, shape it, then re-share the result with finance — every time the question changes.

After

One =DB.QUERY formula lives in the workbook and refreshes with Excel's recalc. The query is the document.

In-cell SQL

DuckDB runs in the browser sandbox; results spill like any other Excel array.

Remote or local

point at an https:// Parquet URL, or pick a .parquet / .csv from your machine via the task pane.

JOIN across sources

bind each source to a SQL alias with =DB.SOURCE, then join them in one query.

No upload, no server

local files never leave the browser session; remote files are fetched directly browser-to-source.

How it works

A cell calls the =DB.QUERY custom function. The query runs in DuckDB-WASM inside the browser, which reads the Parquet source — a remote URL or a local file you picked — and spills the result straight back into the sheet. Nothing round-trips through a formulaDB server.

Excel cell =DB.QUERY DuckDB-WASM Parquet source Spilled result

Read the full walkthrough →