Excel – 当输入匹配的文本时,筛选数据范围

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

Excel - filter range of data when input matched text

问题

我正在尝试在选择特定的“CREW”初始值时填充数据,如下图所示(第10行)。

我目前正在使用的公式是:

=FILTER(A3:D7;ISNUMBER(SEARCH(F10;AB3:AB7));"NO RESULT")

正如您在下面的截图中所看到的,当我选择“ML”时,它会显示他/她在哪个场馆。

但我希望它能指定该人员在哪个“CREW”编号上。

谢谢您提前的帮助,如果问题不清楚,敬请谅解。

英文:

I am trying to populate the data when select specific "CREW" initial as shown on the second screenshot below (row 10).

The current formular that I am using is:

'=FILTER(A3:D7;ISNUMBER(SEARCH(F10;AB3:AB7));"NO RESULT")

Excel – 当输入匹配的文本时,筛选数据范围

As you can see on the screenshot below, when I select "ML" it display what venue he/she was on.

But I would like it to specify what "CREW" number that person was on.

Excel – 当输入匹配的文本时,筛选数据范围

Thank you in advanced and apologies if the question isn't clear.

答案1

得分: 2

在荷兰版本的Excel让我非常沮丧(我以为无论在哪里翻译函数,我都在错误地使用筛选功能,但荷兰版本的Excel似乎需要很多特殊的函数名称...),但我终于破译了代码,并学到了一些关于lambda函数的知识,所以不算完全失败!

在单元格 E3 中尝试以下公式:

=BYROW(FILTER(Q3:Z7;ISNUMBER(SEARCH(F10;AB3:AB7));"NO RESULT");LAMBDA(array;INDEX($Q$1:$Z$1; MATCH(F10;array;0))))

希望对你有所帮助 Excel – 当输入匹配的文本时,筛选数据范围

英文:

After a lot of frustration with the Dutch version of Excel (I thought I was doing something wrong with the Filter function regardless of translating the functions where needed but Dutch Excel needs to be special with a lot of function names...), I've cracked the code and learned a bit about lambda functions, so not a total loss!

Try this formula in E3:

> =BYROW(FILTER(Q3:Z7;ISNUMBER(SEARCH(F10;AB3:AB7));"NO RESULT");LAMBDA(array;INDEX($Q$1:$Z$1; MATCH(F10;array;0))))

Hope that helps Excel – 当输入匹配的文本时,筛选数据范围

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

发表评论

匿名网友

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

确定