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

Google Sheets Query, filtering with a range of values

$
0
0

I want to query data by checking if the data_range's column C (invoice#) matches this tab any value in column B (invoice#), while this tab column B will have variable data size ( copy from another list, it can be 2 values or 3 values or 10 values or etc. ).

Does anyone know how to achieve it?I tried

=QUERY('data'!A2:X,"SELECT * WHERE C IN '"&B3:B&"'", true)

but failed. Thanks so much!

enter image description here


Viewing all articles
Browse latest Browse all 9787

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>