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.
=CRYPTO(Token; [Date])
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:
The following values are used in this example:
The following values are used in this example:
Corresponding data from Yahoo Finance:
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
When using a date as text, it must first be converted into a real date, for example:
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
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).