The ETF() function is designed to automatically obtain stock prices of exchange-traded funds (ETFs) directly from the Yahoo Finance website (finance.yahoo.com) using a specified symbol (for example, SPY, VOO) and a selected date.
This function allows you to track the value of ETF portfolios directly in Excel (LibreOffice Calc) spreadsheets, which significantly simplifies investment analysis and market monitoring for users.
=ETF(Symbol; [Date]; [Indicator])
The ETF() function automates the collection of quote data. You need to specify the fund ticker, and Excel (Calc) will automatically download the data:
=ETF(Symbol; Date; Indicator)
We will have the following result:
The following values are used in this example:
The following values are used in this example:
Corresponding data from the Yahoo Finance website:
The ETF() function can work both in normal mode and as an array function.
To use it as an array, just 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 into values - select the entire array and in the menu
You can use the ETF() function by installing the YLC Utilities extension.
After that, this function will be available in all files opened in Excel (LibreOffice Calc).