Formatting Issues

How to Replace a Comma with a Dot Without Converting to Dates in Excel

Steve KSteve K Oct 20, 2026 879 views

Question details

The user needs to change decimal commas to dots without the spreadsheet application automatically interpreting and formatting the resulting values as dates.

How to Replace a Comma with a Dot Without Converting to Dates in Excel
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.
Before you start

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.

Solution 1Recommended

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).

1
Open Excel Options

Click on 'File' in the top-left corner and select 'Options' at the bottom of the menu.

2
Navigate to Advanced Settings

In the Excel Options dialog box, click on 'Advanced' in the left-hand pane.

3
Disable System Separators

Scroll down to the 'Editing options' section and clear the checkbox labeled 'Use system separators'.

4
Define Custom Separators

Set the 'Decimal separator' to a dot (.) and the 'Thousands separator' to a comma (,). Click 'OK' to apply the changes.

5
Perform Find and Replace

Press Ctrl + H to open the Find and Replace dialog, and safely replace your commas with dots without date conversion.

Adjust Advanced Options for Separators
Recovering Converted Dates: If your values were already converted to dates, highlight the affected cells, change their cell format back to 'Number', and re-enter or import the original data.
Seamless Data Formatting in WPS Office

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. 1. Open Your Document: Launch WPS Spreadsheet and open the file containing your data.
  2. 2. Access Options: Click on 'Menu' in the top-left corner, then click on 'Options'.
  3. 3. Modify Separator Settings: Go to the 'Edit' tab, uncheck 'Use system separators', and change the decimal separator to a dot (.).
  4. 4. Apply and Replace: Click 'OK', then safely use the Find and Replace tool to update your numerical values.
Easily customize decimal and thousands separators without affecting your system-wide OS settings.Highly compatible with Microsoft Excel (.xlsx, .xls) files and their native formatting rules.Free, lightweight, and features a familiar user interface for a completely smooth transition.
QA img-9

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.