Formulas custom fields allow you to create calculations based on your existing data in Blue. This is great for calculating profit margins, totals, tax rates, and commissions.
Formulas can use data from the following custom fields within the same record:
Simply type a curly bracket {
and the system will give you a drop down list of fields you can reference.
You can then perform operations on these values using functions:
You can use these operations by passing the custom field name into the function. For example, if you had a custom field named Cost
you could use AVERAGE(Cost)
to calculate the average cost of a set of records.
For passing multiple custom fields into a function, you can use the ,
comma to separate each field. For example, if you had custom fields named Cost
and Profit
you could use AVERAGE(Cost, Profit)
to calculate the average cost and profit of a set of records.
You can also use the following mathematical operators:
Operator | Description |
---|---|
+ | Addition |
- | Subtraction |
* | Multiplication |
/ | Division |
% | Percentage |
^ | Exponentiation |
See an example below of creating a profit calculation based on sales price and cost:
There are no restrictions on the complexity or number of operations in your formulas. They will validate correctly as long as the syntax is valid. Formulas only reference fields within the same record, not external data.
The final step to creating a formula custom field is deciding how to display the data.
Formula fields offer three display options:
Users can view the underlying formula logic by hovering over the field.
While editable formulas will update results in real time if referenced values change, exported data will only contain the calculated formula results rather than the formulas themselves.