I'm trying to get the last value at close for the product here:
https://uk.finance.yahoo.com/quote/0P0000WN7H.L/history?p=0P0000WN7H.L
It should be returning 576.06 for today's value (26/2/2021).
I've tried using this formula in Google Sheets, which I saw recommended previously:
=IFNA(VALUE(IMPORTXML("https://finance.yahoo.com/quote/" & $A1, "//*[@class=""D(ib) Mend(20px)""]/span[1]")))
Where A1 is the ticker. However this returns 748.92, which seems to be the result from the 9/11/2020, about three months ago.
Any idea what's going wrong here and how I can get the right number?!
This is a screenshot: