在多个数据列中查找多个条件的结果,但每个条件值只是 google sheet 的单个单元格中的多个条件值之一

Seeking results of multi conditions in multi data column, but each condition value is just one of many in a single cell of google sheet

请先检查文件。 https://docs.google.com/spreadsheets/d/1wYq9BEESpu77wvJzQY1AE4Gmr_PhhaNFSik0ZZt8aD0/edit?usp=sharing 我的目的是:

我们不能将值拆分为单列,因为这些数据将来可以增加更多价值。

尝试:

=QUERY({RANDARRAY(ROWS(A2:A)), A2:G}, "select Col2 where 9=9 "&
 IF(J11="",," and Col3 contains '"&J11&"' ")&
 IF(J12="",," and Col4 contains '"&J12&"' ")&
 IF(J13="",," and Col5 contains '"&J13&"' ")&
 IF(J14="",," and Col6 contains '"&J14&"' ")&
 IF(J15="",," and Col7 contains '"&J15&"' ")&
 "order by Col1 limit 1")