谷歌表格:使用XLOOKUP函数按日期查找并返回多个值。

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

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:苹果 | 橙子 | 葡萄 | 莓果 | 苹果

当我使用xlookup查找8-7-23时,返回的应该是苹果 | 莓果

这可能吗?
谢谢你的帮助!

我一直在尝试使用基本的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函数:

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

谷歌表格:使用XLOOKUP函数按日期查找并返回多个值。

英文:

You may try with filter function:

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

谷歌表格:使用XLOOKUP函数按日期查找并返回多个值。

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

发表评论

匿名网友

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

确定