所以我有这个公式,它按预期工作,但我想进一步完善数据。
公式:
=QUERY('Users'!A1:Q, "Select A,B,C,F,G,O,Q where Q >= 180 and Q < 44223")
我试过了:
=QUERY('Users'!A1:Q, "Select A,B,C,F,G,O,Q where Q >= 180 and Q < 44223 and F not like '*text*'")
但这导致了错误。理想情况下,我想找出与 C 列和 F 列中的部分文本匹配的任何结果。有任何想法吗?
编辑: 包含指向 example sheet
的链接理想情况下,我希望查询匹配 F 列中除“Archived”(但需要通配符)之外的所有内容以及 C 列中除 Delta 之外的所有内容(同样需要通配符)
答案 0 :(得分:2)
试试:
=QUERY(Sheet1!A1:Q6,
"select A,B,C,F,G,O,Q
where Q >= 180
and Q < 44223
and not lower(O) matches '.*archived.*'
and not lower(C) matches '.*delta.*'")