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

2 Answers 2


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)
  • 1
    Oh sigh already implemented long version. Lol thanks pnuts ^-^
    – BCLC
    Apr 17, 2017 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

  • It's not obsolete​, it's a partial answer as well as the other answer.
    – Rubén
    Apr 17, 2017 at 11:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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