How to convert comma to dot

  • Thread starter Thread starter Olinia
  • Start date Start date
Assuming you want to change the decimal separator? If so, go to Tools -
Options - International tab, Uncheck Use System separators and change!
 
I am using Excel 2007. Sorry for stupid question, where is Tool. It was so
obvious for me with Exxel 2003, uh.
 
If you are importing the data you could temporarily change your Regional
Settings (or Excel Option) to have decimal separator as comma, import the
data and then reset the decimal separator to period.

If it is too late for this:
Let the number be in A1
In B1 extract the integer part with: =--MID(A1,1,FIND(",",A1)-1)
in C1 find the fractional part with: =--MID(A1,FIND(",",A1)+1,256)
Note that the double negation converts text to number
Combine the two in D1 with: =B1+C1/10^LEN(C1)

If you wish you can then copy the value in D1 and use Paste Special with
Values specified to turn the formula into a number. This lets you delete the
B and C stuff

best wishes
 
Click the Office icon (colourful circle to the left on Ribbon)
Click Excel Options (bottom of Office dialog)
Click Advanced in the left side of Options dialog
Look at last item in the "Editing Options" group; this is where you set the
thousands and decimal separators
best wishes
 
Hi Bernard

I checked your formulas for converting the decimal separator from comma to period and is not working for me when zero follows the comma.

Example:

If the number is 1,09 your formulas return 1.90 and not 1.09

On all other cases it works perfect. Is this problem due to my excel settings? I am using MS excel 2007 and import the data online from a greek website which uses commas as its default decimal number separator.

Can you please help on this?

Thank you

Kostas
 
Kostas,

use this formula in D1:

=B1+C1/10^(LEN(A1)-SEARCH(",",A1))

instead of the one that Bernard suggested.

Hope this helps.

Pete
 
This may seem like a no brainer, but select all the data you want to edit, go to Find and Replace, and in the "Find what:" space, input "," and in the"Replace with:" space, input "."- all this of course without the " ". I'vedone this several times and it works for me :)
Hope it helps!
 
Hi, would like to conver , comma to . dot (ie 0.184 + 0.041 + 0.241 etc) in order to calculate the sum on excel. Excel does not accept commas. Please advise!

0,184
0,041
0,241
0,245
0,184
0,020
0,051
0,020
0,041
0,082
0,085
0,041
0,041
0,041
0,051
0,041
0,041
0,143
0,020
0,020
0,265
0,272
0,122
0,041
0,020
0,041
0,041
0,01
0,061
0,041
0,082
0,143
0,051
0,061
0,020
0,020
0,020
0,122
0,034
0,340
0,061
0,136
0,153
0,082
0,102
0,061
0,020
0,041
0,034
0,041
0,082
0,041
0,020
0,143
 
Hi, I would like to convert , comma to . dot (ie 0.184 + 0.041 + 0.241 etc) in order to calculate the sum on excel. Excel does not accept commas. Please advise!

0,184
0,041
0,241
0,245
0,184
0,020
0,051
0,020
0,041
0,082
0,085
0,041
0,041
0,041
0,051
0,041
0,041
0,143
0,020
0,020
0,265
0,272
0,122
0,041
0,020
0,041
0,041
0,01
0,061
0,041
0,082
0,143
0,051
0,061
0,020
0,020
0,020
0,122
0,034
0,340
0,061
0,136
0,153
0,082
0,102
0,061
0,020
0,041
0,034
0,041
0,082
0,041
0,020
0,143
 
Back
Top