Free Online Storage

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 13 August 2010

Tips & Tricks: GoogleFinance in Google spreadsheets

Posted on 09:00 by Unknown
Would you like to easily keep track of stock market quotes and other data relevant to your stock portfolio? You can use the GoogleFinance function in Google spreadsheets to automatically pull up-to-date information into your spreadsheet. Using the GoogleFinance function in a spreadsheet allows you to create a one-stop shop for your stock data.

Using the GoogleFinance function
To use the GoogleFinance function, enter the formula into the desired spreadsheet cell: =GoogleFinance(“Symbol”, “Attribute”) where “symbol” represents the stock symbol of the company or mutual fund you’re looking for and “attribute” represents the type of market data that you want information about. If attribute is left blank, the stock price is populated into the cell by default.

For example, if I wanted to find out the 52-week price high for Procter & Gamble stock, I’d enter =GoogleFinance(“PG”, “high52”). Make sure to put quotation marks around both the symbol and the attribute in order for the formula to compute properly.

The 52-week price high for Procter & Gamble then shows in the cell in which the formula was entered.

I can also apply the formula to a larger list of symbols and attributes in order to get data for multiple different stock/mutual fund listings across various types of data. Instead of typing the formula out like before, I want to click the cell of the first symbol in my list, in this case it’s PG. Next, I want to reference the cell in which I name the attribute I’m looking up, in this case, price.

Freezing the appropriate row and column with a “$” allows me to drag the formula across to the “52-week high” and “52-week low” columns, as well as down the other rows to apply the formula to all of the other stocks. When I apply the formula to all of the other cells, the results will show.

Here are a few more examples of attributes you can access using the GoogleFinance function:
  • price: market price of the stock.
  • priceopen: the opening price of the stock for the current day.
  • high: the highest price the stock traded for the current day.
  • low: the lowest price the stock traded for the current day.
  • volume: number of shares traded of this stock for the current day.
  • marketcap: the market cap of the stock.
  • tradetime: the last time the stock traded.
  • datadelay: the delay in the data presented for this stock using the googleFinance() function.
  • volumeavg: the average volume for this stock.
  • pe: the Price-to-Earnings ratio for this stock.
  • eps: the earnings-per-share for this stock.
  • high52: the 52-week high for this stock.
  • low52: the 52-week low for this stock.
  • change: the change in the price of this stock since yesterday's market close.
  • beta: the beta value of this stock.
  • changepct: the percentage change in the price of this stock since yesterday's close.
  • closeyest: yesterday's closing price of this stock.
  • shares: the number of shares outstanding of this stock.
  • currency: the currency in which this stock is traded.
Using GoogleFinance to show historical data
The GoogleFinance function also allows you to easily show historical stock data, allowing you to track the performance of any stock across a certain time period. To show historical data, type =GoogleFinance("symbol", "attribute", "start_date", "num_days|end_date", "interval") into a spreadsheet cell. You’ll find details about the syntax of this formula below:
  • “Symbol" and “attribute” follow the same rules as above
  • “Start date” is the day you’d like to start showing information from
  • "num_days" | "end_date" [Optional] can be either the end date for the time period over which you want to see historical data, or the number of days from the start date. Any number less than 50 is considered to be num_days. Otherwise it is considered an end_date.
  • "interval" specifies granularity at which the stock data is shown, either daily or weekly. You can enter either “Daily” or “1” if you would like daily information and either “Weekly” or “7” for weekly data.
You can find more information about historical data and mutual fund data in the Google spreadsheets help center.

Give it a try and let us know what you think.

Posted by: Julia Harter, Consumer Operations Associate

Note:
This feature currently focuses on U.S. stock exchanges - we're working to add more international data, but for now, stock symbols default to U.S. exchanges. International results may not be supported, and results are only in English. Data may be delayed by up to 20 minutes, and we can't guarantee its accuracy - please see our Stock Quotes Disclaimer.
Email ThisBlogThis!Share to XShare to Facebook
Posted in Google Apps Blog, spreadsheets | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • More Google Experiments That Hide Results URLs
    There are at least two other versions of the Google experiment that removes search results URLs . The first alternate version places site na...
  • Add a Keyboard Shortcut for Chrome's App Launcher
    I'm not sure why Chrome's app launcher doesn't have a keyboard shortcut, but it's pretty easy to add one. For Windows XP, r...
  • Merge cells vertically in Google spreadsheets
    There are many times when you want to format your spreadsheets in a certain way to make your data easier to read and understand. Starting to...
  • Docs on the iPhone with Chris Pirillo
    Posted by: Meredith Whittaker, Program Manager Chris Pirillo , Gnomedex Conference founder, CNN.com Live technology contributor, and one of ...
  • Posting to a blog is a bit too easy
    Posted by: Andrew Chang, Marketing Manager Oops. As many of you have noticed, yesterday I accidentally posted my personal to-do list onto t...
  • Google Now for Google's Homepage in Testing
    It looks like Google Now won't be limited to Android, iOS and Chrome , it will also be added to Google's homepage. Some code from a...
  • The End of This Internet
    "Congratulations, you've reached the end of this internet. Look for another?" That's the message you see when you use the ...
  • Google Docs welcomes DocVerse
    (Cross-posted from the Google Enterprise Blog ) The future of productivity applications is in the cloud. We've always believed the web ...
  • Speakout gears up
    Posted by: Jen We now have lots of schools participating in our Global Warming Student Speakout from each of the locations listed below. We...
  • Google Play Music Offers Tag Suggestions
    Google's online music service started to suggest better tag values for the songs you've uploaded. If you right-click a song or an a...

