Docs
Browse Docs
Field guide · Numbers and units

Negative numbers in several notations

Negative amounts are written with a leading minus, a trailing minus, parentheses, or a credit marker, all in one column.

What it looks like

Before
balancewhat is actually there
-350.00leading hyphen
(350.00)accounting parentheses
350.00-trailing minus
−350.00minus sign character, not a hyphen
350.00 CRcredit marker
After
balancewhat is actually there
-350.00unchanged
-350.00converted
-350.00converted
-350.00converted
needs a decisionsign depends on the account
Whether a credit raises or lowers a balance depends on the kind of account, so CR cannot be turned into a sign without knowing which account this is.

How it happens

  • Accounting systems print negatives in parentheses or with a trailing minus, and the printed form was exported.
  • Text copied from documents carries a typographic minus sign that is a different character from the hyphen on a keyboard.
  • Some ledgers mark direction with CR and DR instead of a sign.

What it breaks

  • Values in an unrecognized notation are read as text and left out of totals.
  • Stripping the punctuation to make the column numeric turns negatives into positives.
  • Refunds, reversals, and credits are counted as income, or not counted at all.

How to spot it

  • Search the column for parentheses, trailing minus signs, and the letters CR and DR.
  • Total the column and compare with a figure you trust. A total that is too high suggests negatives were dropped or flipped.
  • Check whether a value that looks negative is treated as a number. If it sorts with the text, the minus may be the wrong character.

How to fix it

  • Convert each notation to a plain number with a leading minus, before removing any other punctuation.
  • Replace typographic minus signs with the ordinary hyphen that software reads as a sign.
  • Confirm what CR and DR mean for this account with whoever owns the ledger. The convention is not the same for every account type.

TermsParsing, Type coercion, Locale, Standardization

Karg checks for many of these when it profiles a file, applies the fixes it is confident about, and sets the rest aside for your review. See how it works, or have our team clean your data for you.