How to import a Wikipedia table into Google Sheets

Поділитися
Вставка
  • Опубліковано 20 тра 2021
  • How to import a wikipedia table, or any table from a webpage into google sheets using the importhtml formula

КОМЕНТАРІ • 30

  • @anaisdofutebol9087
    @anaisdofutebol9087 6 місяців тому

    Thanks! This video saved me a lot of time!

  • @miitown11
    @miitown11 11 місяців тому

    Brill!!!! Thanks Brian :)

  • @ShyamLal-jg3wo
    @ShyamLal-jg3wo 2 роки тому +1

    Thank you! Subscribed

  • @m.w.r.1408
    @m.w.r.1408 Рік тому

    Daniel Cormier! Great fighter

  • @CrunkMiens
    @CrunkMiens Рік тому

    It did indeed help.

  • @phiteonn3541
    @phiteonn3541 3 роки тому +7

    Isn't the first table number '0' therefore making the 4th table number '3'?

    • @BrianLeeDick
      @BrianLeeDick  3 роки тому +2

      i thought that might be it too... but that doesn't stay true for all tables I've tried

  • @HngCactus
    @HngCactus 10 місяців тому

    Thank you

  • @s1nniy
    @s1nniy Рік тому +1

    Thanks a lot!

  • @grey_mouse
    @grey_mouse Рік тому

    Great, thank you.

  • @waterm3lonlover937
    @waterm3lonlover937 7 місяців тому

    awsome. now how do i edit or sort these tables? iv'e been struggling non stop... i'm getting blank spaces everywhere when i edit or try to sort things...

  • @TurokTheAssassin
    @TurokTheAssassin 2 роки тому +3

    amazing function, it worked using ; instead of , for me though

  • @birb_1607
    @birb_1607 2 роки тому

    In code, numbers go from '0' onwards so that's probably why it says table 3

    • @BrianLeeDick
      @BrianLeeDick  2 роки тому +2

      yeah that was my first thought too, but it doesn't stay consistent from that point on...i almost think it has to do with page edits... like if a table is removed the number is removed but that index number can't be used again because it's saved for reversions or something

  • @andieg8615
    @andieg8615 Рік тому

    It worked for all the tables on the page except for the one I needed. The XPath had multiple div and ended with table no number. I tried all numbers from 0 to 6 and got the other tables. :( Bummer.

    • @RobHolecko
      @RobHolecko Рік тому

      Did you figure out how to get that table?

  • @pvksmaheeth8816
    @pvksmaheeth8816 11 місяців тому

    getting stars for all the data *Head in the Clouds* like this what should i do

  • @saiteja552
    @saiteja552 3 роки тому

    can u make a video of webscraping a table in python

    • @BrianLeeDick
      @BrianLeeDick  3 роки тому

      wish i knew how. that's over my head

  • @RobFilm
    @RobFilm 2 роки тому +1

    not working Formula parse error. even i do the same example;/

    • @thekillerregs6038
      @thekillerregs6038 2 роки тому +2

      Try to use ";" instead of "," to separate the elements

    • @gabrielborges8567
      @gabrielborges8567 2 роки тому +1

      @@thekillerregs6038 it worked. thank you a lot

    • @BrianLeeDick
      @BrianLeeDick  Рік тому

      thanks for helping out folks... hope this helped OP and others

  • @Paperclown
    @Paperclown 2 роки тому

    so the google search shows this video timestamped at 2m in and you dont even include the string in your description ! what do you think this is the 1980's where people type in programs from teh magazines !

  • @annymousam7177
    @annymousam7177 11 місяців тому

    can one cell import all tables in wik*? like : =importhtml("en.wikipedia.org/wiki/Daniel_Cormier" , "table" , 3+4) or something