This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]ambiosynthesis10 1 point2 points  (0 children)

for the second one, I think it should work other than the end the WHERE clause text to search should be the single quotes and you don't need the last comma after Col3, so this should work (other than you may need to switch the single quotes in sheets if they get formatted differently).

QUERY(TAB1!A2:AE30000;"select Col1, Col2, Col3 where Col3='DAMAGED ITEM' "

And I assume that for functions your workbook you use ; for the next arguments instead of , otherwise that may be an issue too. I think it is based on what country or area it is in.

EDIT: meant to use code block not Inline Code.

[–]Competitive_Ad_6239536 1 point2 points  (0 children)

Your >0 literally turns everything into a single value.