Convert Excel Decimal Separators from Periods to Commas
Question details
Convert Excel values that use periods as decimal separators so they work with comma-decimal settings.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A workbook needs to use commas as decimal separators for values that currently contain periods.
- Observed behavior
- Values containing periods cause errors, and changing Excel's separator settings alone does not convert existing text values.
Check whether the affected cells are text or already numeric, and confirm that a period represents the decimal point rather than a thousands separator. The conversion formula below assumes the source text has no thousands separators.
Convert period-decimal text with a formula
Use a helper column to turn text such as 12.5 into a numeric value under comma-decimal settings.
In Excel, open File > Options > Advanced. Clear Use system separators, set Decimal separator to a comma and Thousands separator to a period, then select OK.
Select an empty helper column and choose Home > Number Format > General.
In the first helper cell, enter =SUBSTITUTE(A1,".",",")*1, replacing A1 with the source cell. If Excel requires semicolons between formula arguments, use =SUBSTITUTE(A1;".";",")*1 instead.
Drag the helper cell's fill handle down the column and check a few results against the original values.
Copy the converted cells, select the original range, and use Home > Paste > Paste Special > Values if you want to replace the text with the numeric results.

Change Excel's decimal separator settings
Use this for cells that are already numeric and only need to display with comma decimal separators.
Convert period-decimal text in WPS Spreadsheets
Open your workbook in WPS Spreadsheets and use a helper-column formula to convert period-decimal text into numbers when your regional settings use a comma decimal separator.
- 1. Open the workbook: Open WPS Spreadsheets and select Open to load the Excel workbook.
- 2. Check the settings and source: Confirm that your regional settings use a comma as the decimal separator and that the source text uses periods only as decimal points, not thousands separators.
- 3. Enter the conversion formula: Select an empty cell beside the first source value and enter =SUBSTITUTE(A1,".",",")*1. If your formula settings require semicolons between arguments, use =SUBSTITUTE(A1;".";",")*1.
- 4. Fill and save the values: Drag the fill handle down, check the results, and use Copy and Paste Special > Values to replace the original text if needed. Save the workbook.

Frequently Asked Questions
Why didn't changing Excel's decimal separator convert my cells?
File > Options > Advanced changes how Excel interprets and displays numeric values, but existing text stays as text. Use a conversion formula in a helper column for text values.
Why does the SUBSTITUTE formula return an error?
Check that Excel is configured to use a comma decimal separator and that the source text has no conflicting thousands separators or extra symbols. If Excel rejects the formula syntax, try semicolons instead of commas between its arguments.
How can I keep the converted numbers without the formula?
Copy the helper-column results, select the destination cells, and choose Home > Paste > Paste Special > Values. Check the pasted numbers before removing the helper column.
Do I need to convert cells that are already numeric?
Usually not. Set the desired separators under File > Options > Advanced and choose an appropriate format under Home > Number Format. Numeric cells can then display with a comma decimal separator.




