1

I'm trying to get ONLY one column in a row from a website into my google sheet. I attached some screenshots to further explain.

I would like to place the formula in row 8, column Q in my sheet. The first screenshot just shows what links me to the webpage based on what's in cell/column "A", but I still have to manually input what's in the webpage as it updates. I want the info from the webpage to automatically go into the google sheet.

I've tried

=INDEX(IMPORTHTML("https://nakedshortreport.com/company/",A8;"htable"),2,7)

=INDEX(IMPORTHTML("https://nakedshortreport.com/company/"&A8&"&in=","table",0),2,3)

=QUERY(IMPORTHTML("https://nakedshortreport.com/company/",A8, "table", 1), "SELECT row2, Col7")

But none of the formulas are working.

screenshot 1

screenshot 2

hank130
  • 11
  • 1

2 Answers2

0

try:

=QUERY(QUERY(IMPORTHTML(
 "https://nakedshortreport.com/company/"&A8; "table"; 1); 
 "select Col7"); "offset 1 limit 1"; 0)

update

site you are trying to import from uses JS and google sheets does not support importing JS elements...

enter image description here

player0
  • 124,011
  • 12
  • 67
  • 124
0

Content from this website is loaded dynamically via script, which makes it unreachable via formulas like IMPORTHTML.

You can check that by disabling JavaScript and refreshing the page: you'll get the following message:

You need to enable JavaScript to run this app.

The content is not accessible via UrlFetchApp either.

Related:

Iamblichus
  • 18,540
  • 2
  • 11
  • 27