How to get web page data with Google Sheets
Web scraping or extracting data is not an easy task. But what many people do not know is that it is not necessary to be a hacker to collect data from websites. In fact, you don't need any programming skills.
A myriad of tools like browser extensions exist to help ease the necessary technical knowledge. But even if they are a bit "too much" for you, do not worry. Google Sheets will come to help you
Google Sheets has a handy little formula that allows you to extract lists or data sheets of web pages into your chosen worksheet. That formula is called importhtml and works like this:
Find the site you want to retrieve data
For example, consider the list of top technology companies in terms of revenue on Wikipedia:
https://en.wikipedia.org/wiki/List_of_largest_technology_companies_by_revenue
Specify the table or list you want to extract data from
In this case, select the second table on the page, in the '2019 list' section.
Now, enter the following in the arbitrary box (suppose A1)
=IMPORTHTML('https://en.wikipedia.org/wiki/List_of_largest_technology_companies_by_revenue', 'table', 2)
As you can see, you will have to declare three things in the formula: the URL you want to get data from, the type of data (table or list) and the position (in this case, the second table, so , the number in the formula is 2 ).
Hit Enter
and the table will appear in the worksheet:

To go to the next level and actually convert or delete that data, first make sure that it is put in a static state instead of linked data. To do so, select the table, right-click in cell A1 , select Paste special> Paste values only .
All operations are completed. Feel free to do what you like with data in Google Sheets!
Hope you are succesful.
You should read it
- How to use Filter function on Google Sheets
- Tricks using Google Sheets should not be ignored
- How to create graphs, charts in Google Sheets
- How to create a phone number can be called on Google Sheets
- Instructions for importing JSON into Google Sheets
- How to set up the right to edit spreadsheets on Google Sheets
- 5 Google Sheets features you should know
- How to insert checkboxes on Google Sheets
May be interested
- How to write notes, comments on Google Sheetson google sheets has a comment writing feature, notes in the data box can help users understand the content while working online with many people.
- Instructions for importing JSON into Google Sheetsjson is a standard protocol for sending data between applications. in this tutorial, tipsmake.com.com will show you how to import json data into google sheets using a free, open source script available on github.
- How to restore old version of Google Sheets without losing datadid you accidentally edit something on google sheets and want to go back to the old version? google sheets has an easy data recovery feature. learn how to use it now to avoid losing important information with tipsmake.
- How to change dots into commas on Google Sheetson google sheets there is also the option to change the dot to a comma to separate thousands in the data.
- How to highlight duplicate content on Google Sheetsto mark duplicate content on google sheets, we will set the conditions for the data table, to identify the same data.
- How to arrange alphabetical order in Google Sheetssorting alphabetical words is a fundamental requirement when we work with data tables on excel or google sheets.
- How to Use Importrange on Google Sheets on PC or Macthis wikihow teaches you how to use the importrange function in the web version of google sheets to import data from another spreadsheet. go to https://sheets.google.com in a web browser. if you're not already signed in to your google...
- How to enter 0 in Google Sheetsnormally when entering 0 on google sheets, it will automatically disappear if that 0 is in front of the number line. so how to re-display 0 in google sheets.
- How to use the interlaced color tool in Google Sheetsthe alternating color feature in google sheets makes our data table much more professional and also easy for others to read.
- How to Export Airtable to Excel and Google Sheetsairtable lets you create and share relational databases easily. export your airtable data to google sheets or excel to enjoy the benefits of advanced charts and data visualization.