I am not familiar with google sheets, but I have been sent an assignment and I don't want to take the time to convert the whole thing over to an actual database. Is a way to take one column of values (A) and another (B) and check if there is any value in A that is equal to any value in B via queries. I tried
=query(*table*, "SELECT *name of row* WHEN A=B", 1)
but that just seems to check each row.
For you visual types, I have a database
| A | B |
--+---+---+
1 | 1 | 0 |
--+---+---+
2 | 1 | 2 |
--+---+---+
3 | 1 | 1 |
--+---+---+
4 | 2 | 3 |
I want to select rows 2 and 3.
I didn't see a duplicate. Doesn't help how Google doesn't really document this stuff very well.