What's the shortcut for

=QUERY($A:$K, "select A where B contains '"&N1&"' or C contains '"&N1&"' or D contains'"&N1&"' or E contains '"&N1&"' or F contains '"&N1&"' or G contains '"&N1&"' or H contains '"&N1&"' or I contains '"&N1&"' or J contains '"&N1&"' or K contains '"&N1&"'",3)


I'm hoping for something like

=QUERY($A:$K, "select A where B,C,D,E,F,G,H,I,J,K contains '"&N1&"'",3)

Cross-posted to Stack Overflow


Add a column (L for example) to count whether "N1" features in any of the columns of interest, say with:


copied down to suit and use that in the query:

=query(A:L,"select A where L>0",3)
| improve this answer | |
  • 1
    Oh sigh already implemented long version. Lol thanks pnuts ^-^ – BCLC Apr 17 '17 at 6:42

There are no mention of shortcuts on https://developers.google.com/chart/interactive/docs/querylanguage, the reference documentation of the SQL statement argument of Google Sheets' QUERY function

| improve this answer | |
  • Obsolete with other answer? Thanks though rubén! – BCLC Apr 17 '17 at 6:42
  • It's not obsolete​, it's a partial answer as well as the other answer. – Rubén Apr 17 '17 at 11:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.