Categories

  • Acquisitions
  • Ads
  • Android
  • Annoyances
  • April Fools Day
  • attachments
  • back to school
  • Blogger
  • charts
  • chat
  • Chrome
  • Chrome extensions
  • chrome web apps
  • Cloud Connect
  • collaboration
  • comments
  • community
  • discussions
  • DMCA
  • docs
  • document list
  • documents
  • documents list
  • drawings
  • drivebacktoschool
  • Easter Egg
  • education
  • Faces of Docs
  • forms
  • gmail
  • gone google
  • Google Alerts
  • Google Analytics
  • Google Apps Blog
  • Google Apps Script
  • Google Calendar
  • Google Cast
  • Google Checkout
  • Google Chrome
  • Google Chrome OS
  • Google Cloud Connect
  • Google Contacts
  • Google Dictionary
  • Google Docs
  • Google Docs Viewer
  • google documents
  • google drive
  • Google Earth
  • Google Goggles
  • Google Hangouts
  • Google Instant
  • Google Keep
  • Google Latitude
  • Google Local
  • Google Maps
  • Google Music
  • Google News
  • Google Notebook
  • Google Now
  • Google Pack
  • Google Photos
  • Google Play
  • Google Plus
  • Google Reader
  • Google Sites
  • Google Suggest
  • Google Takeout
  • Google Talk
  • Google Toolbar
  • Google Translate
  • Google Trends
  • Google Voice
  • Google Wallet
  • Google+
  • googlenew
  • Greasemonkey
  • Guest Post
  • holiday
  • iGoogle
  • Image Search
  • images
  • InOut
  • iOS
  • Keep
  • Knowledge
  • mobile
  • OCR
  • offline
  • OneBox
  • paperless
  • pdfs
  • photo
  • photos
  • Picasa Web Albums
  • presentations
  • product ideas
  • profiles
  • quickoffice
  • Reddit
  • research
  • save to drive
  • scripts
  • Security
  • sharing
  • sheets
  • shortcut
  • slides
  • spell check
  • spreadsheets
  • stock photos
  • storage
  • students
  • tables
  • teachers
  • templates
  • Tips
  • User interface
  • videos
  • Viewer
  • Visualization
  • Voice Search
  • Web Search
  • Yahoo
  • YouTube

Blog Archive

  • ►  2013 (519)
    • ►  December (33)
    • ►  November (44)
    • ►  October (64)
    • ►  September (50)
    • ►  August (63)
    • ►  July (60)
    • ►  June (57)
    • ►  May (62)
    • ►  April (49)
    • ►  March (33)
    • ►  February (1)
    • ►  January (3)
  • ►  2012 (34)
    • ►  December (4)
    • ►  November (4)
    • ►  October (5)
    • ►  September (4)
    • ►  August (2)
    • ►  July (1)
    • ►  June (3)
    • ►  May (2)
    • ►  April (2)
    • ►  March (2)
    • ►  February (5)
  • ►  2011 (80)
    • ►  December (4)
    • ►  November (1)
    • ►  October (7)
    • ►  September (10)
    • ►  August (11)
    • ►  July (8)
    • ►  June (9)
    • ►  May (1)
    • ►  April (8)
    • ►  March (8)
    • ►  February (8)
    • ►  January (5)
  • ▼  2010 (118)
    • ►  December (11)
    • ►  November (16)
    • ►  October (6)
    • ►  September (13)
    • ▼  August (13)
      • Collaborative highlighting in documents
      • In-cell dropdown and validation in spreadsheets
      • Show all formulas in your spreadsheets
      • Tips & Tricks: Enhancing your Presentations with I...
      • Horizontal navigation, site footer, and more in Go...
      • Check spelling in Google spreadsheets
      • New in Gmail Labs: Find docs and sites quickly wit...
      • Auto-linking, preferences and page sizes in documents
      • Tips & Tricks: GoogleFinance in Google spreadsheets
      • Collect audience input with Google Sites & Moderator
      • Convert files in the documents list to a Google Do...
      • A new curve tool for drawings
      • Table resizing and other niceties in documents
    • ►  July (7)
    • ►  June (15)
    • ►  May (11)
    • ►  April (7)
    • ►  March (7)
    • ►  February (6)
    • ►  January (6)
  • ►  2009 (82)
    • ►  December (14)
    • ►  November (4)
    • ►  October (10)
    • ►  September (10)
    • ►  August (4)
    • ►  July (6)
    • ►  June (6)
    • ►  May (5)
    • ►  April (4)
    • ►  March (8)
    • ►  February (7)
    • ►  January (4)
  • ►  2008 (97)
    • ►  December (6)
    • ►  November (4)
    • ►  October (6)
    • ►  September (8)
    • ►  August (5)
    • ►  July (7)
    • ►  June (11)
    • ►  May (20)
    • ►  April (13)
    • ►  March (6)
    • ►  February (6)
    • ►  January (5)
  • ►  2007 (25)
    • ►  December (1)
    • ►  November (1)
    • ►  October (2)
    • ►  September (3)
    • ►  August (3)
    • ►  July (4)
    • ►  June (3)
    • ►  May (2)
    • ►  April (2)
    • ►  March (1)
    • ►  February (2)
    • ►  January (1)
  • ►  2006 (10)
    • ►  December (2)
    • ►  November (4)
    • ►  October (4)
Powered by Blogger.

About Me

Unknown
View my complete profile