Google表格:使用XLOOKUP查找日期并返回多个值

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

Google sheet : xlookup date and return with multiple value

问题

我一直在制作一个项目,该项目将查找特定日期,然后返回所有具有该特定日期的单元格值。
例如:
列A(日期):8-7-23 | 8-8-23 | 8-9-23 | 8-7-23 | 8-8-23
列B:apple | orange | grapes | berry | apple

当我使用XLOOKUP查找8-7-23时,返回值应该是apple | berry

这是否可能?
TYIA

一直在尝试使用基本的XLOOKUP,但只返回一个值。

英文:

I've been making a project that will lookup for a specific date then return all cells value with that specific date.
For example:
Column A (date) : 8-7-23 | 8-8-23 | 8-9-23 | 8-7-23 | 8-8-23
Column B : apple | orange | grapes | berry | apple

When I xlookup 8-7-23, return should be apple | berry

is it possible ?
TYIA

Been trying to use the basic xlookup but only 1 value was return.

答案1

得分: 1

=filter(B:B,A:A=D2) 可以尝试使用filter函数:

Google表格:使用XLOOKUP查找日期并返回多个值

英文:

You may try with filter function:

=filter(B:B,A:A=D2)

Google表格:使用XLOOKUP查找日期并返回多个值

huangapple
  • 本文由 发表于 2023年8月9日 16:24:11
  • 转载请务必保留本文链接:https://go.coder-hub.com/76865878-2.html
匿名

发表评论

匿名网友

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

确定