TOP

Futures Function

FUTURES() Description

The FUTURES() function is designed for automatically obtaining historical data for futures contracts directly from the Yahoo Finance website (finance.yahoo.com) by the specified symbol (for example, GC for gold or BZ for oil).

This function allows you to track the price dynamics of commodities and financial derivatives directly in Excel (LibreOffice Calc) tables, which is critically important for analyzing commodity markets and hedging risks.


For this function to work, an internet connection is required.

Main Characteristics of the FUTURES Function

Syntax:

=FUTURES(Symbol; [Date]; [Indicator])

Parameters:

Usage Example

Example 1

The FUTURES() function automates the collection of quote data. You specify the contract ticker, and Excel (Calc) imports historical indicators:

=FUTURES(Symbol; Date; Indicator)

We will have the following result:

Example of using the FUTURES() function
Example of using the FUTURES() function

In this example, the following values are used:

Example 2

Example of using the FUTURES() function
Example of using the FUTURES() function

In this example, the following values are used:

Relevant data from the Yahoo Finance website:

FUTURES formula usage

How It Works?

The FUTURES() function can work both in normal mode and as an array function.

To use it as an array, simply enter the function in any cell, specifying the relevant parameters. After that, you need to press Ctrl+Shift+Enter to enter the array formula and LO Calc will automatically return a table with data.

To select all cells associated with the array formula, simply select any cell in the array and press Ctrl+/.

If you need to convert an array formula into values - select the entire array and in the Data > Calculate menu select Formula to Value.

When using a date in text format, it must first be converted into a real date, for example: DATEVALUE("2026-01-25").


If you need to obtain historical data for a long period of time, we recommend using the YFINANCE function to avoid delays.

Ready-made templates

You can also use ready-made templates to obtain historical data, financial indicators, or a company profile.

To do this, go to the YLC Utilities > Template > Company screener menu and select one of the following reports:

Download Extension

You can use the FUTURES() function by installing the YLC Utilities extension.

After that, this function will be available in all files opened in Excel (LibreOffice Calc).


This function is available in the following extensions: YLC FunctionsYLC Utilities

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