STOCK in Apple Numbers
STOCK(symbol, price)Explanation
STOCK fetches share data from the internet. Without a second argument you get the closing price of the previous trading day. A number from 1 to 25 selects another attribute, such as 1 for the company name, 8 for the trading volume and 23 for the P/E ratio.
Syntax
STOCK(symbol, price)Example
The closing price of Apple shares:
=STOCK("AAPL")The trading volume of the same shares:
=STOCK("AAPL",8)Watch out
Without an internet connection STOCK returns no value. Some exchanges need a suffix, such as .L for London or .CO for Copenhagen. The currency follows your language and region setting.
This function fetches data from the internet or reads a pivot table, so it cannot be practised in a browser. Try it in Numbers itself.
Frequently asked questions
What does STOCK do in Apple Numbers?
STOCK fetches share data from the internet. Without a second argument you get the closing price of the previous trading day. A number from 1 to 25 selects another attribute, such as 1 for the company name, 8 for the trading volume and 23 for the P/E ratio.
What is the syntax of STOCK?
The syntax is STOCK(symbol, price).
How do I get a stock price in Numbers?
Use =STOCK("AAPL"), with the stock symbol in quotation marks. You get the closing price of the previous trading day.
Why does STOCK return no value?
Usually there is no internet connection, or the symbol is missing the exchange suffix, for example .L for London.
More in this category
Practise it yourself
Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.
Start practising