How To Pull Cryptocurrency Prices In Excel (2024)

By Chris Newman•Updated: 01/02/21•4 min read

Excel » Excel Formulas

How To Pull Cryptocurrency Prices In Excel (1)

Cryptocurrencies Now In Excel!

When Excel received the capability to retrieve stock data directly within the spreadsheet via data types, cryptocurrencies were also included in the dataset. This article will show you how to pull current crypto prices and historical data natively inside Excel.

Please note this feature is only available with a Microsoft 365 subscription.

How To Pull Cryptocurrency Prices In Excel (2)

Which Cryptocurrencies are available?

There are hundreds (if not thousands) of cryptocurrencies that are bought and sold every day. Microsoft has only paid to receive data for the handful of major cryptocurrencies traded around the world.

The currently available cryptos in Excel include:

  • Bitcoin (BTC)
  • Bitcoin Cash (BCH)
  • Litecoin (LTC)
  • Ripple (XRP)
  • Ethereum (ETH)

Pulling Real-time Pricing

Inputting the proper naming for cryptocurrencies is a little tricky as you can’t simply enter in the typical abbreviation for the coin and expect to get a result. You actually need to merge the coin’s abbreviation with the desired price currency you want to output. The formula essential goes like this: Cryptocurrency + Desired Price Currency

For example, if you wanted to see Bitcoin in Euros, you could enter either “BTCEUR” or “BTC/EUR” and Excel will recognize that as a valid input.

Let’s visit Excel’s Data tab and see how we can set up a cryptocurrency data pull for Bitcoin in U.S. dollars. After activating the Data tab, you should see a group of buttons called Data Types. If you do not see this, you are currently using an Excel version that does not have this capability. Select your cell with the ticker symbol and click the Stocks data type button. If your ticker is entered in properly (no spelling mistakes), you’ll notice a few changes to your cell value.

How To Pull Cryptocurrency Prices In Excel (3)

If your ticker symbol was converted succesfully, you should notice two things:

  1. The bank symbol should appear to the left of the ticker symbol (indicating a Stock Data Type)
  2. When the cell with the ticker is selected, you should see an “Add Field” button appear
How To Pull Cryptocurrency Prices In Excel (4)

Once your cell text has been successfully converted into a stock data type, you can begin adding fields associated with your crypto. Simply select a particular piece of information you’d like to retrieve and it will populate in the next available cell to the right of the cryptocurrency.

How To Pull Cryptocurrency Prices In Excel (5)

You’ll also notice that when a field is added, there is a formula that populates as well utilizing a cell reference + period + field name nomenclature. You can utilize formulas to move your data around your spreadsheet to suit your formatting needs.

How To Pull Cryptocurrency Prices In Excel (6)

Retrieving Historical Prices

You can utilize Excel’s new STOCKHISTORY function to not only pull pricing data for stocks but also Cryptocurrencies! Below is a simple example of you can pull the daily closing price for Bitcoin in USD for every day of 2020.

How To Pull Cryptocurrency Prices In Excel (7)

Notice I have set up 3 input cells for the ticker symbol (cell C2), the start date (Cell C4), and the desired end date (Cell C6). The STOCKHISTORY function has the following inputs:

  • Stock Name - Ticker Symbol
  • Start Date - First date you wish to pull data for
  • End Date - Last date you wish to pull data for
  • Interval - Frequency of prices pulled between start/end date
    • Daily = 0
    • Weekly = 1
    • Monthly = 2
  • Headers - Do you want headings inserted with your data set automatically?
    • No Headers = 0
    • Show Headers = 1
    • Show headers and Stock Ticker = 2
  • Property 1 - You will get a prompted list for fields you can add to your table (ie Price, 52 wk high, etc…)
  • Property 2…. - Continue listing out the properties you want with the coordinating number

Refreshing Your Data

Unfortunately, there is no way to automatically refresh your crypto pricing data at a specified time interval. If you wish to manually refresh your pricing data, you can do so by navigating to

How To Pull Cryptocurrency Prices In Excel (8)

Here are some VBA solutions you can utilize to help assist with auto-refreshing your data if you don’t want to do it manually:

  • Refresh data when File Opens
  • Refresh data connections when a worksheet is activated
  • Refresh data connections every 15 minutes

I Hope This Helped!

Hopefully, I was able to explain how you can use Excel to pull cryptocurrency prices and historical information so that you can track and analyze your investments. If you have any questions about this technique or suggestions on how to improve it, please let me know in the comments section below.

Format Excel Charts Like a Pro!!!

Learn my best Excel chart design hacks. These will turn your ugly charts into professionally crafted graphics, leaving your boss speechless!!!

Get These Hacks Now For Free!

How To Pull Cryptocurrency Prices In Excel (9)

