The FOREX() function is designed for automatic retrieval of international currency exchange rates directly from Yahoo Finance website (finance.yahoo.com) for a specified currency pair (for example, EURUSD, USDJPY) and a selected date. It supports both historical quotes and current real-time values.
This function is convenient for creating exchange trackers in tables Excel (LibreOffice Calc) and will be useful for investors, traders, and financial analysts.
=FOREX(Pair; [Date]; [Indicator])
The FOREX() function is easy to use. You just need to specify the cell with the currency pair code and Excel (Calc) automatically imports the exchange rate of these currencies for the specified date:
=FOREX(Pair; Date)
We will get the following result:
In this example, the following values are used:
In this example, the following values are used:
Corresponding data from the website Yahoo Finance:
You can use the function FOREX() by installing the extension YLC Utilities.
After that, this function will be available in all files that will be opened in Excel (LibreOffice Calc).