# Dot notation as decimal separator in Excel and SPSS on Mac OS X

This issue might causing more people troubles than just me, so I thought to post it on my blog. For a scientific articles I needed to create some graphs, both from SPSS (a Kaplan-Meier curve) and Excel (the other graphs).

As a default setting, my computer uses the comma as the decimal separator. For these figures I needed to change it into a dot as the decimal separator. The approach is different for Excel and SPSS.

**Using dot as decimal separator in Excel (version 2011 for Mac)**

Go to “System Preferences” > “International” (called “Taal en tekst” in Dutch).

Then go to the “Formats” tab (called “Notatie” in Dutch), and customize the number settings. Here you can change the decimal separator to “dot” (and the thousand separator to “comma”, as these two cannot have the same value).

Now restart Excel, and you’re done!

**Using dot as decimal separator in SPSS (version 18 for Mac)**

This works a little different, as SPSS (or “PASW”, as this first is called officially does not take its notation from the system preferences. But fortunately the solution is very easy.

Click “File” > “New” > “Syntax”. In the newly opened syntax editor, type

SET LOCALE = “en_US”

and click the green “Selection” arrow (or press Cmd + R on your keyboard).

This will change the decimal separator to a dot in SPSS.

Note: according to this website it should be possible to use the syntax “SET LOCALE = DOT” in SPSS version 20.0 (by IBM). At least in version 18.x this did not work.

Hope this saves you some time searching!

Thanks a lot for your suggestion

Thanks a lot! what a stupid default setting for SPSS. On windows I had to omit the quotes for the “en_US” to make it work. I have SPSS 20 and the syntax “SET LOCALE = DOT” did not work

Thank you soo much!! I have been trying to figure this out for a long time!!

Thank you very much for your good advice! I have a new MacBook Air from October 2012 with OS X Mountain Lion and the System Preference panel differs sligthly from the previous one. The “International” icon is now “Language & Text” and “Formats” is now “Region”. The number separator is edited in “Numbers”.

Hartelijk bedankt! Precies de info waar ik naar opzoek was!

I am running Mac OSX Snow Leopard. This worked for me, I would recommend quitting excel from the doc, before changing the system preferences. Thank you so much I have been sitting with this problem for 2 years!

THANKS, just thanks.

Googling “spss decimal separator”, this appears as the 3rd result, but it’s 10^99 more useful than the “official” help from IBM.

THANKS

Thanks a lot :)

How did you get the toolbar in the syntax window to display the “active dataset”? I can’t find that option under the customize toolbar settings!

I did not have to select it in that SPSS version. I would try to enable different toolbars and see if the option is there, if you need it at all. Maybe it is automatically the active dataset if just one dataset is open.

Thank you very much for this good advice!

Thank you very much!

Thanks a lot! On MAC I had to omit the quotes for the “en_US” to make it work. I have SPSS 20 and the syntax “SET LOCALE = DOT” did not work.

Great blog!

Greetings from Brazil!

I tried both ways for SPSS version 20.0 but I get a warning. Have you any idea?

SET LOCALE = DOT.

>Warning # 849 in column 14. Text: DOT

>The LOCALE subcommand of the SET command has an invalid parameter. It could

>not be mapped to a valid backend locale.

Thank you very much!

Thank you so much! You saved me a lot of time and hassle

Hi,

I have used spss base professional , if i run the output like mean or std deviation my output will be on like these (14,65) instead of 14.65 decimal points are be in comma. kindly help me how to change comma to dot.

THANKS A LOT!! It was absolutely useful!!