How to Replace a Comma with a Dot Without Converting to Dates in Excel
Question details
The user needs to change decimal commas to dots without the spreadsheet application automatically interpreting and formatting the resulting values as dates.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Modifying number formatting or executing a find-and-replace command to update decimal characters in a dataset.
- Observed behavior
- When replacing a comma with a dot (e.g., changing 9,07 to 9.07), the application misinterprets the new value and converts it into a date format instead of keeping it as a decimal number.
Ensure you have not permanently overwritten your original dataset with the incorrect date format. It is best to apply the correct separator settings before executing the find-and-replace command.
Adjust Advanced Options for Separators
Prevent the application from applying system regional settings by customizing the decimal and thousands separators directly.
By default, Excel uses the regional settings defined by your computer's operating system. If your region uses a comma as a decimal separator, manually entering or replacing a comma with a dot causes Excel to interpret the entry as a date string (like September 7 for 9.07).
Click on 'File' in the top-left corner and select 'Options' at the bottom of the menu.
In the Excel Options dialog box, click on 'Advanced' in the left-hand pane.
Scroll down to the 'Editing options' section and clear the checkbox labeled 'Use system separators'.
Set the 'Decimal separator' to a dot (.) and the 'Thousands separator' to a comma (,). Click 'OK' to apply the changes.
Press Ctrl + H to open the Find and Replace dialog, and safely replace your commas with dots without date conversion.

Use the Text to Columns Feature
An alternative method to safely convert imported or pasted data with comma separators into standard decimal numbers.
Manage Decimals and Separators Easily with WPS Spreadsheet
WPS Spreadsheet provides intuitive formatting tools to handle regional data variations, allowing you to easily manage decimals and separators without unwanted date conversions.
- 1. Open Your Document: Launch WPS Spreadsheet and open the file containing your data.
- 2. Access Options: Click on 'Menu' in the top-left corner, then click on 'Options'.
- 3. Modify Separator Settings: Go to the 'Edit' tab, uncheck 'Use system separators', and change the decimal separator to a dot (.).
- 4. Apply and Replace: Click 'OK', then safely use the Find and Replace tool to update your numerical values.

Frequently Asked Questions
Why does Excel change my decimal numbers to dates?
Excel automatically interprets certain number patterns as dates based on your computer's regional settings. If your operating system is set to a region that uses a comma for decimals (like many European countries), typing a dot might trigger a date format, turning '9.07' into September 7th.
How do I fix numbers that have already been converted to dates?
Select the affected cells, right-click and choose 'Format Cells', then change the category back to 'Number'. If the underlying value was permanently altered during the initial automatic conversion, formatting alone won't fix it; you will need to re-enter the data or restore it from an earlier copy.
Will changing the system separators in Excel affect other programs on my computer?
No. When you uncheck the 'Use system separators' box in Excel's Advanced Options, the custom decimal and thousands separators you define will only apply locally within the Excel application, leaving your Windows or Mac regional settings untouched.




