I'm trying to get FX rate from ECB in an Excel Spreadsheet. First of all I get the XML:
=WEBSERVICE("https://sdw-wsrest.ecb.europa.eu/service/data/EXR/D.USD.EUR.SP00.A?lastNObservations=1")
Then I try to get the exchange with the FILTERXML
function:
=FILTERXML(cell_with_XML,"//message:genericdata/message:dataset/generic:series/generic:obs/generic:obsvalue/@value")
However, I always get a #VALUE error. Can anybody explain me what I'm doing wrong?