I'm doing a query for the google spreadsheet, but when in the where I indicated a cell of the sheet, I get an error.
The query I have is:
=query(IMPORTRANGE("enlace"; "Llista!A6:S1000");"select * where Col6='"B1"' and
Col8='"B2"'")
I have to say that cells B1 and B2 come from a data validation. Also, Col6 and Col8 may have to select everything and I do not know how to do it either.