Excel decimal separator for invoice amounts

Excel reads 1,234 by your decimal separator setting. Declare the source convention at import, keep the raw text and count the invoice amounts in the sum.

See the PDF-to-Excel example

Excel reads numbers with the decimal separator set by your system or by Excel’s own options, so “1,234” is one thousand two hundred thirty-four on a US setup and 1.234 on a decimal-comma setup. For invoice amounts from another country, do not change that global setting first: declare the source convention when you import the column, keep the original text beside the number, and check that every amount entered the sum.

The W3C tabular data model treats the decimal character and the grouping character as properties of the data format, not of the reader’s screen. That is the right mental model for invoices: the convention belongs to the supplier’s file. Separator checks sit with the other steps to validate invoice data line by line.

How do you change the decimal separator in Excel?

In current Windows versions of Excel, the option usually sits under File > Options > Advanced: clear “Use system separators”, then type the decimal separator and the thousands separator you want. On a Mac, look for the equivalent option in Excel’s Edit preferences; menu names vary by version. Without the override, Excel follows the operating system’s regional format.

This setting changes how numbers are typed and displayed in every workbook. It does not convert values that are already stored as text, and it does not fix a value that was already read the wrong way. Use it when your own working convention differs from the system; use the import settings below when one supplier file differs.

How do you import invoice amounts with another decimal separator?

  1. Keep an untouched copy of the CSV and a raw text column for each amount.
  2. Identify the supplier’s convention from the PDF: a value with both separators, such as “1.234,50” or “1,234.50”, settles it.
  3. Import the file instead of double-clicking it. In the text import wizard, the Advanced button at the column-format step usually lets you set the source’s decimal and thousands separators. In the spreadsheet’s query editor, change the column type using the locale of the source.
  4. For text already in the sheet, convert in a new column with NUMBERVALUE: =NUMBERVALUE(A2,",",".") turns “1.234,50” into 1234.5.
  5. Compare four values with the PDF: a decimal amount, a value above one thousand, a negative amount and an empty field.

Synthetic check: two lines of “1,25” and “2,75” should sum to 4.00 under a decimal-comma convention. A result of 400 reveals a conversion error, not a rounding issue. A spreadsheet’s query editor uses the locale chosen at import to read text; that setting is separate from the interface language.

InvoiceLineLab extracts invoice line items from PDF to Excel or CSV with amounts exported as numbers and ambiguous or missing values flagged next to their source page, so the numbers you import are not left to a guess. See the columns in the synthetic invoice example.

How do you tell a decimal comma from a thousands comma?

Look at the document, not the currency. A euro or dollar sign does not decide whether a comma is decimal or grouping punctuation. Inspect a value with both separators, the supplier’s stated convention if any, and the matching quantity and line amount.

Synthetic example: a printed unit price “1,234” with quantity 2 gives 2.468 under a decimal-comma convention, or 2468 under a thousands-comma convention. The printed line amount tells you which one the invoice uses. If the invoice offers no decisive evidence, keep “1,234” as unresolved text instead of choosing the reading that makes a grand total fit.

Use this decision table on the untouched strings. The result column uses a decimal point; the original notation stays in its own column.

Source textEvidence requiredNumeric resultDecision if evidence is absent
1 234,50Space groups thousands; comma is decimal1234.50Keep as unresolved text
1,234.50Comma groups thousands; point is decimal1234.50Check the supplier’s other amounts
1,234Decimal comma or grouping comma1.234 or 1234Do not choose automatically
(25,00)Parentheses mean a negative amount-25.00Keep the sign interpretation open
0,00Printed zero, decimal comma0.00Keep as an explicit zero
Empty fieldNo printed valueNo numberPreserve the absence

Do not apply the parentheses rule to every supplier because it works for one. A space may be an ordinary space or a non-breaking one: normalize it only in a derived value, after confirming its role.

Why does an Excel sum look right but miss amounts?

Because a value that failed conversion stays text, and SUM skips text silently. Synthetic acceptance set: 1 234,50, -25,00, 0,00, an empty field and the unresolved 1,234. After validating the first three, you have five rows: three accepted numbers, one absence and one unresolved value. The accepted subtotal is 1234.50 − 25.00 + 0.00 = 1209.50, which is a plausible number, not the invoice total.

Count before you sum. Compare the number of source rows with the number of numeric cells (COUNT) and the number of non-empty cells (COUNTA) in the amount column. Every row needs an accepted value or an explained exception before the batch is released.

What if the amounts were already converted wrongly?

Converting a wrong number back to text does not recover the source. Go back to the preserved raw column and to the first type-conversion step, and check automatic detection and locale settings there. Do not turn empty values into zero, and do not delete every comma or space globally: that changes descriptions and decimals together.

For a small invoice, a manually checked numeric column beside the original strings may be enough. For a repeatable import, keep failed conversions in an exceptions view with supplier and source page; a blank, a dash and a printed zero must stay distinguishable. If a vendor (supplier) layout introduces another separator or sign style, reopen its rule and rerun the acceptance set from the raw data. A readable number still does not establish the unit, the discount base or the currency.

FAQ

Why does Excel not recognize my numbers with commas?

The file uses a decimal comma while Excel expects a decimal point, or the reverse, so the values stay as text. Import the column with the source’s separators or convert it with NUMBERVALUE.

How do I change a comma to a decimal point in Excel?

Change the separators in Excel’s advanced options for your own work, or declare the source separators at import for one file. Avoid a global find-and-replace on commas.

Does changing the decimal separator change existing values?

It changes how stored numbers are displayed and typed. Values stored as text remain text and must be converted separately.

Should I replace all commas with points before importing?

No. A blind replacement also changes thousands separators and descriptions. Declare the convention, convert a copy and compare with the PDF.

Continue the checks

Before importing, check whether the invoice is a scanned or text-based PDF. Codes need the opposite treatment from amounts: see Excel leading zeros in supplier item codes. Keep amounts on line items, separate from invoice header fields.

InvoiceLineLab turns supplier invoice lines into reviewable spreadsheet rows. Open the fictional invoice and its CSV to test your own import settings, and see the checks run on every extracted line.

Sources and further reading

Get started with InvoiceLineLab

Enter your work email to get access to InvoiceLineLab. No account or payment is created at this stage.

Submitting sends your email and visit context to our publisher’s infrastructure, named on the Privacy page. No account, payment or automatic email is triggered. Privacy.