Import Historical Currency Excahange Rates from Yahoo

alexkurt

New Member
Joined
Mar 23, 2015
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Can anyone please help here?
Is it possible to import yahoo currency exchange rates from Currency Converter - Yahoo! Finance or any other reliable source for a specific date for specific currency pair (i.e. USD/EUR) ?
Thank you!!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
You can import for the current day with either a single pair of currencies or multiple pairs with the Yahoo API. The following will return USD/EUR for today:


Code:
http://finance.yahoo.com/d/quotes.csv?s=USDEUR=X&f=sl1d1t1


The letter codes at the end are as follows:

s = the Symbol (lookup value) queried.
l1 = the last exchange value
d1 = the last exchange date
t1 = the last exchange time

You can get currency codes here:

Code:
http://www.xe.com/iso4217.php

if you want to query multiple rates you could enter comma separated values like this:<code class="" id="code-30-8952-4"> AEDUSD=X,EURGBP=X,USDEUR=X</code>


Code:
http://finance.yahoo.com/d/quotes.csv?s=AEDUSD=X,EURGBP=X,USDEUR=X&f=sl1d1t1

I hope this helps you start.
 
Upvote 0
That is very useful, however doesn't solve my issue.
1. is there a way to make http://finance.yahoo.com/d/quotes.csv?s=USDEUR=X&f=sl1d1t1 return the value from a specific date, say 02/18/15?
2. ultimately, I really need to extract values for historical dates (not current), say column A has the dates from 2/1/15 to 2/28/15 and column B to get imported rates.
Is that possible? Any help is much appreciated!
 
Upvote 0
Sorry that is all I have. When I read your question I did a quick google search and came up with what I posted. You may want to really dig in an do a more exhaustive and thorough search.
 
Upvote 0
Thank you!
I think it is not possible to download from Yahoo.
Maybe there is another reliable source that can work?
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,588
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top