TOP

Statistics Function

STATISTICS() Description

The STATISTICS() function is designed to get valuation metrics directly from the Yahoo Finance website (finance.yahoo.com) by the specified stock symbol (for example, AAPL, NVDA) and the selected data type.

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


An internet connection is required for this function to work.

Key Features of the STATISTICS Function

Syntax:

=STATISTICS(Ticker; [Indicator])

Parameters:

Usage Example

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 have the following result:

Example of using the STATISTICS() function
Example of using the STATISTICS() function

The following values are used in this example:

Example 2

Example of using the STATISTICS() function
Example of using the STATISTICS() function

The following values are used in this example:

Example 3

Example of using the STATISTICS() function
Example of using the STATISTICS() function

The following values are used in this example:

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 in 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 cell in the array and press Ctrl+/.

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

Ready Templates

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

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

Download Extension

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

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