Skip to main content

Formula columns in Quote builder (beta)

Automatically calculate margins, markups, and surcharges — right inside your quote table.

Availability: Enterprise plan

Note: This feature is in beta. To have it enabled, contact our Support team.

Formula columns are a new column type in Quote builder that let you define your own arithmetic expressions between existing columns. Set up a formula once and PandaDoc handles the math — calculating a value per row, in real time, every time a referenced value changes.

No more manually entering calculated values or jumping to a spreadsheet mid-quote.

Example: Add a "Margin %" column with the formula (Price - Cost) / Price and every row instantly shows the right margin — and keeps it updated as prices change.

Add a formula column

  1. Open a document with a Quote builder block.

  2. Click Add Column and select Formula.
    ​

  3. Build your expression in the visual builder:

    • Pick columns to reference from the dropdown — they appear as visual tokens

    • Add arithmetic operators between them

    • Use parentheses to control the order of operations
      ​

  4. Select an output format: Number, Currency, or Percent
    ​

  5. Press Command+Enter (Mac) or Ctrl+Enter (Windows) to confirm — values calculate immediately across all rows

  6. Click the column header and rename it something clear (e.g., "Margin %", "Unit Profit", "Surcharge") this is what your recipient will see
    ​

  7. (Optional) Hide the column from the recipients if this column is for internal use only. To do this click the column header in the quote builder full screen mode and toggle of Show for recipients option. Save changes at the top right
    ​

How to edit a formula

  1. Click the column header and select Edit formula
    ​

  2. Build your expression and select an output format: Number, Currency, or Percent

  3. Press Command+Enter (Mac) or Ctrl+Enter (Windows) to confirm — values recalculate immediately across all rows


Supported operators

Operator

Description

Example

+

Addition

Price + Surcharge

-

Subtraction

Price - Cost

*

Multiplication

Quantity * Unit Price

/

Division

(Price - Cost) / Price

( )

Grouping

Price * (1 - Discount)


Output formats

Format

What it does

Number

Displays a plain numeric value (e.g., 42, 3.14)

Currency

Formats as money using your document's currency settings

Percent

Displays the value as a percentage


Error handling

Formula columns fail gracefully — an issue in one row won't affect anything else in your quote.

Situation

What you'll see

Divide by zero

An error indicator in that cell only

Referenced column deleted

An error at the field and cell level

Type mismatch

Inline feedback while building the formula


What's not supported yet

Formula columns are intentionally scoped to keep things simple and fast. A few things aren't available yet:

Limitation

Detail

Advanced functions

No ROUND, ABS, IF, MIN, MAX, or conditional logic — basic arithmetic only

Subtotals / grand totals

Formula column values don't roll into quote totals yet

Cross-formula references

A formula column can't reference another formula column

Rules / Workflow integration

Formula outputs can't trigger workflow conditions

Template defaults

Formula columns can't be pre-configured in templates yet


Formula columns vs. CPQ Rules

These two features work together — they're not the same thing.

Formula columns compute a value per row and display it in your quote. CPQ Rules use values and conditions to drive pricing decisions and trigger workflow actions.

The short version: formulas show you the number. Rules decide what to do with it.

Formula Columns

CPQ Rules

Purpose

Display a computed value per row

Drive pricing logic and workflow actions

Supports IF / conditionals

No

Yes

Feeds into totals

Not yet

Yes

References other formulas

No

Yes

Best for

Showing margin, markup, surcharges

Enforcing discount limits, triggering approvals


FAQ

Can I use formula columns in templates?

Not yet — template-level defaults are planned for a future release. For now, add formula columns manually per document.

What happens if I delete a column my formula references?

The formula will show an error at the field and cell level. Open the formula builder and update or remove the broken reference to fix it.

Can I reference one formula column inside another?

Cross-formula references aren't supported yet.

Is this available on Business or Starter plans?

No — formula columns are Enterprise-only.

Did this answer your question?