Sometimes you might need to calculate values within your document template. Within Portant you can add calculations for a few simple formulas.
In this guide we will run through the following formula:
Returns the sum of a series of field values, including all field values within a Data Group tag
{{=SUM(tag name, tag name)}}
{{=SUM(tag1, tag2, ...)}}
The tags included in the brackets don't need to be accompanied by "{{" and "}}"
The AVERAGE function returns the numerical average value in a group of tags, including all field values within a Data Group tag
{{=AVG(tag name, tag name)}}
{{=AVG(tag1, tag2, ...)}}
The tags included in the brackets don't need to be accompanied by "{{" and "}}"
Returns the Maximum value from a group of tags, including all field values within a Data Group tag
{{=MAX(tag name, tag name)}}
{{=MAX(tag1, tag2, ...)}}
The tags included in the brackets don't need to be accompanied by "{{" and "}}"
To find the Minimum value from a group of tags, including all field values within a Data Group tag
{{=MIN(tag name, tag name)}}
{{=MIN(tag1, tag2, ...)}}
The tags included in the brackets don't need to be accompanied by "{{" and "}}"
Returns the product of two tags or a tag and a number. Equivalent to the `*` operator.
{{=MULTIPLY(tag name, tag name)}}
{{=MULTIPLY(tag name,0.5)}}
{{=MULTIPLY(tag1, tag2)}}
The tags included in the brackets don't need to be accompanied by "{{" and "}}"
Returns the sum of two tags. Equivalent to the '+' operator. In Data Grouped tags the calculation occurs per row of data, NOT for all data within the group.
{{=ADD(tag name, tag name)}}
{{=ADD(tag name, 5)}}
{{=ADD(tag1, tag2)}}
The tags included in the brackets don't need to be accompanied by "{{" and "}}"
We created Portant in 2021 and the feedback we have received since then has been very helpful and greatly appreciated. If you have any feedback please feel free to send us an email at contact@portant.co or use our contact form here: https://www.portant.co/support
Thanks,
Blake and James
You can do a lot more than just mail merge with Portant. Portant is a fully-fledged online document automation solution that can optimise many different document flows. You can use our online document automation platform to optimise your repetitive work, so you can get back to doing the work you enjoy.
Get startedTransform your work life with responsive, fully customizable, and easy-to-use templates.