Col BY causing parse error in Google sheets query

BY column needs to be escaped with `:

=QUERY('Applications received'!B:DL,
 "select B,CT,CU,CV,CW,CX,`BY` 
  where B is not null 
  order by CX")

enter image description here

https://developers.google.com/chart/interactive/docs/querylanguage#reserved-words

Leave a Comment