13

I'm trying to get data from Google Finance in Google Sheets with this formula:

=GoogleFinance("CURRENCY:BTC")

But I'm getting this error:

GOOGLEFINANCE, the query for the symbol: 'CURRENCY:BTC' returned no data.

Although on Google Finance itself, I can get BTC prices:

https://www.google.com/finance?q=CURRENCY:BTC

with the same query strings.

How can I can fix this?

Filipe Ferminiano
  • 8,373
  • 25
  • 104
  • 174

4 Answers4

26

You need to have a from and to currency like this:

=GoogleFinance("CURRENCY:USDBTC")

For historic close price use:

=GoogleFinance("CURRENCY:USDBTC","close","07/07/2017")

If you want only the price returned use:

=iferror(index(GoogleFinance("CURRENCY:USDBTC","close","07/07/2017"),2,2))
Ed Nelson
  • 10,015
  • 2
  • 27
  • 29
14

As of 2020-08-15 the following formula works well (without any add-ons):

=GOOGLEFINANCE("BTCUSD")

Seems like it works only for BTC and ETH though.

Bioinformix
  • 149
  • 2
  • 5
2

2022-05-04, the following works on Google Sheets:

=googlefinance("CURRENCY:USDBTC") as well as most combinations of currency and BTC (and ETH, LTC, BNB, XRP, XLM, and ADA), for example GBPBTC and JPYBTC.

=googlefinance("CURRENCY:BTCUSD") works too, in the same combinations of coin and currency.

Although finance.google.com has DOGE and LINK pricing, they don't seem to work the same way in the Sheet's googlefinance function.

Big Josh
  • 46
  • 4
-2

Another way to work with crypto currency is to use the add-on where you can extract data from other sources.

=CRYPTOFINANCE("BTCUSD")

Link below:

Tuan Vu
  • 708
  • 7
  • 15