USD > EUR, USD > GBP, CAD > JPY, etc.).

To work with currency exchange rates, STOCKHISTORY requires a currency pair entered as text.

STOCKHISTORY takes up to 11arguments, most of which are optional.

Currency exchange rate USD to EUR example

For a more complete description of all arguments and properties, see ourSTOCKHISTORY functionpage.

Theintervalargument specifies the time period to use between prices.

The options are daily (0), weekly (1), or monthly (2).

Currency exchange rate USD to EUR example

In this case, we want a monthly interval, so we provide 2.

If any of these four inputs are changed, STOCKHISTORY will immediately return a new set of exchange rates.

The primary purpose of STOCKHISTORY is to get the history of a financial instrument over time.

Currency exchange rate USD to EUR example

The result is an array of values that spill onto the worksheet into…

Currency exchange rate USD to EUR example

Currency exchange rate USD to EUR example

Currency exchange rate EUR to USD example

Currency exchange rate USD to JPY example

Excel formula: Get stock price (latest close)

Excel formula: Get stock price on specific date

Excel formula: Get stock price last n days

Excel formula: Get stock price last n months

Excel STOCKHISTORY function

Currency exchange rate USD to EUR example

Currency exchange rate EUR to USD example

Currency exchange rate USD to JPY example