Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 1 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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.