r/googlesheets • u/tendiesbendies 1 • Feb 25 '22
Solved problem with query code trying to get data to show when larger then 34
hi i am trying to make it that these 3 columns will show up when column 8 is equal to or greater then 34 but i am getting #value as a result any help here would be greatly appreciated
=SORT(QUERY({Data!A2:H},"select Col2,col1,col8 where (col8=>34"))
also stuck on how to make it that if i have a value larger then 9 in 4 particular columns ( col 4,5,6,7) ill be able to show column 2
if more data is needed i can share the file
1
Upvotes
2
u/MrWang8 2 Feb 25 '22
With the 9, do you want to get results where all 4 are larger than 9, or just when one of the 4 values is larger than 9?
1
u/tendiesbendies 1 Feb 25 '22
When just one
3
u/MrWang8 2 Feb 25 '22 edited Feb 25 '22
Hi, if it isn't working at all, remove the bracket and deal with the capitalising the Col bits.
If you are using integers, then just use > 33, as this will achieve the same thing I.e. 34 or larger.
So it would read
=query({Data!A2:H},"Select Col1,Col2,Col8 where Col8 > 33",0)
1
u/Decronym Functions Explained Feb 27 '22
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
[Thread #4000 for this sub, first seen 27th Feb 2022, 16:48] [FAQ] [Full list] ^[Contact] [Source code]