Basically the title: I can fetch data from Yahoo Finance for ASML
ticker by
=IMPORTXML("https://finance.yahoo.com/quote/ASML/", "//*[@id=""quote-header-info""]/div[3]/div[1]/div/span[1]")
but it doesn't work if there a point/dot ".
" in the ticker:
=IMPORTXML("https://finance.yahoo.com/quote/ASML.AS/", "//*[@id=""quote-header-info""]/div[3]/div[1]/div/span[1]")
returning the infamous
#N/A
error. I would appreciate it if you could help me know what is the problem and how I can resolve it.
P.S.1 Please note that the above URLs are both valid pointing towards different stocks.
P.S.2. I wrote a relevant post here.
P.S.3. The same issue was also identified by this post.