'Get BTC prices on Google Sheets from Google Finance

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?



Solution 1:[1]

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))

Solution 2:[2]

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.

Solution 3:[3]

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.

Solution 4:[4]

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:

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Bioinformix
Solution 3 Big Josh
Solution 4 Tuan Vu