TOP

Statistics Function

STATISTICS() Description

The STATISTICS() function is designed to obtain company valuation metrics (valuation metrics) directly from the Yahoo Finance website (finance.yahoo.com) by the specified stock ticker (e.g., AAPL, NVDA) and selected data type.

This function allows you to analyze market capitalization, P/E ratios, profitability metrics, and other key statistical data directly in Excel (LibreOffice Calc) tables.


This function requires an internet connection to work.

Key Characteristics of the STATISTICS Function

Syntax:

=STATISTICS(Ticker; [Indicator])

Parameters:

Example Usage

Example 1

The STATISTICS() function allows you to quickly get financial metrics. Just specify the ticker and parameter, and Excel (Calc) will load the data:

=STATISTICS(Ticker; Indicator)

We will get the following result:

Example of STATISTICS() function usage
Example of STATISTICS() function usage

In this example, the following values are used:

Example 2

Example of STATISTICS() function usage
Example of STATISTICS() function usage

In this example, the following values are used:

Example 3

Example of STATISTICS() function usage
Example of STATISTICS() function usage

In this example, the following values are used:

How It Works?

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

To use it as an array, simply 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 the array formula, simply select any array cell and press Ctrl+/.

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

Download extension

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

After installation, the function will be globally available in your 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