Reputation: 31
I am trying to create a sheet with stock data from the current day and yesterday.
Neither this:
=GOOGLEFINANCE(B2;"price";TODAY())
Nor this:
=GOOGLEFINANCE(B2;"price";DATE(YEAR(TODAY());MONTH(TODAY());DAY(TODAY())))
works.
But this does:
=GOOGLEFINANCE(B2;"price";DATE(2020;1;17))
Can anyone help?
Upvotes: 2
Views: 4203
Reputation: 21
I have stocks in columns. 1 option is to simply hide the date columns! :-)
Upvotes: 0
Reputation: 274
Make another cell with the formula TODAY()
. For ex. A1: =TODAY()
.
Then A2: =GOOGLEFINANCE(B2;"price";$A$1)
Upvotes: 1