Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9831

Google Sheets QUERY to return if contains multiple selection and all other values

$
0
0

I have a data set similar to the image in cells A5:D31. I am trying to write a QUERY function that will return the records that match the "filters" in range A2:D3.

In this example, the query will return the rows highlighted in green WHERE Department = Furniture OR Electronics AND Size = Small. The other columns 'Color' and 'Store' are not specified so any value will return if the cell is not blank.

enter image description here


Viewing all articles
Browse latest Browse all 9831

Latest Images

Trending Articles



Latest Images