Hi all,
I'm a Norwegian resident interested in obtaining daily data of the S&P 500 index. This can be done for free through Yahoo Finance:
S&P 500 Daily Data.
The problem is that the US seems to use different separators, both between columns and for decimals (comma "," in EU and "." in US). The result is that when I download this data, all is contained in one column.
A solution for this is to:
1) Use the "Text to column" function to split the data into columns;
2) Use the "Seek and replace" to switch from "." to ",".
This is of course a cumbersome process on a daily basis.
Sadly, I have no experience with VBA, but I was wondering if it's possible to create a script that does this all in one go? I could then have a sheet with raw data directly from Yahoo and a second sheet with converted data.
Or maybe there is a smarter solution?
Back in the day I had the same problem and changed my system settings from EU to US. However, I have a looooot of sheets now in EU format, so it's not really a workable solution.
Thanks in advance for any help.![]()
Elijah
Bookmarks