Using the =IMPORTFROMWEB() function, you will be able to extract any table within seconds.
First of all, make sure your ImportFromWeb add-on is activated. Then, you just need to collect the URL of the page containing the table and then paste it on any cell of your spreadsheet.
![Screenshot table NHL scoring](https://playground.nodatanobusiness.com/wp-content/uploads/2022/06/unnamed-file-1024x498.png)
Once you pasted the url, just write the function =IMPORTFROMWEB(), select the cell where the URL is pasted and put a coma. Next, just write: “table” (do not forget the quotation marks).
=IMPORTFROMWEB(B2,"table")
![](https://playground.nodatanobusiness.com/wp-content/uploads/2022/06/image-9-1024x566.png)
Obviously, you can still use XPaths and CSS selectors to retrieve your table, as in the following example:
![](https://playground.nodatanobusiness.com/wp-content/uploads/2022/07/Table_extraction-1024x480.png)
What if the page contains multiple tables?
In case there are more than 1 table into the page, the process is not more complex!
All you have to do is to specify the position of the table next to the “table” selector, just like that:
=IMPORTFROMWEB(B2,"table/n")