我无法在引用另一个恰好使用 importxml 命令的单元格的列中使用公式

I can't get formula to work in a column that is referencing another cell that happens to be using the importxml command

我可以将 link 分享到我的 google 工作表以供他人查看吗? 我的 G 列计算不正确,我不明白为什么。

https://docs.google.com/spreadsheets/d/1XGDcgIYhW4_cq065MM7i135AyJha8JcMGejATuoVT7Q/edit?usp=sharing

我唯一的猜测是它不喜欢引用从中提取数据和导入命令的单元格。该公式在 excel 中可以正常计算,但在工作表中不能,有什么建议吗?

公式为:

=IF(B17="Purchase",index($E4:$E12,match(C17,$B:$B))*D17,"")

尝试:

=IF(B17="Purchase", INDEX($E4:$E12, MATCH(C17, $B:$B, 0))*D17, )