Import table not working? GoogleSheets

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Re: Import table not working?

You do realize that importhtml is a Google sheets function. That said, when I tried your formula on a Google worksheet it returned the below results. You would have to add the Index function to isolate any particular cell.

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>[TABLE="width: 0"]
<colgroup><col style="width: 100px"><col width="100"></colgroup><tbody>[TR]
[TD]Premier League[/TD]
[TD]LaLiga[/TD]
[/TR]
[TR]
[TD]Serie A[/TD]
[TD]Ligue 1[/TD]
[/TR]
[TR]
[TD]Bundesliga[/TD]
[TD]ATP US Open[/TD]
[/TR]
[TR]
[TD]WTA US Open[/TD]
[TD]WNBA[/TD]
[/TR]
[TR]
[TD]MLB[/TD]
[TD]NFL[/TD]
[/TR]
</tbody>[/TABLE]

For example this command:

=index(importhtml("http://www.oddsportal.com/cricket/north-central-america/caribbean-premier-league/results/", "table", 2),1,1)

returned this:

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>Premier League
 
Upvote 0
Re: Import table not working?

I am using Excel 2010.

Unless you are having as issue with Excel, you may be on the wrong form.

If you are trying to import information into Excel, you are going to have provide more information on what you are trying accomplish.
 
Upvote 0
Re: Import table not working?

with Excel
use PowerQuery (free add-in for 2010/2013, built-in - 2016 and higher)
after import you can do what you want with data

edit:
ops, I missed it's googlesh(ee)t
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,756
Messages
6,174,319
Members
452,555
Latest member
colc007

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top