Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9786

Is there a way to call GOOGLEFINANCE that works for today's date as well as historical data?

$
0
0

In google sheets, if I want today's share price of e.g. AAPL, I can use:

=GOOGLEFINANCE("AAPL")

If I want the historical price for a particular date, I can the following formula, with A1 containing the date:

=index(GOOGLEFINANCE("NASDAQ:AAPL","price",A1,3),2,2)

The latter works fine for all dates except for today's date. Is there a way to call GOOGLEFINANCE (or potentially another function or formula) in such a way that it works both for historical dates as well as the current date?


Viewing all articles
Browse latest Browse all 9786

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>