I did something similar to this but it was not dynamic. What I did was create a table of my Products and assigned a number to each of them like:
I could then filter my table to only be the values that had a SUM of "111". Worked great, but not sure if you could turn this into a dynamic solution. I'll think about it. Be interested if someone has a solution.