TOP

DAX Function

DAX() Description

The DAX() function is designed to automatically obtain stock prices of companies from the "DAX" index traded on the Frankfurt Stock Exchange directly from the Yahoo Finance website (finance.yahoo.com) by the specified ticker symbol (for example, SAP, SIE) and a selected date. It supports both historical quotes and current real-time values.

This function is convenient for creating stock trackers in Excel (LibreOffice Calc) spreadsheets and will be useful for investors, traders, and financial analysts working with the German stock market.


An internet connection is required for this function to work.

Main Characteristics of the DAX Function

Syntax:

=DAX(Ticker; [Date]; [Indicator])

Parameters:

Usage Example

Example 1

The DAX() function is easy to use. You just need to specify the cell with the stock code, the date, and the desired indicator, and Excel (Calc) will automatically import its price on the specified date:

=DAX(Ticker; Date; Indicator)

We will have the following result:

Example of using the DAX() function
Example of using the DAX() function

In this example, the following values are used:

Example 2

Example of using the DAX() function
Example of using the DAX() function

In this example, the following values are used:

Corresponding data from the Yahoo Finance website:

DAX formula usage

How It Works?

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

To use it as an array, just enter the function into any cell, specifying the appropriate 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 an 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.


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

Download extension

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

After that, this function will be available in all files that are 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