TOP

Forex Function

FOREX() Description

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.


An internet connection is required for this function to work.

Key Characteristics of the FOREX Function

Syntax:

=FOREX(Pair; [Date]; [Indicator])

Parameters:

Example of Use

Example 1

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:

Example of using the FOREX() function
Example of using the FOREX() function

In this example, the following values are used:

Example 2

Example of using the FOREX() function
Example of using the FOREX() function

In this example, the following values are used:

Corresponding data from the website Yahoo Finance:

FOREX formula usage

Download extension

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).

The YLC Utilities menu in LO Calc

The YLC Utilities menu in LO Calc

The YLC Utilities menu in Excel

The YLC Utilities menu in Excel