Repository navigation
Formulas
A formula column is computed from each row, like a column of formulas in Excel. It stays live: change a cell, and every formula that uses it updates at once. Formulas use ParVu's expression language, with [column] meaning a column of this table.

- Column → New Formula Column… (it goes after the selected column), or
- right-click a header → New Formula Column After This, or
- the Formula button next to the query panel, or
- the + header after the last column (the new column goes at the end).
Typing = in a cell doesn't start a formula: it's an ordinary value, and the status bar says where formulas are.
The formula bar opens above the table while you write, and closes when you apply or cancel:

- Type the formula after the
=. Functions and columns are completed as you type. -
Click a column header to insert
[column]. Shift+click another header to turn it into a range[first:last]. - Every column the formula uses gets its own colour, both in the bar and as a tinted column in the table.
- Name the column in the box on the left (
column1,column2… by default). - Enter applies, Esc cancels. If the formula has an error, the bar says what's wrong and underlines where.
| Formula | Meaning |
|---|---|
= [qty] * [unit_price] |
values of the same row |
= ROUND([price] * 1.18, 2) |
any function of the expression language |
= IF([qty] >= 5, 'bulk', 'single') |
conditions |
= [price] / SUM([price]) |
column total: SUM, AVG, COUNT, COUNTD (distinct), MIN and MAX of a single column are taken over the whole table |
= SUM([q1:q4]) |
across the row: a range [first:last] inside SUM, AVG, MIN, MAX or COUNT covers the columns from first to last; empty values are skipped |
= [total] - PREV([total]) |
neighbouring rows: PREV([x]) is the value one row up, NEXT([x], 2) two rows down, in the file's order. Empty past the first or last row. |
= [average] * 2 |
a formula can use earlier formula columns |
Totals and ranges work like Excel's: SUM(B:B) is a column total and SUM(B2:D2) adds across a row. In ParVu these are SUM([b]) and SUM([b:d]). Most of Excel's functions work under their own names, including XLOOKUP, COUNTIF, SUMIFS, IFERROR, TEXT and EOMONTH: see Excel Functions.
- Each formula is computed only for the rows on screen, so formulas cost nothing on a table of millions of rows until you page through it.
- A column total is computed once, when you apply the formula, and again after a cell edit. Paging doesn't recompute it.
-
PREVandNEXTneed the whole table in order on every page. They are allowed on tables of up to 2,000,000 rows.
- Press Enter on (or double-click) a cell of a formula column to edit its formula in the bar.
- Right-click the header → Edit Formula or Remove Formula Column.
- Undo (
Ctrl+Z) reverts adding, changing or removing a formula. - Cells of a formula column can't be typed into; change the formula instead.
Formula columns are part of the table: filters, group by, charts and every later step see them as ordinary columns. Cells of the other columns stay editable while formulas exist.
- Save and Export write the computed values. Files have no place for formulas.
- ParVu remembers a file's formulas and brings them back when you open it again, as long as the file hasn't changed. The status bar says "Formula columns restored".
- Table Info lists each formula column with its formula.
The AI assistant and connected AI clients can propose formula columns too. You see the formula and a preview on an approval card first. See AI Assistant and AI Clients.
Start
Work with data
- SQL and Expressions
- Transforming Data
- Column Types
- Formulas
- Excel Functions
- Editing and Filling Cells
- Saving and Exporting
Go further