Power Query Problems

How to Import German Decimal Numbers Correctly into Excel

Anum MushtaqAnum Mushtaq Oct 22, 2026 868 views

Question details

The user needs to import a CSV file containing German decimal formats into an English-configured Excel application without losing the decimal precision.

How to Import German Decimal Numbers Correctly into Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Importing a CSV file with European or German number formats (using commas as decimals) on a computer configured with English regional settings.
Observed behavior
Excel ignores the comma and interprets values like 123,45 as whole numbers (12345), resulting in incorrect data representation.
Before you start

Ensure you have the original, unmodified CSV file saved on your computer. Opening the file directly by double-clicking it may cause Excel to immediately alter the formatting, so it is best to start from a blank workbook.

Solution 1Recommended

Import the CSV File Using Power Query with Locale Settings

Use Power Query to detect and convert data types based on the German locale, preserving the comma as a decimal separator without altering the source file.

Power Query provides a reliable workflow for importing dates and decimal numbers from different locales, ensuring data integrity during the import process.

1
Open Get Data

Open a blank Excel workbook, go to the Data tab on the ribbon, click 'Get Data', select 'From File', and then choose 'From Text/CSV'.

2
Select the CSV File

Locate and select your German-formatted CSV file from your computer and click 'Import'.

3
Open Power Query Editor

In the preview window that appears, do not click Load. Instead, click 'Transform Data' to open the Power Query Editor.

4
Change Type Using Locale

Right-click the column header containing the decimal numbers, hover over 'Change Type', and select 'Using Locale...' from the bottom of the menu.

5
Specify the German Locale

In the dialog box, set the Data Type to 'Decimal Number' and the Locale to 'German (Germany)'. Click 'OK', then click 'Close & Load' to bring the correctly formatted data into Excel.

Import the CSV File Using Power Query with Locale Settings
Why Text to Columns fails: Using the 'Text to Columns' feature does not solve this problem because Excel has already removed or ignored the comma while opening the CSV file. The decimal separator must be configured during the import phase.

Easily Import German CSVs with WPS Spreadsheet

WPS Office provides a highly intuitive Text Import Wizard that allows you to manually specify decimal and thousands separators during the import process, completely bypassing regional setting conflicts.

  1. 1. Open WPS Spreadsheet: Launch WPS Spreadsheet and navigate to the 'Data' tab on the top menu ribbon.
  2. 2. Start the Import Process: Click on 'Import Data', choose 'Select Data Source', and open your target CSV file.
  3. 3. Navigate the Text Import Wizard: Select 'Delimited' in the first step of the wizard, click Next, set your delimiters, and proceed to Step 3.
  4. 4. Configure Advanced Settings: Click the 'Advanced' button. Set the 'Decimal separator' to a comma (,) and the 'Thousands separator' to a period (.), then click 'OK'.
  5. 5. Finish Import: Click 'Finish' to successfully load the CSV data with the correct German decimal formatting applied.
Free to download and useFully compatible with Microsoft Excel formats (.xlsx, .csv)Customizable Text Import Wizard for international dataLightweight and fast performance for large datasets
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel change 123,45 to 12345 when I double-click a CSV file?

When your computer's regional settings are configured for English, Excel expects a period (.) as the decimal separator. It interprets the comma (,) in 123,45 as a thousands separator, which it hides by default, converting the value to the whole number 12345.

Can I use the Text to Columns feature to fix the numbers?

No, if you have already opened the CSV directly in Excel, the application has likely already stripped the comma separator from the raw data. The file must be imported correctly from the very beginning using Power Query or an import wizard.

Do I need to change my Windows regional settings to open this file?

No, changing your entire system's regional settings is unnecessary and may disrupt how other applications display dates and numbers. Using Power Query to specify the locale during import is a safer, file-specific solution.