Does anybody know of an updated solution to import financial statments (balance sheets, income statements, cash flows) from yahoo finance / google finance into excel or google docs?
Since they both changed their API / URLS I have not been able to find a working solution.
Running the following powerquery seems to import the correct data, but its slow and the data gets stored as text and VALUE()
does not seem to convert to numeric very well.
let
Ticker = Excel.CurrentWorkbook(){[Name="Ticker"]}[Content]{0}[Column1],
Quelle = Web.Page(Web.Contents("https://finance.yahoo.com/quote/"&Ticker&"/balance-sheet?p="&Ticker&"")),
Data = Quelle{2}[Data],
FirstRowHeader = Table.PromoteHeaders(Data)
in
FirstRowHeader
I can´t seem to get it working with importhtml
in google docs either.
EDIT: I have the following excel data. Just edit the symbol in the sheet
FinalData
in column 1 and row 1 and refresh the queries. (currently HOG is the symbol loaded, type GOOG, MSFT etc.). To refresh the queries, go to Data
>> show queries
.