Hi,
Lets say we have main data table and there is another data table we want to use to subset the main one + add some conditionals during this process;
main table

Another data table

How can go through each row of Label column in main table to get the rows matched to subset tables rows (L1, L3, L5) and get rows when group == K and Number == 2
So the output table should look like

Please provide the solution with for loop or whatever is out there and don't use and short list like list = {K1, K3, K5} because in my real data I have 1000's of rows.How to select rows based on multiple criteria?