TSV String; Sum of Number Column
Calculates the sum of the values in a numeric column. If non-numeric data is mixed in the specified column, the record is regarded as zero and will not be added.
Download
- Tsv-String-Sum-of-Number-Column-2021.xml
- Tsv-String-Sum-of-Number-Column-202107.xml (Deletes only newline characters at both ends of a string.)
- //const inputText = (engine.findDataByNumber( dataIdA ) + “”).trim();
- const inputText = (engine.findDataByNumber( dataIdA ) + “”).replace(/^[\n]*/, “”).replace(/[\n]*$/, “”);
- Tsv-String-Sum-of-Number-Column-20210716.xml (Comma removal version: for regions that use a comma as a thousands separator)
- strValueB = strValueB.replace( /,/g, “” ); // 2019-11
2021-07-16 (C) Questetra, Inc. (MIT License)
https://support.questetra.com/addons/tsv-string-sum-of-number-column-2021/
The Add-on import feature is available with Professional edition.
Notes
- Since numeric parsing depends on JavaScript parseFloat(), numerical values are not recognized if there is a prefix.
- The calculation results will differ if the numeric data contains digit separators.
Capture

Pingback: TSV String; Sum of Number Column – Questetra Support