filter(Importrange)根据单元格的值进行筛选条件,而不是直接数值。

huangapple go评论102阅读模式
英文:

filter(Importrange) with filter condition on value of cell and not a direct value

问题

我在这个 Google 表格问题上卡住了一段时间。
我的公式在使用单元格的直接值时工作:
working

但是在使用单元格 C2 的引用时不起作用:
not working2

两个图片中的黑色部分是相同的。

我尝试了围绕单元格的 "VALUE()" 进行操作,但也不起作用:
not working

英文:

Got stuck on this GSheets problem for a while.
My formula is working using direct value of a cell :
working

But not working using reference of the cell C2 :
not working2

Parts in black are the same between the two pictures.

I tried working around "VALUE()" of the cell but not working too :
not working

答案1

得分: 0

From your screenshots it looks like the numbers maybe text-based in your source sheet (from where you are importing).

  1. 在你的源工作表中,使用 ISNUMBER() 检查数字是否以文本形式存在。

  2. 在你的目标工作表中使用以下公式,看看效果如何:

    =filter([importrange(x)]; [importrange(x)] = TO_TEXT(C1))

英文:

From your screenshots it looks like the numbers maybe text-based in your source sheet(from where you are importing)

1.check on the numbers in your source sheet using ISNUMBER()

2.use this formula in your destination sheet & see how it goes

=filter([importrange(x)]; [importrange(x)] = TO_TEXT(C1))

huangapple
  • 本文由 发表于 2023年2月19日 00:20:01
  • 转载请务必保留本文链接:https://go.coder-hub.com/75494677.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定