The CAC_40() function is designed for automatic retrieval of stock prices of companies from the 'CAC 40' index, traded on the exchange "EURONEXT" directly from the website Yahoo Finance (finance.yahoo.com) by the specified stock symbol (for example, AIR, BNP) and selected date. It supports both historical quotes and current real-time values.
This function is convenient for creating stock trackers in Excel (LibreOffice Calc) spreadsheets and will be useful for investors, traders, and financial analysts.
=CAC_40(Ticker; [Date]; [Indicator])
The CAC_40() function is simple to use. You just need to specify the cell with the stock code and Excel (Calc) automatically imports its price for the specified date:
=CAC_40(Ticker; 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 website:
You can use the CAC_40() 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).