Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My OS's locale uses the comma as a decimal separator. However, once in a while I need to process data in Excel which is formatted with a point as decimal separator. Depending on the source of the data (i.e. in a file, or copy paste from a website), I either temporarily change the locale on my Windows 7 OS, or do a find&replace of comma's with points. The first solution is cumbersome, and the latter is not practical/possible if the file contains comma's in other fields.

So, is there any easy way (provided by Excel) to import data in Excel and specifying the decimal separator to be used for this particular import?

share|improve this question
up vote 2 down vote accepted

On the Data Ribbon under Get External Data the From Text will import text from csv and let you choose the delimiter.

Once set as a datasource if you get a new version of the text file you can overwrite the old one, refresh the data source and it's updated.

share|improve this answer
The good thing is, it not only allows setting the delimiter, but also allows for setting the decimal separator (after clicking a few times 'next' and selecting an 'advanced' option). – Rabarberski Feb 5 '12 at 11:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .