2

I would like a query on the 'query' tab that searches sheet 'sales' and returns all values if it matches the dropdown selection on the 'query' tab

https://docs.google.com/spreadsheets/d/1UkgIvky_32pPakjCyA6oy1sJxIm50u3npzvasYjGejk/edit?usp=sharing

1 Answer 1

3

Quote string literals in the query statement, like this:

=query(sales!A1:C, "where '" & B2 & "' <= A and A <= '" & B3 & "' ", 1)

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.