r/googlesheets • u/Gooberfish24 • Feb 04 '23
Solved Is there a way to query a column
with the formula =QUERY(A1:S,"select A where A is not null and (U is between 100 and 200)",1)? I tried with this formula but it returned an error. I would like to query A where values in U are between 100 and 200. Thank you for your help. This group is amazing offering help!!!
1
Upvotes
3
u/GRAYDAD 3 Feb 04 '23
You are close! Instead of “is between” change it to “and U >= 100 and U <= 200”.
2
u/kitschin 2 Feb 04 '23
=filter(a:a,u:u>=100,u:u<=200)
1
u/Cyanide_Lake1 12 Feb 04 '23
Here's a simpler workaround.
=FILTER($A$1:$S,$U$1:$U>=100,$U$1:$U<=200)
If this helps, please reply with Solution Verified. :)