简体   繁体   English

显示搜索结果中的行-Google表格

[英]Show the row from a search result - Google Sheets

I am trying to make a search function that displays the entire row from matching entries. 我试图做一个搜索功能,显示匹配条目的整个行。

This is what currently happens using: =IFERROR(IF(B3="","No Results",ARRAYFORMULA(FILTER(DOCS!C2:C, SEARCH(B3, DOCS!C2:C)))),"No Results") 这是使用以下命令当前发生的情况: =IFERROR(IF(B3="","No Results",ARRAYFORMULA(FILTER(DOCS!C2:C, SEARCH(B3, DOCS!C2:C)))),"No Results")

0

And this is the column I am trying to show 这是我要显示的专栏

0

Example

Data: 数据:

  • Fortnite,Video Game,Epic Games Fortnite,视频游戏,史诗游戏
  • PUBG,Video Game,IDK PUBG,视频游戏,IDK
  • Steam,Service,Valve 蒸汽,服务,阀门
  • Amazon,Service,Amazon 亚马逊,服务,亚马逊
  • Cats,Species,Animal Kingdom 猫,物种,动物界

Search Column B for "Service" 在B列中搜索“服务”

(MY CURRENT RESULTS): (我的当前结果):

  • Service 服务
  • Service 服务

(MY INTENDED RESULTS): (我的预期结果):

  • Steam,Service,Valve 蒸汽,服务,阀门
  • Amazon,Service,Amazon 亚马逊,服务,亚马逊
=IF(D1<>"", IFERROR(FILTER(A:A, REGEXMATCH(LOWER(A:A), LOWER(D1))), "No Results"), )

0


=FILTER(DOCS!A2:G, REGEXMATCH(LOWER(DOCS!C2:C), LOWER(J1)), DOCS!E2:E="active")

0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM