How to Import Data from Webpages into Google Sheets

This video will show you how to import tables and lists from a webpage to Google Sheets. Using the IMPORTHTML function in Google Sheets allows this import to be done very quickly. You can customize the data you import from the web by limiting columns or adding filters to get exactly what you want in Google Sheets. This is done by adding the QUERY function along with the IMPORTHTML function in Google Sheets.
0:00 Introduction
0:50 Import table from a webpage into Google Sheets
3:01 Import list from a webpage into Google Sheets
3:45 How to limit columns from the import table
5:48 Filter data from the import table into Google Sheets
Data I used in the example: en.wikipedia.org/wiki/Lists_o...

Пікірлер: 119

  • @connorcarbon
    @connorcarbon Жыл бұрын

    Congratulations, you're one of the few people ever where I've watched a video to solve an issue that doesn't seem to behave as expected for a "tip" to actually work, and then it actually worked, by 2:55. And I skipped the intro and watched on x2 speed. What a satisfying experience. Finally. After all these years lol

  • @mudassar1
    @mudassar12 жыл бұрын

    Thanks for keeping it short and to the point. Really appreciate it.

  • @emilharden9532
    @emilharden95322 жыл бұрын

    These formulas are very handy...thanks for the demo! As always, really clearly explained and presented.

  • @TeachersTech

    @TeachersTech

    2 жыл бұрын

    Thanks 🙏

  • @valterpereiracjr
    @valterpereiracjr11 ай бұрын

    Very direct, easy to follow and clean explanation. Thank you!

  • @Physics_Dude
    @Physics_Dude Жыл бұрын

    Well done! Expect some hits in the coming days. I am sharing this video with my Trig students this week and they'll be downloading daylight hours data from the Astronomical Applications Department of the U.S. Naval Observatory and then coming up with a model to explain the data. Super cool and helpful video and I hope they bookmark this as it will help them in their future research in other future classes.

  • @TeachersTech

    @TeachersTech

    Жыл бұрын

    Glad it was helpful. Thanks for sharing!

  • @HamdanYouTuber
    @HamdanYouTuber2 жыл бұрын

    Really clearly explained and presented, thank you.

  • @katoenoc5641
    @katoenoc56412 жыл бұрын

    Thanks for the videos always Jimmy, they've been so helpful to me 😀

  • @TeachersTech

    @TeachersTech

    2 жыл бұрын

    Glad to help!

  • @sumayaNoman
    @sumayaNoman Жыл бұрын

    I honestly can't thank you enough !! I have been struggling a long time trying to find how to do this Thank you soooooooo much 🤩🤩🤩🤩🤩🤩

  • @khalidiqbal4769
    @khalidiqbal47692 жыл бұрын

    Sir thanks for teaching so efficient lessons that solve what seems impossible before. Again thanks. God bless you.

  • @TeachersTech

    @TeachersTech

    2 жыл бұрын

    So happy these video help you out!

  • @jose.baires
    @jose.baires Жыл бұрын

    Many thanks, Jimmy, you pointed me on the right path!!!!

  • @DhangAndMarie
    @DhangAndMarie Жыл бұрын

    Very straightforward. Thank you!

  • @TheCanalian
    @TheCanalian8 ай бұрын

    Perfect. Just what I needed. Thank you! ❤

  • @sheralikhan5087
    @sheralikhan5087 Жыл бұрын

    You are rocking bro. You save my life... Thank you!

  • @themastercheif
    @themastercheif Жыл бұрын

    You saved me some marks for my activity which was given to me.

  • @PhG1961
    @PhG19617 ай бұрын

    Excellent! One of the best I"ve seen so far!

  • @richcain8828
    @richcain88285 ай бұрын

    Really well done. Thank you! This will save me so much time!

  • @ladybeez9112
    @ladybeez9112 Жыл бұрын

    I was stuck on this.Thank you.

  • @xenu1885
    @xenu18855 ай бұрын

    Great video, helped me do exactly what I wanted too. Thank you very much!

  • @walterwhiteunofficial
    @walterwhiteunofficial5 ай бұрын

    Thank you so much this was very useful!

  • @nedlin7934
    @nedlin7934 Жыл бұрын

    first time to get know that one can leverage sql syntax in google sheet. Thanks for the instruction.👍

  • @dennistucker1153
    @dennistucker11534 ай бұрын

    Most excellent video. Thank you.

  • @haletahmasbipoor5522
    @haletahmasbipoor55222 жыл бұрын

    Very helpful. Thank you🙏.

  • @TeachersTech

    @TeachersTech

    2 жыл бұрын

    Very welcome!

  • @talzuckermusic
    @talzuckermusic11 ай бұрын

    Really helpful, Thanks!

  • @IgorMosoreti
    @IgorMosoreti Жыл бұрын

    wow! that is amazing. helps a lot!

  • @roryb8058
    @roryb80582 ай бұрын

    you made it easy. thank you

  • @zunkman1
    @zunkman1 Жыл бұрын

    Thank you - perfect!

  • @xilllllix
    @xilllllix Жыл бұрын

    amazing, thank you!

  • @timdrevline8408
    @timdrevline8408 Жыл бұрын

    Great video. Well explained. Just FYI, it's asterisk, not astericks.

  • @ahsanrobi
    @ahsanrobi2 жыл бұрын

    amazing sir...thanks

  • @Nokie2010
    @Nokie20102 жыл бұрын

    This is very good. Thanks 🙏🙏

  • @TeachersTech

    @TeachersTech

    2 жыл бұрын

    Welcome!

  • @Ace-zr2zt
    @Ace-zr2zt6 ай бұрын

    Thank you so much!

  • @robingebert9526
    @robingebert95262 ай бұрын

    I was able to get a result I was happy with using this video, unsure why the query function does not react the same trying to limit with rows but I used data validation drop down to create a retroactive selectable for my sheet, not perfect but works

  • @contracostacollege2
    @contracostacollege22 жыл бұрын

    Thanks!

  • @hamidrezadarabian159
    @hamidrezadarabian1592 жыл бұрын

    Fantastic!

  • @Olajumoke_Adeife
    @Olajumoke_Adeife10 ай бұрын

    Thank you so much

  • @dammitbobby283
    @dammitbobby2834 ай бұрын

    This is awesome.

  • @amirmohamed7858
    @amirmohamed7858 Жыл бұрын

    Great video. Does it refresh automatically ? can I set it to refresh like every one minute ?

  • @sound_to_sleep
    @sound_to_sleep7 ай бұрын

    Game changer!!!!!

  • @raybright5805
    @raybright58052 жыл бұрын

    Great for sorting a dump of my share portfolio - current prices

  • @doublejsportscards8921
    @doublejsportscards8921 Жыл бұрын

    Thanks for the video! I am having trouble on some websites as the error #N/A appears even though there is a table on the website, any advice? Ive also tried using the list function and neither work! Thank you again!

  • @raog628
    @raog628 Жыл бұрын

    very good I like it

  • @darianleduchowski647
    @darianleduchowski647 Жыл бұрын

    thx so much.

  • @moazzumgillani4852
    @moazzumgillani485211 ай бұрын

    Wow!!!! Love It.

  • @pini5076
    @pini50762 жыл бұрын

    Thank you very much! how can we import the second table that says documentaries?

  • @naseershaikh2414
    @naseershaikh2414Ай бұрын

    Thanks for ur effort, wud u tell how can we add data validation for multiple categories for example as u shown for drama

  • @FoodieSF
    @FoodieSF Жыл бұрын

    Thanks for making this video. If a website only shows 10 results per page, and it doesn't have a "show all" option, can you export all of the data or can you only export what's on the page?

  • @rendisatria1708

    @rendisatria1708

    Жыл бұрын

    i also looking for this answer, does anyone knows how?

  • @rendisatria1708

    @rendisatria1708

    Жыл бұрын

    i also looking for this answer, does anyone knows how?

  • @Trusted_Advisor
    @Trusted_Advisor10 ай бұрын

    Excellent - not working for me yet - going to look for a basic troubleshooting guide. Thanks

  • @Gator1928
    @Gator19282 жыл бұрын

    Thanks Jimmy. Loved your teaching style. Watched your video and was successful with downloading tables from Wikipedia. But I could not get your method to work on other web sites. What's the problem?

  • @TeachersTech

    @TeachersTech

    2 жыл бұрын

    I’ll check into this. I only tested it on a few pages.

  • @DjDomiC101

    @DjDomiC101

    2 жыл бұрын

    @@TeachersTech Any Update? I am also having trouble with this. Also, is it possible to import data from a PDF link? Or can I transfer it once its in Adobe Acrobat

  • @flosrv3194
    @flosrv3194 Жыл бұрын

    I just discovered your video! It was awesome! But what if i want just one value ? Like i want to web scrap the EUR value of a Crypto from coingecko and get it in a Google sheets case? This data isn't in a table nor in a list

  • @ankur.mahajan
    @ankur.mahajan7 ай бұрын

    Thanks a lot. Do you have any course or playlist for webscraping using Sheets ?

  • @user-ui5dg3nr3r
    @user-ui5dg3nr3r6 ай бұрын

    Usefull

  • @DaniloOliveira89
    @DaniloOliveira899 ай бұрын

    thanks

  • @mudassirahmad167
    @mudassirahmad1672 жыл бұрын

    How do I know that data on the website is protected? It can be selected, copy and pasted but there's some sort of filter on it that prevents web scraping. If I use "list" it imports lists mentioned but if I type coloumn, nothing.

  • @ngannguyen.02
    @ngannguyen.02 Жыл бұрын

    Thanks this video. But If the table have many rows in many pages (when we change pages, url isn't changed), how can we get the table into google sheet? Can you guide me? Many thanks.

  • @MuratAksu-xc8vc
    @MuratAksu-xc8vc Жыл бұрын

    Thanks for sharing! as I'm beginner there is something I can't do. I want to get some soccer results to Google spreadsheets but I'm always having #N/A error. How can I fix this? Also are these data live? I mean if the source will change, will it change data on spreadsheets too? TIA!

  • @sangvuvan8951
    @sangvuvan8951 Жыл бұрын

    what about webpage with user , pass and even with PIN CODE to log in? how can we import data to spreadsheet, Sir? such as: daily bank account transaction.

  • @relaxationworld2249
    @relaxationworld22492 жыл бұрын

    I just saw your krita tutorial video ( i have a question related that ). How can i save my artwork with layers in pc or laptop ( when i save it, it just save the final artwork and all layers are gone ) ? Please help me

  • @rightfitresources
    @rightfitresources Жыл бұрын

    Nice

  • @UnfairMode
    @UnfairMode11 күн бұрын

    Amazing content. Thanks. Can I do the same process in a website that has dynamic values changing over time? For example: a private site that shows me the weather temperature and this temperature is upgraded each minute? So I need to enter this site using my private password and to see this data live. Then I use my Google Sheets to do some convertions on these data.

  • @thandrage3465
    @thandrage3465 Жыл бұрын

    Is there a way that the import data can be saved and not still linked to the import function? So if the website goes down, the data stays. Aside from copy and special pasting?

  • @naricole811
    @naricole8112 жыл бұрын

    👍👍👍

  • @tallyerptutorials
    @tallyerptutorials10 ай бұрын

    Is it possible to import data from other than public URL? I mean I need to import data from pos software. This is not a public URL and it's access with login password

  • @cheesanchez24
    @cheesanchez24 Жыл бұрын

    Hi teachers tech, this is a very good tutorial, just have one question, for example i just wanted to get a specific value or number on a webpage to show up on my sheet so i wont go back to the website and check it again. is that possible? the number is not clickable , the website just shows the number if its increasing its value or decreasing.

  • @cheesanchez24

    @cheesanchez24

    Жыл бұрын

    up

  • @coolio5798
    @coolio5798 Жыл бұрын

    Is there a way to do get tables imported from behind a login screen if we have the API key?

  • @waynefilkins8394
    @waynefilkins83942 жыл бұрын

    what if the url is just like regular like idk the table is javascript or something. If I copy paste it all goes into 1 column

  • @GillianGibsonNoero
    @GillianGibsonNoero Жыл бұрын

    Hello, Professor Teacher's Tech - thank you for this explanation, but the reason I came to find you is this: In the brand new Google AI interface (the one where you search by clicking on the lab beaker) today it asked me if I wanted to aff a new feature called "Add to Sheets". When I clicked on it I just got the URL. The AI interface didn't have any of your instructions in it. Please can you help me understand how the new AI search "add to Sheets" interface should be working? Thank you.

  • @jkll435y
    @jkll435y3 ай бұрын

    please help to import specific row of the column

  • @BraveLittlePixel
    @BraveLittlePixel Жыл бұрын

    what if my information doesn't appear to be in a list or table? How do I pull the information for example from the Steampowered website to extract a list of owned games?

  • @baenowyours
    @baenowyours4 ай бұрын

    is it work with one click if the website has more table on another pages?

  • @jeffreyjones6081
    @jeffreyjones6081 Жыл бұрын

    I have a question ^^ does the list update even if the website e.g. adds more information?

  • @A.Bass00

    @A.Bass00

    11 ай бұрын

    Good question. I'd like to know a way to populate Google sheets dynamically when the value of the website is updated.

  • @roserainbird2365
    @roserainbird2365 Жыл бұрын

    Can I do this with Royal Mail in the UK or Wix?

  • @xabieraristu4148
    @xabieraristu4148 Жыл бұрын

    Would it be possible to do the pulling the opposite way? I mean, to pull data from a Google sheets into a website. For example, imagine that I had 50 words in a Google sheet database, and that each day I want my website to choose one of the words and show it, changing to a new word each day. Is there a way to do that?

  • @81summer98
    @81summer983 ай бұрын

    It does work, but how do I make the data in the Google sheet keep updating as the website change?

  • @zeinghaleb
    @zeinghaleb Жыл бұрын

    What is the solution if the website (URL) has a username and password and after that there is two field From (start date) To (End date)? Thank you

  • @Lassn
    @Lassn9 ай бұрын

    Can you query specific rows and columns at the same time?

  • @gardnerthompson190

    @gardnerthompson190

    7 ай бұрын

    wondering this too

  • @mgr8884
    @mgr8884 Жыл бұрын

    Hi, do you know how to import data from MyMap to a spreadsheet?

  • @panatema
    @panatema10 ай бұрын

    hi and what if i want to only bring Row 1 in col 1 is that possible?

  • @mbabcock111
    @mbabcock1112 жыл бұрын

    How can I grab a single row/column cell?

  • @SoundtrackGod
    @SoundtrackGod5 ай бұрын

    is there a way to pull info from a website you have to sign into?

  • @timelesstimesgoneby
    @timelesstimesgoneby2 жыл бұрын

    How to use website to match photos to text google sheets

  • @user-vn1ce1fj4e
    @user-vn1ce1fj4e8 ай бұрын

    i am trying to input a couple different websites for fantasy purposes and I am struggling with this

  • @evagerber4037
    @evagerber40376 ай бұрын

    How do you manage without wikipedia Lists? straigt from google?

  • @miguelangel8514
    @miguelangel85142 жыл бұрын

    why everyone use wikipedia for examples? I want to use it with other webpage and its not working haaha

  • @jakelamotta7904

    @jakelamotta7904

    Жыл бұрын

    Same. Trying to get stock infos from seeking alpha and it says ‚cant fetch url‘. So annoying. Can’t fix it. Anyone any idea?

  • @imenetina354

    @imenetina354

    Жыл бұрын

    @@jakelamotta7904 i tried using it with other webpages but it didn't work for me either

  • @A.Bass00

    @A.Bass00

    11 ай бұрын

    I am trying to pull a different website that I want to pull in a value, not a list or table. Any ideas?

  • @peterlangat3524
    @peterlangat35242 жыл бұрын

    Thanks Jimmy. How do I go about "locale" when it is not "en_US"?

  • @lylestavast7652

    @lylestavast7652

    Жыл бұрын

    you set it once per the file - File - Settings and it applies to all sheets... if that's what you're asking.

  • @AndoHemse
    @AndoHemse Жыл бұрын

    Ok, but what if I don't have a table, but a list, and want to just pull the first line of the list?

  • @bradmyatt2356
    @bradmyatt2356 Жыл бұрын

    how can you refresh the data automatically?

  • @larryricejr
    @larryricejr4 ай бұрын

    Hello I keep getting an error message saying: “Please use a desktop web browser to allow access to fetch data from external urls.” I’m using my iPad and safari is my web browser. Please help.

  • @user-rp1vu4je8m
    @user-rp1vu4je8m Жыл бұрын

    hello teacher, I watched your videos on KZread and wanted to consult you about a difficult issue. We want to dump the websites and e-mail addresses of the brands we found on the internet into Excel. In other words, the company or brand name on the left line, the website and email taken from automatic google right next to it. As we find new brands, we will add them to the excel file and as the code runs, it will continue to find their website and emails. I would be very grateful if you could help with this, free or paid. Enjoy your work.

  • @_copium
    @_copium8 ай бұрын

    Do you ever miss trappin?

  • @brvadent4957
    @brvadent495710 ай бұрын

    "Resource at url contents exceeded maximum size." :(

  • @globalupdateofalltime2316
    @globalupdateofalltime231610 ай бұрын

    I tried it is not working recently at all.

  • @zoomerchimaev4147
    @zoomerchimaev41476 ай бұрын

    🎯 Key Takeaways for quick navigation: 00:23 📊 *You can import data from webpages into Google Sheets, including tables, and customize the imported data.* 01:26 🧾 *Use the "importhtml" function in Google Sheets to import data from a webpage. Syntax includes URL, query, index, and locale (which can be left blank).* 03:18 📋 *You can specify whether to import a table or a list from a webpage using the "query" parameter in the "importhtml" function.* 04:38 📊 *Limit the columns you import by using the "query" function within "importhtml" and specifying which columns you want to include.* 06:32 🧐 *You can filter specific data from a table by adding a filter condition using the "query" function in "importhtml," allowing you to extract only the data you need from the webpage.* Made with HARPA AI

  • @rodolfomenegassi2607
    @rodolfomenegassi26076 ай бұрын

    Well, for me it works only with ";" and not ",".

  • @neonnuggetchoco

    @neonnuggetchoco

    2 ай бұрын

    holy shit, thank you so much

  • @alanthomas7358
    @alanthomas73583 ай бұрын

    Tried does not work

  • @4bytesuserpage
    @4bytesuserpage Жыл бұрын

    you look like a new roblox character my guy

  • @comandantepepperoni8104
    @comandantepepperoni8104 Жыл бұрын

    This didn't work

  • @BucurEST1989
    @BucurEST19895 ай бұрын

    Nope not working

  • @orikuper4433
    @orikuper4433 Жыл бұрын

    Thanks!

  • @itsmetherock
    @itsmetherock Жыл бұрын

    thanks