Formula Properties: Calculate Values Automatically

Last updated: December 1, 2026

Overview

Formula Properties automatically calculate values based on other properties in Coperniq. Results stay up to date whenever the underlying values change, eliminating manual calculations and reducing errors.

Before you begin

  • You need access to Settings

Create a Formula Property

  1. Go to Settings → Properties.

  2. Select Account Properties, Opportunity Properties, or Project Properties.

  3. Click Create Property.

  4. Enter a Property name.

  5. Set Property type to Formula.

  6. Write the formula:

    • Search for properties with Search for a property... and add them.

    • Use +, -, *, /, parentheses, and numbers.

    • Check the preview to confirm the formula reads correctly.

  7. Click Save.

Coperniq will calculate the formula for existing records and automatically maintain its value going forward.

Formula Examples

Goal

Formula

Price per watt

Value / (Size * 1000)

Profit margin (%)

Profit / Revenue * 100

Total system wattage

Panel_Count * Panel_Wattage

Treat a blank as 0

IFEMPTY(Rebate, 0) + Value

Note: Property names in a formula use each property's key, so they may look slightly different from the display name.

What Can You Include in a Formula?

Properties

  • Your custom Numeric properties

  • Other formula properties, so you can build formulas on top of formulas

  • Built-in number fields:

    • Projects: Value, Size, Cost, Labor Cost, Revenue, Profit

    • Opportunities: Value, Size

Math

  • Add +, subtract -, multiply *, divide /

  • Parentheses ( ) to set the order

  • Plain numbers, for example 1000 or 0.3

Function

  • IFEMPTY(property, 0): uses 0 when the property is empty

A formula can't use

  • Text, date, dropdown, or other non-number properties

  • Archived properties

  • Itself, or a formula that already uses it

  • A property that doesn't exist on every record type the formula applies to

How Formula Properties Work

Values Update Automatically

Formula values update whenever a referenced property changes.

For example, if you use:

Value - Material_Cost

And the project value is $30,000 while material costs are $12,000, the formula returns 18,000.

If the material cost changes to $14,000, the result automatically updates to 16,000.

You don't need to edit the formula or recalculate it manually.

Empty Results

The formula result is empty when:

  • a property it uses is empty

  • it divides by zero

  • the result is too large to store

To treat blanks as 0, wrap the property in IFEMPTY(property, 0).

Rounding

Results are stored with up to 4 decimal places.

On Records

  • Formula properties are read-only. No one can type a value into them.

  • They don't appear on forms or when creating a record, since they're calculated.

  • Changes to a formula's value aren't listed in the record's history.

Calculating Existing Records

When you create a formula property or change its formula, Coperniq recalculates it on every existing record in the background.

While it's calculating

  • The property shows a Calculating badge. Hover over it to see: "Calculating its values on existing records. You can edit it once that's done."

  • You can't edit or archive the property until it finishes. The same applies to any formula that uses it.

  • For companies with many records, this can take a while.

If it fails

  1. The property shows a Failed to calculate badge. Hover over it to see: "Some of its values couldn't be calculated. Recalculate it from the menu to try again."

  2. In Settings › Properties, open the property's menu (⋮).

  3. Click Recalculate.

Where Can Formula Properties Be Used?

Formula Properties can be used throughout Coperniq to:

  • Accounts, Opportunities, and Projects: View calculated values directly on records.

  • Forms: Show calculated values and use them to control field or section visibility.

  • Workflows: Control when steps run based on formula results.

  • Payment Structures: Set milestone conditions and calculate invoice amounts.

  • Automations: Trigger actions based on calculated values.

  • Lists: Add calculated values as columns, and filter or sort records using them.

Managing Formula Properties

You can't:

  • Archive a property while a formula uses it. Remove it from the formula first.

  • Change its type to anything other than a number while a formula uses it.

  • Remove a property from a record type if a formula on that record type still uses it.

Formula properties themselves:

  • Are always numbers. Their type can't be changed.

  • Can't be created by converting an existing property. Create a new Formula property instead.

Troubleshooting

Why is my formula value empty?
One of the properties it uses is empty, or the formula divides by zero. Use IFEMPTY(property, 0) to treat blanks as 0.

Why can't I save my formula?
The formula has an error, or it uses a property that isn't allowed. Check the preview for the error message.

Why can't I find a property when building a formula?
Only number properties and formulas can be used, and archived properties aren't shown. The property must also exist on every record type the formula applies to.

Why can't I edit my formula property?
It's still calculating values on existing records. Wait until it finishes.

Why can't I archive a property?
A formula uses it. Remove it from that formula first.

Why does a formula value look out of date?
Open the property's menu and click Recalculate.

Why can't I type a value into a formula property?
Formula properties are calculated automatically and are read-only.