The lookup values are in column C and D in the first table (pic 1). I am looking for a formula (query, arrayformula, etc) which would:
- return ALL the rows from the second table (pic 2) IF non of the values match in column F:O AND
- filter only the results where column E (pic 2) matches with cell D2 (pic 1).
I hope it makes sense.
Here is a link to the spreadsheet: Google Sheet