I'm struggling to get financial data into google sheets. I read some answers here and tried this: =importhtml("https://www.google.com/finance?q="&B2&"&fstype=ii&ei=viASWOnfNsfEeqqUnMgG","table",3)
Yet it always shows this error: "Imported content does not have query with given index." I went through the tables from 2-10 but nothing worked. It would be great if someone can help me with this. If you only know how to get data from yahoo finance or some other stock website then it would be nice if you'd also say that. I tried yahoo finance but there it always says: "URL could not be fetched" or something like that.