英文:
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")
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.
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))))
希望对你有所帮助
英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论