Keep Learning

Explore more →

Add Real-Time Stock Prices And Metrics To ExcelWe Finally Got It! On June 5th, 2019 Microsoft released a feature to Office 365 that allows Excel users to...

How To Pull Cryptocurrency Prices In Excel (11)

Chris Newman

Chris is a finance professional and Excel MVP recognized by Microsoft since 2016. With his expertise, he founded TheSpreadsheetGuru blog to help fellow Excel users, where he shares his vast creative solutions & expertise. In addition, he has developed over 7 widely-used Excel Add-ins that have been embraced by individuals and companies worldwide.

How To Pull Cryptocurrency Prices In Excel (2024)

FAQs

How To Pull Cryptocurrency Prices In Excel? ›

In Excel, use the "DATA" tab and select 'From Web' to import data from the API. Follow the prompts to connect to the API and retrieve live price data for your chosen cryptocurrencies.

What API is used to get crypto prices in Excel? ›

How to Fetch Total Crypto Market Cap Data in Excel. You can call the Crypto Global Market Data endpoint in CoinGecko API to get real-time total crypto market cap data in Excel. For historical global market cap and volume data, use the Global Market Chart endpoint.

How to track crypto transactions in Excel? ›

Step 1: Install Cryptosheets: Get the add-in from their website. Step 2: Connect Data: Launch Excel, go to Cryptosheets, and connect to your data source. Step 3: Retrieve Data: Use Cryptosheets' functions to get specific cryptocurrency data. Step 4: Organize and Analyze: Organize and visualize data using Excel's tools.

How to import live stock prices into Excel? ›

In the Get External Data section of Excel, choose the 'From Web' option to initiate the process of importing stock prices from Google Finance. This action opens up a pathway for users to seamlessly extract real-time stock data from an online source directly into their Excel spreadsheets.

How do you automatically populate crypto prices in a spreadsheet? ›

Identify the ticker symbol for Bitcoin on Google Finance, which is usually in the format of 'BTC-USD' for Bitcoin priced in US dollars. In your Google Sheet, type the formula '=GOOGLEFINANCE("BTC-USD")' where you want the live Bitcoin price to appear.

How to import Bitcoin price into Excel? ›

How to Import Live Crypto Prices into Excel Spreadsheets. The easiest way to import live crypto prices is by using Excel's "Data from Web" feature, and connecting it with CoinGecko's crypto API endpoint /coins/markets. Head over to our comprehensive API documentation to retrieve this endpoint's Request URL.

Is crypto API free? ›

There are a huge number of crypto APIs, and virtually all of them offer public crypto data for free through their public endpoints.

How do I get crypto prices in Google Sheets? ›

The easiest way to import live crypto price data into Google Sheets is using the popular CoinGecko API endpoint '/simple/price'. This endpoint fetches real-time crypto prices for multiple coins with just one API call, and is a publicly accessible API endpoint.

Is there an API for cryptocurrency? ›

Using crypto exchange APIs can provide a range of benefits for developers and traders. They allow for easy access to a wealth of data and tools, allowing for the development of innovative solutions. These APIs can also save you time and resources by eliminating the need to gather and process data manually.

Is Cryptosheets free? ›

Can I get started for free? Yes! All accounts receive 1000 free queries per month that reload automatically.

How do I get data from CoinMarketCap to Excel? ›

From the data ribbon, select From Web which can be found in the Get and Transform group of commands. This will open a From Web setup box. In the HTTP request header parameters(optional) second box enter your API Key and press OK. Excel will connect to the API and open up the Power Query window.

How do I export crypto from CSV? ›

Open your Crypto.com app. Select accounts at the bottom of the screen. Select the clock icon (transaction history) in the top right corner. Select the export icon in the top right corner.

How do I extract data from CoinMarketCap to Excel? ›

To pull the data into Excel, we use a web query. Under the Data tab in the ribbon, select Get Data > From Other Sources > From Web. Next, we need to input the URL we want to use and setup our API key as a header item to authenticate with CoinMarketCap. Make sure the Advanced radio button is selected.

Top Articles
Latest Posts
Article information

Author: Nathanial Hackett

Last Updated:

Views: 6869

Rating: 4.1 / 5 (52 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Nathanial Hackett

Birthday: 1997-10-09

Address: Apt. 935 264 Abshire Canyon, South Nerissachester, NM 01800

Phone: +9752624861224

Job: Forward Technology Assistant

Hobby: Listening to music, Shopping, Vacation, Baton twirling, Flower arranging, Blacksmithing, Do it yourself

Introduction: My name is Nathanial Hackett, I am a lovely, curious, smiling, lively, thoughtful, courageous, lively person who loves writing and wants to share my knowledge and understanding with you.