We did not announce an official release date for version X16 (26.0), but we already published several articles explaining features we are working on.
Today, we would like to present another feature that will be part of TX Text Control X16: Microsoft Excel compatible formulas in tables. Consider a value of a table cell that is calculated dynamically based on other table cell values. Typically, a SUM formula is inserted at the end of a table to create a total sum value. Or a tax value that is calculated based on a tax percentage value and the calculated total sum.
Consider the following very basic table with a formula at the end that basically creates a sum of the above table rows. Cell references contained in formulas must use the relative R1C1 reference style (example: R[-1]C).
When the referenced cell values are changed, the cell with the formula is calculated dynamically:
TX Text Control will support 60+ formulas including most mathematical and trigonometric formulas compatible to Microsoft Excel. Additionally, in TX Text Control X16 it will be possible to load Excel XLSX files directly in order to import the spreadsheet into a table including formulas and table number formats.
Consider the following template showing a balance sheet:
The following sample data is used to merge the template:
The merge fields are populated with data from the XML and the formula cells are updated automatically:
Table cell formulas allow you to create views with calculated fields that are not part of your business object or pre-shaped data. Together with the new filter and sorting options for repeating blocks, MailMerge is getting even more flexible.
Stay tuned for more!