TOP

Crypto Function

CRYPTO() Description

The CRYPTO() function is designed for automatic retrieval of cryptocurrency prices directly from the Yahoo Finance website (finance.yahoo.com) by the specified stock symbol (e.g., BTC, ETH) and selected date. It supports both historical data and real-time values.

This function is convenient for creating crypto trackers in Excel (LibreOffice Calc) tables and will be useful for investors, analysts, and everyone who monitors the market.


Yahoo Finance uses data from the CoinMarketCap website.

Key Features of the CRYPTO Function

Syntax:

=CRYPTO(Token; [Date])

Parameters:

Usage Example

Example 1

The CRYPTO() function is simple to use. You just need to specify the cell with the cryptocurrency code and Excel (Calc) automatically imports its price for the specified date:

=CRYPTO(Token; Date)

We will get the following result:

Example of using the CRYPTO() function
Example of using the CRYPTO() function

The following values are used in this example:

Example 2

Example of using the CRYPTO() function
Example of using the CRYPTO() function

The following values are used in this example:

Corresponding data from Yahoo Finance:

CRYPTO formula usage

How It Works?

The CRYPTO() 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. Then 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 choose Formula to Value.

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


If you need to get 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 retrieve historical data, financial indicators, or a company's profile.

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

Download Extension

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

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