Tablora

Tablora · Library

Interpret one parenthesized negative amount

Accounting tables show negatives in parentheses, as in (1,234.50). Convert that one convention to -1234.50 and hold any value with a second sign.

Parentheses as a minus sign

Financial statements, management reports and many accounting exports print a negative amount in parentheses rather than with a minus: (1,234.50) instead of -1,234.50. Copied into a spreadsheet, such a value often arrives as text, so it is skipped in sums or, worse, typed in again as a positive figure.

The numeric normalizer recognizes parentheses around the whole value as one negative sign marker and rewrites the amount with a leading minus. Spaces just inside the parentheses are ignored, and a currency label inside them, as in ($1,234.50), is removed as usual.

From (1,234.50) to -1234.50

With Decimal separator . and Grouping separator comma, the source value (1,234.50) becomes -1234.50. The grouping comma is removed, the fraction stays at two digits and the sign moves to the front.

Where the parentheses sit matters. A currency symbol outside them, as in $(1,234.50), does not convert; the value is held for review and keeps its original text. Move the symbol inside or remove it in your copy, then calculate again.

A decimal-comma amount works the same way once the separators match: (1.234,50) with Decimal separator , and Grouping separator . also becomes -1234.50.

Steps for an accounting column

Double signs and the CSV prefix

Original synthetic example

Source value
(1,234.50)
Decimal separator
.
Grouping separator
,
Expected outcome
Normalized amount: -1234.50

Tools