google-sheetsgoogle-sheets-formulagoogle-sheets-macros

Get cell from a dynamic table in google sheets


Google sheet outputs a table when using googlefinance

Let's take an example for that

=GOOGLEFINANCE("NASDAQ:GOOG", "price", date(2020,1,1))

enter image description here
I want to get just value from this table. I know this forumula can give me multiple rows. But I still just want to get value of just one cell, in this example I want value of second row second column i.e. 1367.37 only.


Solution

  • use:

    =INDEX(GOOGLEFINANCE("NASDAQ:GOOG", "price", DATE(2020, 1, 1)), 2, 2)