Professional Documents
Culture Documents
GOOGLEFINANCEDocseditorsHelp
FORUM
GOOGLEFINANCE
Fetches current or historical securities information from Google Finance.
Sample Usage
GOOGLEFINANCE("GOOG","price",DATE(2014,1,1),DATE(2014,12,31),"DAILY")
GOOGLEFINANCE("GOOG","price",TODAY()30,TODAY())
GOOGLEFINANCE(A2,A3)
Syntax
GOOGLEFINANCE(ticker,[attribute],[start_date],[num_days|end_date],[interval])
1/7
5/27/2015
GOOGLEFINANCEDocseditorsHelp
2/7
5/27/2015
GOOGLEFINANCEDocseditorsHelp
Notes
All parameters must be enclosed in quotation marks or be references to cells containing text, except
when interval is specified as a number and when end_date|num_days is specified as a number of
days.
Realtime results will be returned as a value within a single cell. Historical data, even for a single day,
will be returned as an expanded array with column headers.
If any date parameters are specified, the request is considered historical and only the historical
attributes are allowed.
GOOGLEFINANCE is only available in English and does not support most international exchanges.
Examples
Retrieves market information from Google Finance.
GoogleFinance:GeneralUsage
Result
536.5
536.5
222430
#N/A[1]
Formula
=GoogleFinance("GOOG")
=GoogleFinance("GOOG","price")
=GoogleFinance("GOOG","volume")
=GoogleFinance("GOOG","beta")
[1]http://docs.google.com/support/bin/answer.py?answer=54198&hl=en_US
Quotesarenotsourcedfromallmarketsandmaybedelayedupto20minutes.Informationis
provided'asis'andsolelyforinformationalpurposes,notfortradingpurposesoradvice. Disclaimer
GeneralUsage
>
<
https://support.google.com/docs/answer/3093281?hl=en
3/7
5/27/2015
GOOGLEFINANCEDocseditorsHelp
GoogleFinance:CommonAttributes
symbol
GOOG
attribute
Result
price
536.5
priceopen
532.8
high
537.04
low
531.71
volume
222430
marketcap
371702820734
tradetime 5/27/201510:28:01
datadelay
0
volumeavg
1899830
pe
26.63
Formula
=GoogleFinance($B$1,A5)
=GoogleFinance($B$1,A6)
=GoogleFinance($B$1,A7)
=GoogleFinance($B$1,A8)
=GoogleFinance($B$1,A9)
=GoogleFinance($B$1,A10)
=GoogleFinance($B$1,A11)
=GoogleFinance($B$1,A12)
=GoogleFinance($B$1,A13)
=GoogleFinance($B$1,A14)
>
CommonAttributes
<
Retrieves historical market information based on the specified dates from Google Finance.
GoogleFinance:HistoricalMarketData
symbol
attribute
start_date
num_daysor
end_date
interval
Result
Date
1/6/201216:00:00
1/13/201216:00:00
1/20/201216:00:00
1/27/201216:00:00
GOOG
high
1/1/2012
30
7
Formula
High =GoogleFinance($B$1,$B$2,$B$3,$B$4,$B$5)
334.79
323.18
320.17
294.04
HistoricalMarketData
>
<
https://support.google.com/docs/answer/3093281?hl=en
4/7
5/27/2015
GOOGLEFINANCEDocseditorsHelp
GoogleFinance:AttributesForMutualFunds
symbol
FCNTX
attribute
Result
Formula
closeYest
102.13 =GoogleFinance($B$1,A5)
date 5/26/201516:00:00 =GoogleFinance($B$1,A6)
returnytd
5.26 =GoogleFinance($B$1,A7)
netassets
76286796390 =GoogleFinance($B$1,A8)
change
1.11 =GoogleFinance($B$1,A9)
changepct
1.08 =GoogleFinance($B$1,A10)
yieldpct
0.23 =GoogleFinance($B$1,A11)
returnday
1.08 =GoogleFinance($B$1,A12)
return1
1.08 =GoogleFinance($B$1,A13)
return4
0.33 =GoogleFinance($B$1,A14)
>
AttributesForMutualFunds
<
Creates a chart inside a cell to display the currency exchange trend during the last 30 days, using the
retrieving result returns by GoogleFinance.
GoogleFinance:CurrencyExchangeTrends
BaseCurrency
USD
Days
30
ComparedCurrency
EUR
AUD
CAD
GBP
CNY
JPY
INR
ZAR
NZD
Trend
CurrencyExchangeTrends
=SPARKLINE(GoogleFinance("CURRENCY:"&$A$2&A6,"price",TODA
=SPARKLINE(GoogleFinance("CURRENCY:"&$A$2&A7,"price",TODA
=SPARKLINE(GoogleFinance("CURRENCY:"&$A$2&A8,"price",TODA
=SPARKLINE(GoogleFinance("CURRENCY:"&$A$2&A9,"price",TOD
=SPARKLINE(GoogleFinance("CURRENCY:"&$A$2&A10,"price",TO
=SPARKLINE(GoogleFinance("CURRENCY:"&$A$2&A11,"price",TO
=SPARKLINE(GoogleFinance("CURRENCY:"&$A$2&A12,"price",TO
=SPARKLINE(GoogleFinance("CURRENCY:"&$A$2&A13,"price",TO
=SPARKLINE(GoogleFinance("CURRENCY:"&$A$2&A14,"price",TO
>
<
Share this:
Matt is a Docs & Drive expert and author of this help page. Leave him feedback below about the page.
5/7
5/27/2015
GOOGLEFINANCEDocseditorsHelp
Somewhat helpful
Very helpful
Extremely helpful
https://support.google.com/docs/answer/3093281?hl=en
6/7
5/27/2015
GOOGLEFINANCEDocseditorsHelp
Google
Google spreadsheets function list
ARRAYFORMULA
CONTINUE
DETECTLANGUAGE
GOOGLECLOCK
GOOGLEFINANCE
GOOGLETOURNAMENT
GOOGLETRANSLATE
IMAGE
IMPORTDATA
IMPORTFEED
IMPORTHTML
IMPORTRANGE
IMPORTXML
QUERY
SPARKLINE
https://support.google.com/docs/answer/3093281?hl=en
7/7