Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Google Sheets query ("SELECT A WHERE B <> '0'")

I have a table for event planning where A is the items and B is the quantities
I then want it to turn into a list where it just has the items if B is more than 0. I have tried using =QUERY(Job!A3:B16, SELECT A WHERE B <> ‘0’) but I get #VALUE! back and the error pop up says "In Array Literal, an Array Literal was missing values for one or more rows. is there a better formula to use or a better way to use this.
Thanks in advance

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Try

=QUERY(Job!A3:B16, "SELECT A WHERE B <> 0 ")

you can also use FILTER

=FILTER(Job!A3:A16,Job!B3:B16<>0)
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading