3 ways to pull crypto prices into Google Sheets | GOOGLEFINANCE, IMPORTXML, IMPORTDATA
Key Takeaways
The video demonstrates three methods to import cryptocurrency prices into Google Sheets using GOOGLEFINANCE, IMPORTXML, and IMPORTDATA functions.
Full Transcript
hey everybody it's corey from spreadsheet class in this video i'm going to show you three different ways to pull cryptocurrency prices into google sheets now i'm going to try to make this video pretty fast-paced because i already made a different video showing the first two methods that i go over in this video and the second method is the more complex method and again i've already went over that in detail in another video so we're just going to browse through all three of these methods and the third method is a brand new one that i learned which i think is really cool and it's really easy to use so the first way to pull cryptocurrency prices into google sheets is by using the google finance function which is usually used to pull stock prices but it can pull a couple crypto prices such as bitcoin and ethereum and so here's an example of using the google finance function to pull cryptocurrency prices right here and we're simply referring to cell a2 which has the symbol btc usd in the cell and as you can see you can do the same thing for ethereum with the symbol e-t-h-u-s-d but right now the google finance function is very limited in what cryptocurrency prices it can pull and so i'm going to show you a couple of different methods another way to pull cryptocurrency prices into google sheets is by using the import xml function which requires a url and then an xpath and so this function is used to pull data directly off of websites and as you can see i've used this formula here on a variety of websites and only some of them are actually giving information back and that's because sometimes this formula simply doesn't work with a certain website for example coinbase it's working right now but after i released my last video people started having problems with an error that says could not fetch url and i think that's a captcha problem but that's the great thing about this import xml function is that you can use it on a variety of websites and so as you can see i'm successfully pulling in crypto prices from coinbase coin market cap coindesk crypto.com and yahoo finance so i can't stress enough to watch my other video if you want to go over this in more detail but i'm going to go over this really fast so i'm coming to coinmarketcap.com i'm looking at loop ring i'm going to right click on the price and then click inspect which brings up a menu on the right i'm hovering my cursor over the code over here on the right that highlights the price off to the left i'm going to right click hover my cursor over copy and then click copy full xpath i'm going back to my spreadsheet and this is where i would paste my xpath directly into the formula or in this case into a cell that i'm referring to with my formula i already have the url pasted here coin coinmarketcap.com currencies loopering and so the formula import xml is referring to the url and then the xpath is listed in cell b7 and so i've specified the page to pull from and the element to pull from which in this case is the element that contains the price and as you can see it's showing me the price for loop ring and here on coinbase we have a special example because the result returns multiple columns and so in this cell f6 i've had to add together two different cells to get the dollar amount plus the amount of cents but again that's in a different video so there's the first two different ways to pull crypto prices but let's go over this third method which i think is really really awesome and this third method utilizes a website called cryptoprices.cc and again i'm trying to go really fast and before i show you this method i have to give credit to the person who created this website because i think they're really awesome for providing us this resource they've used a coin gecko api to create a place for us to use their website to pull cryptocurrency prices and so again i have to give him credit so go to cryptoprices.cc and on this main page you can find all kinds of information about how to use this method which again i'm going to show you here in just a second if you scroll down the page you can click the link that says list of all tokens slash pairs available and it takes you to a page like this which shows you all of the possible cryptocurrency pairs i simply held control and a on the keyboard and then copied this and pasted it into my sheet so that i can easily search for the crypto pair that i want and they have tons and tons of pairs here so you should be able to find what you need now just to try to give a little bit of extra credit to who made this you can see their contact information on the bottom they are a developer and they're probably really awesome so check them out maybe even drop them a message and thank them for giving us this method to pull crypto prices all right so again cryptoprices.cc i'm going to go back to my sheet and these are the crypto pairs that i showed you on the page that shows the crypto pairs and all we have to do to use this method is use the function called import data so i'm going to type equals import data parentheses and i'm simply going to refer to this cell which has the bitcoin pair at cryptoprices.cc then i'm going to press enter and so just like that this import data function which by the way retrieves csv data has pulled in the bitcoin price and again this is with much thanks to cryptoprices.cc and the resource that they've put together so that we can pull crypto prices into google sheets very easily and if you want to learn more about how to use the import xml function to pull data from websites i've linked to that video below if you enjoyed the video please like and subscribe and have a great day
Original Description
Get help with your spreadsheet project, or personalized training:
https://www.spreadsheetclass.com/consulting/
Get the ultimate formulas cheat sheet
https://www.spreadsheetclass.com/best-google-sheets-cheat-sheet/
Learn to build dashboards in Google Sheets:
https://www.spreadsheetclass.com/google-sheets-dashboards-course/
Learn more about using the IMPORTXML function:
https://youtu.be/U7XXxtobXcA
Learn to pull stock prices: https://youtu.be/Cd-DlJdWbsg
Read the article on how to pull crypto prices:
https://www.spreadsheetclass.com/pulling-cryptocurrency-prices-into-google-sheets-2-methods/
For using the IMPORTDATA method (credit to cryptoprices.cc):
https://cryptoprices.cc/
https://cryptoprices.cc/sitemap.txt
In this video I will teach you three different ways to pull crypto prices into your Google spreadsheet.
First I will show you how to use the GOOGLEFINANCE function to pull the prices of major cryptocurrencies, and then I will show you how to use the IMPORTXML function to pull the price of any crypto, from a specified website that you want to pull data from. Then I'll show you how to use the IMPORTDATA function to pull crypto prices from cryptoprices.cc
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Spreadsheet Class · Spreadsheet Class · 51 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
▶
52
53
54
55
56
57
58
59
60
How to use the FILTER function in Google Sheets (Single or Multiple Conditions)
Spreadsheet Class
5 formulas that combine columns in Google Sheets (Horizontal and Vertical)
Spreadsheet Class
All the ways to extract text and numbers in Google Sheets
Spreadsheet Class
How to filter based on a list in Google Sheets
Spreadsheet Class
How to fix the "FILTER has mismatched range sizes" error in Google Sheets
Spreadsheet Class
How to color cells, and alternate row colors in Google Sheets
Spreadsheet Class
How to automatically create a series of values in Google Sheets
Spreadsheet Class
Google Sheets Beginner Tutorial
Spreadsheet Class
How to make a Dashboard in Google Sheets (Full Tutorial)
Spreadsheet Class
Using the SORT and FILTER function in the same formula in Google Sheets
Spreadsheet Class
ARRAYFORMULA function: Apply a formula to an entire column in Google Sheets
Spreadsheet Class
Automatically resize columns in Google Sheets with Fit to Data
Spreadsheet Class
How to import or convert a CSV file into Google Sheets
Spreadsheet Class
How to export / download a CSV from Google Sheets
Spreadsheet Class
How to change text case in Google Sheets with UPPER LOWER and PROPER
Spreadsheet Class
How to use the Calendar Template in Google Sheets
Spreadsheet Class
How to rotate text in Google Sheets
Spreadsheet Class
How to create charts in Google Sheets (And how to customize them too)
Spreadsheet Class
How to copy formulas, and lock cell references in Google Sheets (Relative & absolute references)
Spreadsheet Class
How to copy and paste values only in Google Sheets
Spreadsheet Class
How to fix the "Circular Dependency Detected" error in Google Sheets
Spreadsheet Class
Evenly space columns in Google Sheets (Make columns the same size quickly)
Spreadsheet Class
Doing math in Google Sheets: Add, Sum, Subtract, Multiply, Divide, Square, Square Root
Spreadsheet Class
How to filter horizontally in Google Sheets (Filter columns)
Spreadsheet Class
UNIQUE function: Removing duplicates with 2 methods in Google Sheets
Spreadsheet Class
Report Builder template for Google Sheets (Automatically organize / calculate your data)
Spreadsheet Class
Build a Google Sheets dashboard with Google Forms data (Automated)
Spreadsheet Class
Guitar tabs template for Google Sheets (& PDF) | Create your songs in a Google spreadsheet
Spreadsheet Class
Interactive Google Sheets dashboard with drop down menus tutorial
Spreadsheet Class
Student attendance dashboard tutorial in Google Sheets: Simple + advanced
Spreadsheet Class
SORT function in Google Sheets (Sort data vertically or horizontally)
Spreadsheet Class
How to use the SORT function in Google Sheets (Quick Version)
Spreadsheet Class
How to copy chart formatting and duplicate charts in Google Sheets
Spreadsheet Class
How to copy a tab to a new file / sheet in Google Sheets
Spreadsheet Class
How to duplicate tabs in Google Sheets
Spreadsheet Class
How to hide and unhide tabs in Google Sheets
Spreadsheet Class
How to make a copy of a file in Google Sheets
Spreadsheet Class
How to change tab color in Google Sheets
Spreadsheet Class
How to insert, delete, rename, and reorder tabs in Google Sheets
Spreadsheet Class
How to move a chart to another sheet in Google Sheets
Spreadsheet Class
How to wrap text, unwrap text, and clip text in Google Sheets
Spreadsheet Class
Switch columns and rows with the TRANSPOSE function in Google Sheets
Spreadsheet Class
Project management timeline template for Google Sheets (Gantt Chart)
Spreadsheet Class
Build a dashboard in 3 simple steps (Google Sheets)
Spreadsheet Class
Pull data from websites in Google Sheets with IMPORTXML function | Web scraping (Stock prices)
Spreadsheet Class
(Quick version) Pulling data from websites with IMPORTXML function | Google Sheets web scraping
Spreadsheet Class
Pull cryptocurrency prices in Google Sheets (2 methods) | GOOGLEFINANCE and IMPORTXML crypto prices
Spreadsheet Class
Fast & simple dashboard tutorial for Google Sheets (Build in under 15 minutes)
Spreadsheet Class
How to create drop-down lists in Google Sheets (Data validation)
Spreadsheet Class
The ultimate cheat sheet for Google Sheets (Formulas, charts, shortcuts, and more)
Spreadsheet Class
3 ways to pull crypto prices into Google Sheets | GOOGLEFINANCE, IMPORTXML, IMPORTDATA
Spreadsheet Class
Stock & crypto tracker templates for Google Sheets (Portfolio, Analysis, Watchlist, Screener)
Spreadsheet Class
How to indent in Google Sheets (5 Methods)
Spreadsheet Class
Pull stock prices & stock data with the GOOGLEFINANCE function in Google Sheets (& Crypto too)
Spreadsheet Class
How to create and customize charts in Google Sheets (Quick version)
Spreadsheet Class
Apply a formula to an entire column in Google Sheets with the ARRAYFORMULA function | Quick Version
Spreadsheet Class
How to insert a new line in a cell (or formula) in Google Sheets
Spreadsheet Class
How to freeze rows & columns (& How to unfreeze) in Google Sheets
Spreadsheet Class
How to add and sum in Google Sheets (Addition and SUM function)
Spreadsheet Class
How to average in Google Sheets (Using the AVERAGE function)
Spreadsheet Class
More on: Data Literacy
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Müşteri Değerini Anlamak: RFM, CLTV ve Tahmine Dayalı CRM Analitiği
Medium · Machine Learning
Müşteri Değerini Anlamak: RFM, CLTV ve Tahmine Dayalı CRM Analitiği
Medium · Data Science
Müşteri Değerini Anlamak: RFM, CLTV ve Tahmine Dayalı CRM Analitiği
Medium · Python
Surviving the Data Science Behavioral Interview
Towards Data Science
🎓
Tutor Explanation
DeepCamp AI