1

I have the formula to retrieve the data from google finance.

=googlefinance(D4; "price")

I am tracking some penny stocks and some of the prices have a price in 4 decimal places. When I import the price and it only imports the information with only 2 decimal places. How can I import the price with 4 decimal places?

pnuts
  • 58,317
  • 11
  • 87
  • 139
OliverTwist
  • 43
  • 2
  • 8

3 Answers3

1
=round((googlefinance("asx:"&A2,"marketcap")/googlefinance("asx:"&A2,"shares")),4)
adiga
  • 34,372
  • 9
  • 61
  • 83
Charbzilla
  • 71
  • 1
  • 2
0

I know this post is old but for those searching for answers like me here is the solution:

=index(importhtml("http://www.nasdaq.com/aspx/infoquotes.aspx?symbol="&$A2,"table",8),1,2)

$A2 = being the cell that holds the ticker symbol.

adiga
  • 34,372
  • 9
  • 61
  • 83
Jax J
  • 1
-1

I actually figured it out. Here is the formula I used:

=index(GoogleFinance(D1, "close", today()-1, today(), "1"), 2, 2)

D1 = Name of stock entered to pull information from google finance. Works like a charm!

adiga
  • 34,372
  • 9
  • 61
  • 83
OliverTwist
  • 43
  • 2
  • 8
  • the index formula you are using here is a non sense for me. The summary say: "Returns the content of a cell, specified by row and column offset." – Harold Feb 23 '14 at 11:03
  • That's strange it was working earlier... Do you have any other suggestions or formulas? – OliverTwist Feb 23 '14 at 19:41
  • maybe an idea here: http://stackoverflow.com/questions/21769645/how-to-get-taiwan-stock-exchange-index-in-google-spreadsheet/21775576#21775576 – Harold Feb 23 '14 at 19:48
  • Unfortunately that isn't what I am looking for. I appreciate it though – OliverTwist Feb 23 '14 at 20:04