Can anyone help me I am trying to extract the Total Assets figure for 29/09/2020 (8,473,000) from a Yahoo Finance page into Google Sheets. I have tried a couple of formulas but keep getting an 'imported content is empty' error.
I've tried the following -
FIRST using Xpath and formula :
=IMPORTXML("http://finance.yahoo.com/quote/EZJ.L/balance-sheet", "//*[@id='Col1-3-Financials-Proxy']/section/div[3]/div[1]/div/div[2]/div[1]/div[2]/div[3]/div[1]/div[2]/span")
THEN (having read that the Xpath might be failing because it contains a reference to the /section/ ) the element and formula:
=INDEX(IMPORTXML("http://finance.yahoo.com/quote/EZJ.L/balance-sheet","//div[@class='Ta(c) Py(6px) Bxz(bb) BdB Bdc($seperatorColor) Miw(120px) Miw(140px)--pnclg Bgc($lv1BgColor) fi-row:h_Bgc($hoverBgColor) D(tbc)'"),1,1)
Grateful for any guidance on how to pull this figure!