Google sheet - 简单的 importxml 公式不起作用

Google sheet - simple importxml formula does not work

我在单元格中尝试了以下简单的 importxml 公式

=importxml("https://en.wikipedia.org/wiki/List_of_T_postal_codes_of_Canada", "//td")

但这总是 returns“公式解析错误”消息。

我不明白,这个例子太简单了。它应该可以正常工作。

我假设你来自加拿大。加拿大(法语)区域设置使用 ; 而不是 ,,因此很可能与电子表格区域设置有关。

,替换为;:

=importxml("https://en.wikipedia.org/wiki/List_of_T_postal_codes_of_Canada"; "//td")

另一种解决方案是更改语言环境设置,请详细阅读 here 如何操作。