如何将FILTER函数与通配符一起使用?
问题描述:
我正在尝试使用Google表格FILTER函数来过滤包含单词"groups"的字符串.
I'm trying to use the Google Sheets FILTER function to filter for string that contains the word 'groups'.
我正在使用的代码是这样:
The code I'm using is this:
=filter(A2:C2262,B2:B2262="*"&"groups"&"*")
不幸的是,它不起作用,因为我收到的错误消息是在FILTER评估中找不到匹配项."
Unfortunately, it doesn't work as the error message I receive is "No matches are found in FILTER evaluation."
我已经附上了一张截图,以显示正在使用的表.
I've attached a screenshot to show the table I'm working with.
我如何进行这项工作?
答
尝试:
=FILTER(A:A, SEARCH("*group*", A:A))